By JFK
Google Workspace CLI for Claude Code — Calendar, Gmail, Drive with multi-account support
Manage Google Workspace accounts — login, list, switch, status, remove. Use when the user wants to add, switch, or manage Google accounts for gw-cli.
Google Calendar operations — list events, create/update/delete events, set up Google Meet, check free/busy. Use when the user asks about calendar, meetings, schedules, or availability.
Google Drive operations — list/search files, upload, create Google Docs/Sheets/Slides, manage sharing. Use when the user asks about files, documents, Drive, or sharing.
Set up periodic Google Workspace monitoring — unread email checks, upcoming calendar reminders, Drive file change detection. Use when the user wants to set up recurring checks or notifications with the /loop skill.
Gmail operations — list/read/send/reply to emails, manage labels, mark read/unread, handle attachments. Use when the user asks about email, messages, inbox, or attachments.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Google Workspace CLI for Claude Code — manage Calendar, Gmail, and Drive across multiple Google accounts.
gw-cli is a Claude Code plugin that brings Google Workspace into your terminal. Register multiple OAuth accounts, switch between them instantly, and let Claude Code operate your calendar, email, and files through natural language.
Before you start:
gw auth loginneeds an OAuthcredentials.jsonthat you create once in Google Cloud (Desktop-app OAuth client). It is not shipped with the package. New here? Run/gw-setupin Claude Code for a guided walkthrough, or follow Setup below. (Runninggw auth loginwithout it prints these same instructions.)
# In any Claude Code session:
/plugin marketplace add JFK/gw-cli
/plugin install gw-cli
# One-time setup — see "Setup" below to obtain credentials.json first:
gw auth login --credentials /path/to/credentials.json
# Then use naturally:
"Show me my unread emails"
"Schedule a meeting tomorrow at 10am with Meet"
"What's on my calendar this week?"
--json output for seamless skill parsing/loop for unread email checks, calendar reminders| Tool | Required | Why |
|---|---|---|
| Python 3.10+ | yes | Runtime |
pip | yes | Package installation |
gcloud CLI | recommended | GCP project setup and API enablement |
| Claude Code | recommended | Plugin integration and natural language interface |
/plugin marketplace add JFK/gw-cli
/plugin install gw-cli
The plugin auto-installs the Python CLI and registers 7 skills:
| Skill | Description |
|---|---|
/gw-setup | Guided first-time Google Cloud setup |
/gw-auth | Account management (login, switch, list, remove) |
/gw-calendar | Calendar operations |
/gw-mail | Gmail operations |
/gw-drive | Drive operations |
/gw-workflow | Cross-service workflows (email attachment to Drive, etc.) |
/gw-loop | Periodic monitoring setup |
pip install google-workspace-cli
Published on PyPI as
google-workspace-cli(thegw-cliname was already taken). The installed command is stillgw.
Latest from source:
pip install git+https://github.com/JFK/gw-cli.git
Or clone and install locally:
git clone https://github.com/JFK/gw-cli.git
cd gw-cli
pip install -e .
gcloud projects create gw-cli-$(date +%Y%m%d) --name="gw-cli"
gcloud config set project gw-cli-YYYYMMDD
gcloud services enable calendar-json.googleapis.com gmail.googleapis.com drive.googleapis.com --project=PROJECT_ID
Open in browser: https://console.cloud.google.com/apis/credentials/consent?project=PROJECT_ID
gw-cliOpen in browser: https://console.cloud.google.com/apis/credentials/oauthclient?project=PROJECT_ID
gw auth login --credentials ./credentials.json
On WSL2/remote environments, the tool automatically falls back to manual URL paste mode when the localhost callback is unreachable.
gw auth status
gw cal list --days 3
gw mail list --query "is:unread" --limit 5
npx claudepluginhub jfk/gw-cli --plugin gw-cliExecutive team perspectives for any codebase — CEO, CTO, PM, CDO, CSO, CLO, COO, CMO, CAIO, CFO, CIO, QA Lead, DX Lead reviews
Full-lifecycle GitHub-issue-driven dev workflow — propose issues from session context, design-gated start, advisor + Copilot-gated ship, ceremony-automated tag, and an /objective orchestrator that drives a whole milestone to PRs — with HITL confirmation at every phase boundary or unattended autonomous runs, multi-issue batch support, pluggable post-PR reviewer, and per-repo Kagura Memory auto-detect.
Create, manage, and summon custom expert skills through interactive dialogue
Planner / Evaluator / Generator harness for Claude Code — drives development end-to-end from a GitHub issue through gated review and PR creation, with memory-backed recall for compounding value across runs
Rich, configurable Claude Code status line — model, context + burn rate, rate limits, git state, GitHub Actions CI, monthly + today/hourly Anthropic/OpenAI cost, weather (location-aware), service health. Minimal/detail toggle + interactive builder agent.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review