/google-workspace:gws-sharedfrom google-workspace
Reference for the gws CLI tool covering authentication (OAuth, service accounts), global flags, output formatting, and shell tips for working with Google Workspace APIs.
Ships in google-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The 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) |
--dry-run for destructive operations--sanitize for PII/content safety screening! expansion: Sheet ranges like Sheet1!A1 contain ! which zsh interprets as history expansion. Use double quotes with escaped inner quotes instead of single quotes:
# WRONG (zsh will mangle the !)
gws sheets +read --spreadsheet ID --range 'Sheet1!A1:D10'
# CORRECT
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
--params and --json values in single quotes so the shell does not interpret the inner double quotes:
gws drive files list --params '{"pageSize": 5}'
https://github.com/googleworkspace/clihttps://github.com/googleworkspace/cli/issuesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pleaseai/claude-code-plugins --plugin google-workspace95 skills in this plugin
/gws-admin-reportsGoogle Workspace Admin SDK: Audit logs and usage reports./gws-calendarGoogle Calendar: Manage calendars and events./gws-calendar-agendaGoogle Calendar: Show upcoming events across all calendars./gws-calendar-insertGoogle Calendar: Create a new event./gws-chatGoogle Chat: Manage Chat spaces and messages./gws-chat-sendGoogle Chat: Send a message to a space.8 plugins ship this exact skill · first indexed Aug 19, 2026
Other plugins' skills for the same job