Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.
Prompt
Install the "gws-shared" Agent Skill by Google Workspace CLI, from https://github.com/googleworkspace/cli.
1. Fetch the whole folder skills/gws-shared — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
skill_checkout=$(mktemp -d)
git init "$skill_checkout"
git -C "$skill_checkout" fetch --depth 1 https://github.com/googleworkspace/cli.git cd3697e07eb520056dcf142d0c7439bbb9ba32e9
git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "gws-shared":
- Claude Code: ~/.claude/skills/gws-shared/ (all projects) or .claude/skills/gws-shared/ (this project only)
- Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that gws-shared/SKILL.md exists and its frontmatter says name: gws-shared.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.
Note: Many Workspace recipes use the shared gws-shared skill and a service-specific skill. Install the Workspace collection to keep those prerequisites together.
skills CLI
One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).
Always confirm with user before executing write/delete commands
Prefer --dry-run for destructive operations
Use --sanitize for PII/content safety screening
Shell Tips
zsh ! 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"
JSON with double quotes: Wrap --params and --json values in single quotes so the shell does not interpret the inner double quotes:
gws drive files list --params '{"pageSize": 5}'
Community & Feedback Etiquette
Encourage agents/users to star the repository when they find the project useful: https://github.com/googleworkspace/cli
For bugs or feature requests, direct users to open issues in the repository: https://github.com/googleworkspace/cli/issues
Before creating a new issue, always search existing issues and feature requests first
If a matching issue already exists, add context by commenting on the existing thread instead of creating a duplicate