gws-shared
Set up Google sign-in for the Google Workspace skills
- For everyone
- Needs: The Google Workspace command tool and a Google sign-in
What it does
gws CLI: Shared patterns for authentication, global flags, and output formatting.
Instructions the AI follows
This is the skill's own instruction file. It's written for the AI, so it can read like a list of orders. You don't need to read it to use the skill.
| 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 |
| 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) |
- Never output secrets (API keys, tokens) directly
- Always confirm with user before executing write/delete commands
- Prefer
--dry-runfor destructive operations - Use
--sanitizefor PII/content safety screening
- zsh `!` expansion: Sheet ranges like
Sheet1!A1contain!which zsh interprets as history expansion. Use double quotes with escaped inner quotes instead of single quotes: ```bash # WRONG (zsh will mangle the !) gws sheets +read --spreadsheet ID --range 'Sheet1!A1:D10'
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
From skills/gws-shared/SKILL.md in googleworkspace/cli · read from GitHub at commit cd3697e
Try it
- 1Add gws-shared to your AI
- 2Ask for something like this
Help me sign in to my Google account for these skills.
What rules should you follow before changing my Google files?
Show me a safe test of a Google Workspace command that changes nothing.
Example prompts written from the skill's instructions.
Safety
SafeDetails
All three scanners ran and found nothing that could steal your data or hijack your AI.
What it can do- Runs commands on your computer
- Scanners
- SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
- Version scanned
cd3697egoogleworkspace/cli/skills/gws-shared- Scanned on
- Nov 9, 2026
- Raw reports
- full report skillspector honeybadger agentscan
- Secret scanPassed
- Dangerous commandsNoticed
agentscan: shell medium SKILL.md:66 Invokes zshCan run commands on your computer. (LLM06 Excessive Agency) - Network callsPassed
- PermissionsPassed
- Prompt injectionPassed
- LicensePassed
- MaintenancePassed
No person has signed this one off yet.
Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.
How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP
Details
- Stars
- 32kwhole repo
- Last updated
- Nov 20, 2026on GitHub
GitHub numbers are a snapshot from Nov 24, 2026, not live.
Community
Comments
How to add gws-shared to Claude
Press Add to your AI at the top of this page and pick Claude, or do it yourself:
- Download the skill. Keep the .zip as it is.
- On Claude's skills page, click +, then Create skill, then Upload a skill.
- Pick the file you downloaded and switch the skill on.
Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.
In ChatGPT
Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.
For AI apps and agents: the skill's instructions as plain text, at the version we scanned.