plugins/google-workspace-cli/skills/google-workspace-cli/SKILL.md
Use this skill when the user asks about the Google Workspace CLI (gws), installing or configuring gws, authenticating with Google Workspace, or performing any task across multiple Google Workspace services. Also use when the user mentions "gws" or "Google Workspace CLI".
npx skillsauth add nsheaps/ai-mktpl google-workspace-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Google Workspace CLI (gws) provides a unified command-line interface for
interacting with Google Workspace APIs including Gmail, Calendar, Drive, Docs,
Sheets, Slides, Chat, Tasks, Contacts, and Admin.
Commands are dynamically built from Google's Discovery Service, so new API endpoints become available automatically without software updates.
# Via mise (recommended)
mise use -g ubi:googleworkspace/cli
# Via pre-compiled binary (Linux x64)
curl -fsSL https://github.com/googleworkspace/cli/releases/latest/download/gws-linux-x64 -o gws
chmod +x gws
# First-time setup: configure your Google Cloud project
gws auth setup
# Log in with OAuth
gws auth login
# Check auth status
gws auth status
Requirements:
# List available services
gws help
# Get help for a specific service
gws <service> help
# JSON output for scripting/agent workflows
gws <service> <command> --format json
--format json) for machine parsing and agent workflowsThis plugin auto-installs gws on web sessions. Configure via plugins.settings.yaml:
google-workspace-cli:
enabled: true
autoInstall: true
installToProject: true
backgroundInstall: false
version: "latest"
autoAuth: false
Place in:
$CLAUDE_PROJECT_DIR/.claude/plugins.settings.yaml (project-level)~/.claude/plugins.settings.yaml (user-level)Ensure the session start hook ran. Check $CLAUDE_PROJECT_DIR/bin/.local/ for
the binary. On local sessions, install via mise use -g ubi:googleworkspace/cli or download from GitHub releases.
Run gws auth setup to configure your Google Cloud project, then gws auth login.
Enable the relevant API (Gmail, Calendar, Drive, etc.) in your Google Cloud Console project settings.
tools
Reference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up.
development
Manage GitHub App installation tokens in Claude Code sessions. Use when tokens expire, auth errors occur in long-running sessions, or when setting up GitHub App credentials for agent teams. <example>my github token expired</example> <example>refresh the github app token</example> <example>check token status</example> <example>set up github app authentication for this session</example>
tools
Auto-detect project formatting tools and configure edit-utils settings
tools
Use this skill when the user asks about 1Password, secrets management, retrieving credentials, using op CLI, service accounts, secret references, vault operations, or any task involving the 1Password CLI (op). Also use when needing to inject secrets into environment variables, read passwords or API keys from 1Password, or manage 1Password items from the command line.