
Google Workspace CLI (gog)
Lets an agent search, send, and draft Gmail, manage Calendar events, and read or edit Drive, Sheets, and Docs via the gog command.
- Repository
- spinabot/brigade
- Stars
- 11,367
- Licence
- MIT
- Files
- 1 file
What it does
This skill teaches the agent to use a command-line tool called gog to work with your Google account: searching and sending Gmail, drafting and replying to emails, listing and creating Calendar events with colors, searching Drive, reading contacts, and reading or changing Google Sheets and Docs. Once you complete a one-time OAuth setup with your own Google credentials file, the agent can run these commands on your behalf. The skill's own instructions say to confirm with you before sending mail or creating events.
Great for
- People who want an agent to triage, search, or draft email in their own Gmail account
- Anyone who schedules meetings or manages Calendar events through an agent
- Developers scripting routine Sheets or Docs reads and writes with JSON output
Skip it if
- Shared or sensitive mailboxes where an agent sending mail on your behalf could cause harm if it misfires; review drafts first
- Users who cannot install the gog tool or who do not want to grant a third-party CLI access to their Google data
- Editing the content of existing Google Docs in place, which the skill says gog does not support
Try asking
- “Search my Gmail for unread messages from the last 7 days and summarise them”
- “Draft a follow-up email to the client from today's meeting notes and show me before sending”
- “Create a Calendar event called Team Sync next Tuesday at 10am with color 7”
- “Read the range A1:D10 from my budget Google Sheet as JSON”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the MIT licence and an attribution note.
gog.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip gog.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip gog.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Set GOG_ACCOUNT to your address so you do not have to pass --account each time
- Ask the agent to show you the draft or event details before it sends or creates anything
- Use gog gmail messages search instead of gog gmail search when you need each individual email rather than one row per thread
What's inside
- SKILL.md
Redistributed unmodified from spinabot/brigade under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.