Google Workspace CLI
hoodini/ai-agents-skills
Interact with all Google Workspace APIs via the gws CLI. An agent skill from hoodini/ai-agents-skills.
This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…
$ npx skills add kv0906/pm-kit --skill gws -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kv0906/pm-kit gws --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gws .claude/skills/gws && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .claude/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gwsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kv0906/pm-kit --skill gws -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kv0906/pm-kit gws --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/gws .agents/skills/gws && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .agents/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kv0906/pm-kit --skill gws -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kv0906/pm-kit gws --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/gws .cursor/skills/gws && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .cursor/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kv0906/pm-kit.git --path .claude/skills/gws--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kv0906/pm-kit --skill gws -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kv0906/pm-kit gws --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/gws .gemini/skills/gws && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .gemini/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kv0906/pm-kit gwsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kv0906/pm-kit --skill gws -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/gws .github/skills/gws && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .github/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kv0906/pm-kit --skill gws -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kv0906/pm-kit gws --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/gws .opencode/skills/gws && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gws" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/gws into .opencode/skills/gws/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gws", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gwsThis skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…
Gws is an agent skill from kv0906/pm-kit. This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my calendar", "create a Google Doc", "use gws", "Google Workspace agent", or mentions gws CLI, Google Workspace automation, or wants to interact with Gmail, Drive, Calendar, Sheets, Docs, Slides, Chat, Tasks, Meet, or Forms from the command line.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/services.md`, `references/setup-troubleshooting.md` and `scripts/check-gws.sh`).
It sits in Documents & Office, covering Cloud office suites and Email management. It works with Google Workspace, Gmail, Google Docs and Google Drive. The repository describes itself as: AI-augmented PM workspace for Coding Agents — daily standups, decisions, blockers, docs, and sprint reviews as markdown skills. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2cb5d9f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
npmgitbrewFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gws loads about 1.6k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 284 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from kv0906/pm-kit at commit 2cb5d9f, republished under its MIT licence (© kv0906). 284 words, ~1,550 tokens.
.claude/skills/gws/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.A CLI tool built in Rust that wraps every Google Workspace API into composable commands with structured JSON output. It dynamically builds its command structure from Google's Discovery Service, so it always supports the latest APIs without updates.
brew install --cask google-cloud-sdk on macOS.# 1. Install the CLI
npm install -g @googleworkspace/cli
# 2. Set up auth (interactive walkthrough for GCP project + OAuth)
gws auth setup
# 3. Login to Google Workspace account
gws auth loginThe gws auth setup command walks through:
Multiple accounts (work, personal) can be added. For agent-dedicated accounts, grant Full Access (all OAuth scopes). For personal/work accounts, start with Limited Access.
# Standard API call
gws <service> <resource> <method> --params '{"key": "value"}' --json '{"body": "data"}'
# Helper shortcut (handles encoding/formatting)
gws <service> +<helper> --flag value| Service | Common Helpers | Purpose |
|---|---|---|
| gmail | +send, +triage | Email management |
| calendar | +agenda, +insert | Schedule management |
| drive | +upload | File management |
| sheets | +read, +append | Spreadsheet operations |
| docs | +write | Document operations |
| chat | +send | Team messaging |
All responses return structured JSON for reliable agent parsing.
# Search inbox
gws gmail users messages list --params '{"userId": "me", "q": "is:unread"}'
# Read a message
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'
# Send email (helper handles RFC 2822 encoding)
gws gmail +send --to alice@company.com --subject 'Report Ready' \
--body 'The Q2 report is ready for review.'
# Triage unread
gws gmail +triage --max 5 --query 'from:boss'# Today's agenda
gws calendar +agenda
# Create event
gws calendar +insert --summary 'Standup' \
--start '2026-03-10T09:00:00-07:00' \
--end '2026-03-10T09:30:00-07:00'
# Create recurring event with attendees
gws calendar events insert \
--params '{"calendarId": "primary"}' \
--json '{
"summary": "Weekly Standup",
"start": {"dateTime": "2026-03-10T09:00:00", "timeZone": "America/Vancouver"},
"end": {"dateTime": "2026-03-10T09:30:00", "timeZone": "America/Vancouver"},
"recurrence": ["RRULE:FREQ=WEEKLY;BYDAY=MO"],
"attendees": [{"email": "team@company.com"}]
}'# List recent files
gws drive files list --params '{"pageSize": 10}'
# Upload file
gws drive +upload --file ./report.pdf --parent FOLDER_ID
# Create folder
gws drive files create --json '{"name": "Q2 Project", "mimeType": "application/vnd.google-apps.folder"}'
# Download / Export
gws drive files get --params '{"fileId": "FILE_ID", "alt": "media"}' -o report.pdf
gws drive files export --params '{"fileId": "FILE_ID", "mimeType": "application/pdf"}' -o doc.pdf
# Share with someone
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' \
--json '{"role": "writer", "type": "user", "emailAddress": "colleague@company.com"}'# Read range
gws sheets +read --spreadsheet-id SHEET_ID --range 'Contacts!A2:C'
# Append row
gws sheets +append --spreadsheet-id SHEET_ID --range 'Sheet1' \
--values '["2026-03-05", "Marketing", "Ad spend", "1500"]'# Create document
gws docs documents create --json '{"title": "Meeting Notes"}'
# Write to doc
gws docs +write --document-id DOC_ID \
--text '## Project: Q2 Launch\n\n### Objective\nLaunch by end of Q2.'
# Send chat message
gws chat +send --space spaces/TEAM_SPACE --text 'Check updated policy.'
# Create Meet room
gws meet spaces create --json '{"config": {"accessType": "OPEN"}}'
# Create form
gws forms forms create --json '{"info": {"title": "Feedback", "documentTitle": "Feedback Form"}}'For deeper Claude Code integration, gws provides a built-in MCP server:
# Start MCP server with specific services
gws mcp -s drive,gmail,calendarConfigure in .mcp.json or Claude Desktop settings:
{
"mcpServers": {
"gws": {
"command": "gws",
"args": ["mcp", "-s", "drive,gmail,calendar"]
}
}
}Each service adds ~10-80 tools. Keep the service list focused to stay under tool limits.
The gws repo ships 100+ SKILL.md files (service skills, persona bundles, helpers, recipes). See references/services.md for the full catalog and persona details.
# Clone and symlink all skills
git clone https://github.com/googleworkspace/cli.git
ln -s $(pwd)/cli/skills/gws-* ~/.claude/skills/
# Or copy specific ones
cp -r cli/skills/gws-drive cli/skills/gws-gmail ~/.claude/skills/Sanitize API responses to prevent prompt injection from email/doc content:
gws gmail users messages get --params '...' \
--sanitize "projects/P/locations/L/templates/T"Modes: warn (flags suspicious content) or block (strips it out).
references/services.md - Complete service list with all helpers and API patternsreferences/setup-troubleshooting.md - Common setup issues and OAuth configuration detailsscripts/check-gws.sh - Verify gws installation and auth status© kv0906, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in .claude/skills/gws of kv0906/pm-kit.
Open the folder on GitHubat commit 2cb5d9f
Gws next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gws this skillkv0906/pm-kit | 138 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Google Workspace CLIhoodini/ai-agents-skills | 282 | — | ~10k | Automated safety check: Notes | None | |
| Managing Google Workspacetaylorwilsdon/google_workspace_mcp | 3.3k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Google Workspaceespennilsen/pi | 122 | — | ~3.4k | Automated safety check: Pass | MIT | |
| GwsLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.9k | Automated safety check: Pass | MIT | |
| Bootstrap Google Toolsgoogle/adk-recipes | 10k | — | ~5k | Automated safety check: Warn | Apache-2.0 |
hoodini/ai-agents-skills
Interact with all Google Workspace APIs via the gws CLI. An agent skill from hoodini/ai-agents-skills.
taylorwilsdon/google_workspace_mcp
Manages Google Workspace operations across 12 services (Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Contacts, Chat, Apps Script, Custom Search).
espennilsen/pi
Manage Google Workspace via the gws CLI — Drive, Gmail, Sheets, Docs, Slides, People, Chat, Meet, Forms, and cross-service workflows.
LeoYeAI/openclaw-master-skills
Google Workspace CLI. An agent skill from LeoYeAI/openclaw-master-skills.
google/adk-recipes
Install/auth CLIs the sandbox lacks - gws (Drive, Gmail, Sheets, Calendar), gcloud, agents-cli, mcp-cli (MCP servers).
swarmclawai/swarmclaw
Use Google Workspace CLI (gws) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.
kv0906/pm-kit
Transform text content into professional Mermaid diagrams for presentations and documentation.
kv0906/pm-kit
Jira integration via acli CLI. An agent skill from kv0906/pm-kit.
kv0906/pm-kit
Professional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions.
kv0906/pm-kit
Fast vault Q&A — quick lookups, decision history, blocker status, doc search.
kv0906/pm-kit
Flag a blocker with severity, owner, and due date. An agent skill from kv0906/pm-kit.
kv0906/pm-kit
Log standup update with keyword detection. An agent skill from kv0906/pm-kit.
Categories
This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…. Gws is an agent skill from kv0906/pm-kit. This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my calendar", "create a Google Doc", "use gws", "Google Workspace agent", or mentions gws CLI, Google Workspace automation, or wants to interact with Gmail, Drive, Calendar, Sheets, Docs, Slides, Chat, Tasks, Meet, or Forms from the command line.
Gws fits situations like: asks to set up gws; install Google Workspace CLI; connect Gmail to Claude; manage Google Drive from terminal.
Run `npx skills add kv0906/pm-kit --skill gws -a claude-code`. Or copy the skill folder (.claude/skills/gws in kv0906/pm-kit) into .claude/skills/gws in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kv0906/pm-kit --skill gws -a codex`. Or copy the skill folder (.claude/skills/gws in kv0906/pm-kit) into .agents/skills/gws in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kv0906/pm-kit --skill gws -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gws, .gemini/skills/gws, .github/skills/gws and .opencode/skills/gws in your project.
Going by SKILL.md and its folder, Gws needs a shell for the scripts in its folder and the command-line tools its instructions call (npm, git and brew). Our summary lists: Node.js; A Bash shell.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Gws is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Gws: Google Workspace CLI (hoodini/ai-agents-skills, 282 stars), Managing Google Workspace (taylorwilsdon/google_workspace_mcp, 3.3k stars), Google Workspace (espennilsen/pi, 122 stars) and Gws (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kv0906 (a GitHub user) maintains it in kv0906/pm-kit, which has 138 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on June 29, 2026.
Source: kv0906/pm-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.