Agent skill

gws-shared

gws CLI: Shared patterns for authentication, global flags, and output formatting.

Google Workspace30,193★ · 1 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add googleworkspace/cli --skill gws-shared --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.22.5
Path: skills/gws-shared/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 30,193
Language: Rust
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# gws — Shared Reference ## Installation The `gws` binary must be on `$PATH`. See the project README for install options. ## Authentication ```bash # Browser-based OAuth (interactive) gws auth login # Service Account export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json ``` ## Global Flags | 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 | ## CLI Syntax ```bash gws <service> <resource> [sub-resource] <method> [flags] ``` ### 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) | ## Security Rules - **Never** output secrets (API keys, tokens) directly - **Always** confirm with user be

What's inside
Steps it walks through
  1. Installation
  2. Authentication
  3. Global Flags
  4. CLI Syntax
  5. Method Flags
  6. Security Rules
  7. Shell Tips
  8. Community & Feedback Etiquette
Commands it runs
Browser-based OAuth (interactive)
gws auth login
Service Account
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
gws <service> <resource> [sub-resource] <method> [flags]
gws sheets +read --spreadsheet ID --range 'Sheet1!A1:D10'
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
gws drive files list --params '{"pageSize": 5}'
More from cli
All skills →
About this skill
What does the gws-shared skill do?

gws CLI: Shared patterns for authentication, global flags, and output formatting.

How do I install it?

Run `npx skills add googleworkspace/cli --skill gws-shared --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From googleworkspace/cli, a repository with 30,193 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going