gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
gws CLI: Shared patterns for authentication, global flags, and output formatting.
$ npx -y skills add googleworkspace/cli --skill gws-shared --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gws-sharedContext preview
The summary Claude sees to decide when to auto-load this skill.
gws CLI: Shared patterns for authentication, global flags, and output formatting.
name: gws-shared
description: "gws CLI: Shared patterns for authentication, global flags, and output formatting."
metadata:
version: 0.22.5
openclaw:
category: "productivity"
requires:
bins:
- gwsThe `gws` binary must be on `$PATH`. See the project README for install options.
# Browser-based OAuth (interactive) gws auth login # Service Account export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
| Flag | Description | |------|-------------| | `--format <FORMAT>` | Output format: `json` (default), `table`, `yaml`, `csv` | | `--dry-run` | Validate locally without calling the API | | `--sanitize <TEMPLATE>` | Screen responses through Model Armor |
gws <service> <resource> [sub-resource] <method> [flags]
| Flag | Description | |------|-------------| | `--params '{"key": "val"}'` | URL/query parameters | | `--json '{"key": "val"}'` | Request body | | `-o, --output <PATH>` | Save binary responses to file | | `--upload <PATH>` | Upload file content (multipart) | | `--page-all` | Auto-paginate (NDJSON output) | | `--page-limit <N>` | Max pages when using --page-all (default: 10) | | `--page-delay <MS>` | Delay between pages in ms (default: 100) |
# WRONG (zsh will mangle the !) gws sheets +read --spreadsheet ID --range 'Sheet1!A1:D10' # CORRECT gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
gws drive files list --params '{"pageSize": 5}'Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Repo: googleworkspace/cli
Google Workspace Admin SDK: Audit logs and usage reports.
Google Calendar: Show upcoming events across all calendars.