From ac-tools
Integrates Claude Code with Google Workspace (Sheets, Docs, Slides, Gmail, Calendar, Tasks) for read/write operations, file/event management, comments, and multi-account auth via CLI tools.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ac-tools:gsuiteThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Google Suite integration for Claude Code with multi-account support (enterprise + personal).
assets/api-reference.mdassets/enterprise-setup.mdassets/oauth-setup.mdassets/scopes.ymlcookbook/auth.mdcookbook/comments.mdcookbook/docs.mdcookbook/drive.mdcookbook/extra.mdcookbook/gcalendar.mdcookbook/gdate.mdcookbook/gmail.mdcookbook/mermaid.mdcookbook/orchestration.mdcookbook/people.mdcookbook/preferences.mdcookbook/sheets.mdcookbook/tasks.mdprompts/docs-template.mdprompts/sheets-template.mdGoogle Suite integration for Claude Code with multi-account support (enterprise + personal).
@ac convention for agent-directed commentsUse platform-native subagents when available (Task() / subagent tool). Legacy spawn-command flows are not supported.
Fallback: if subagent tooling is unavailable in the current runtime, execute GSuite tools directly via Bash.
| Complexity | Model Tier | Use For |
|---|---|---|
| Simple reads | Low-tier (haiku/flash-lite) | auth.py status, gmail.py list, single API calls |
| Moderate | Medium-tier (sonnet/flash) | Multi-step operations, data processing, summarization |
| Complex | High-tier (opus/pro) | Cross-service operations, analysis requiring judgment |
Execution patterns and examples are in cookbook/orchestration.md. Use direct CLI calls with explicit inputs/outputs.
Tools: All PEP 723 uv scripts in tools/ (skill-relative). All support --help and --account/-a <email>. Verify exact tool names first (ls tools/) - naming is inconsistent (e.g., gcalendar vs docs).
Cookbook: <tool>.py -> cookbook/<tool>.md (MANDATORY read before executing). If cookbook missing, check <tool>.py --help directly.
Customization: <tool>.py -> ~/.agents/customization/gsuite/<tool>.md
Comment Loop Workflow: For agent-directed comment workflows, see cookbook/comments.md. Default filter: @ac (agent-directed comments).
Large Content Strategy: For multi-line or complex content (e.g.: docs, emails, slides):
/tmp/content.md)cat /tmp/content.md | uv run <tool>.py write ...date "+%Y-%m-%dT%H:%M:%S %Z"uv run auth.py status --jsonSTOP. Check customization BEFORE any tool execution or API search.
Check ~/.agents/customization/gsuite/ for:
index.md (always)<tool>.md (if exists)people.md (if name mentioned)NEVER search People API before checking customization. If name (not email) mentioned:
~/.agents/customization/gsuite/people.mdcookbook/people.mdSTOP. Read cookbook before executing any tool.
ls tools/ (e.g., docs.py not gdocs.py)cookbook/<tool>.md (exact match)<tool>.py --helpRun tool, report results (status, data, errors).
On user correction -> read cookbook/preferences.md for storage flow.
role: anyone, type: anyone, or public visibility settings unless user explicitly requests AND confirms.ls tools/ first)people.md customizationindex.md preferences checkConfig directory: ~/.agents/gsuite/
~/.agents/gsuite/
credentials.json # OAuth client credentials
service-account.json # Enterprise service account (optional)
config.yml # Confirmation settings (optional)
active_account # Current active account
accounts/<email>/token.json
Write operations require confirmation by default. Configure in config.yml:
confirmation:
default: true # Global default
gmail: true # Per-tool override
tasks: false # Disable for specific tools
Use --yes or -y flag to bypass confirmation.
User-side behavior customizations live in ~/.agents/customization/:
~/.agents/customization/
<skill-name>/ # Per-skill customizations
<tool>.md # Tool-specific output format
~/.agents/customization/gsuite/gcalendar.md for calendar output formatFor --extra parameter usage (recurring events, CC/BCC, subtasks, etc.), see cookbook/extra.md.
comments.py is deprecated. Use drive.py comments, drive.py reply, drive.py resolve instead.cookbook/auth.md for interactive setupnpx claudepluginhub waterplanai/agentic-config --plugin ac-toolsManages Google Workspace operations across Gmail, Drive, Calendar, Docs, Sheets, and more using MCP tools or uvx CLI. Routes to 114 tools for checking email, finding files, scheduling meetings.
Provides MCP tools to search/send Gmail emails, manage Drive files/folders, create/edit Calendar events/Docs/Sheets/Slides/Forms, and handle Tasks/Chat. Use for Google Workspace interactions.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.