From google-workspace-cli
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 claudepluginhub nsheaps/ai-mktpl --plugin google-workspace-cliThis skill uses the workspace's default tool permissions.
The Google Workspace CLI (`gws`) provides a unified command-line interface for
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
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.