gog
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Skill by understudy-ai
Chalk Labs
Need help deploying gog?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/understudy-ai-gog
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gog
What's inside
- Skill name
gog- Description
- Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
- License
- MIT
- Instructions
- 94 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# gog
Use `gog` for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
Setup (once)
- `gog auth credentials /path/to/client_secret.json`
- `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets`
- `gog auth list`
Common commands
- Gmail search: `gog gmail search 'newer_than:7d' --max 10`
- Gmail messages search (per email, ignores threading): `gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account you@example.com`
- Gmail send (plain): `gog gmail send --to a@b.com --subject "Hi" --body "Hello"`
- Gmail send (multi-line): `gog gmail send --to a@b.com --subject "Hi" --body-file ./message.txt`
- Gmail send (stdin): `gog gmail send --to a@b.com --subject "Hi" --body-file -`
- Gmail send (HTML): `gog gmail send --to a@b.com --subject "Hi" --body-html "<p>Hello</p>"`
- Gmail draft: `gog gmail drafts create --to a@b.com --subject "Hi" --body-file ./message.txt`
- Gmail send draft: `gog gmail drafts send <draftId>`
- Gmail reply: `gog gmail send --to a@b.com --subject "Re: Hi" --body "Reply" --reply-to-message-id <msgId>`
- Calendar list events: `gog calendar events <calendarId> --from <iso> --to <iso>`
- Calendar create event: `gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso>`
- Calendar create with color: `gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso> --event-color 7`
- Calendar update event: `gog calendar update <calendarId> <eventId> --summary "New Title" --event-color 4`
- Calendar show colors: `gog calendar colors`
- Drive search: `gog drive search "query" --max 10`
- Contacts: `gog contacts list --max 20`
- Sheets get: `gog sheets get <sheetId> "Tab!A1:D10" --json`
- Sheets update: `gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED`
- Sheets append: `gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS`
- Sheets clear: `gog sheets clear <sheetId> "Tab!A2:Z"`
- Sheets metadata: `gog sheets metadata <sheetId> --json`
- Docs export: `gog docs export <docId> --format txt --out /tmp/doc.txt`
- Docs cat: `gog docs cat <docId>`
Calendar Colors
- Use `gog calendar colors` to see all available event colors (IDs 1-11)
- Add colors to events with `--event-color <id>` flag
- Event color IDs (from `gog calendar colors` output):
- 1: #a4bdfc
- 2: #7ae7bf
- 3: #dbadff
- 4: #ff887c
- 5: #fbd75b
- 6: #ffb878
- 7: #46d6db
- 8: #e1e1e1
- 9: #5484ed
- 10: #51b749
- 11: #dc2127
Email Formatting
- Prefer plain text. Use `--body-file` for multi-paragraph messages (or `--body-file -` for stdin).
- Same `--body-file` pattern works for drafts and replies.
- `--body` does not unescape `\n`. If you need inline newlines, use a heredoc or `$'Line 1\n\nLine 2'`.
- Use `--body-html` only when you need rich formatting.
- HTML tags: `<p>` for paragraphs, `<br>` for line breaks, `<strong>` for bold, `<em>` for italic, `<a href="url">` for links, `<ul>`/`<li>` for lists.
- Example (plain text via stdin):
```bash
gog gmail send --to recipient@example.com \
--subject "Meeting Follow-up" \
--body-file - <<'EOF'
Hi Name,
Thanks for meeting today. Next steps:
- Item one
- Item two
Best regards,
Your Name
EOF
```
- Example (HTML list):
```bash
gog gmail send --to recipient@example.com \
--subject "Meeting Follow-up" \
--body-html "<p>Hi Name,</p><p>Thanks for meeting today. Here are the next steps:</p><ul><li>Item one</li><li>Item two</li></ul><p>Best regards,<br>Your Name</p>"
```
Notes
- Set `GOG_ACCOUNT=you@gmail.com` to avoid repeating `--account`.
- For scripting, prefer `--json` plus `--no-input`.
- Sheets values can be passed via `--values-json` (recommended) or as inline rows.
- Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
- Confirm before sending mail or creating events.
- `gog gmail search` returns one row per thread; use `gog gmail messages search` when you need every individual email returned separately.From understudy-ai/understudy, MIT.
More from understudy-ai/understudy
- 0.687score
xquik
understudy-ai
Use Xquik REST and MCP APIs for X data workflows: search public posts, inspect users, export datasets, download media, monitor accounts or keywords, and send…
SkillCFreshness: C★ 464Claude Code +9 - 0.615score
skill-creator
understudy-ai
Create, edit, improve, review, audit, or clean up AgentSkills.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
researcher
understudy-ai
Research current topics with multiple sources and produce a structured brief, comparison, recommendation, or fact-check.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
slack
understudy-ai
Use when you need to control Slack from Understudy via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
things-mac
understudy-ai
Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database).
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
healthcheck
understudy-ai
Host security hardening and risk-tolerance guidance for Understudy deployments.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
synthesize-brief
understudy-ai
Turn context findings into a summary packet and short brief.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
render-brief-assets
understudy-ai
Render polished cover and summary-card image assets for the brief package.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
compose-summary-video
understudy-ai
Compose the final draft summary video from the generated assets and brief.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
prepare-delivery-preview
understudy-ai
Prepare the delivery preview payload from the generated assets.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
target-brief-studio
understudy-ai
Hand-written end-to-end playbook for a reusable target brief workflow.
SkillDFreshness: D★ 464Claude Code +9 - 0.528score
target-brief-baseline-stage
understudy-ai
Single-stage acceptance playbook for the baseline context phase.
SkillDFreshness: D★ 464Claude Code +9
Signals
- Stars
- 464
- Forks
- 36
- Open issues
- 2
- Last commit (this folder)
- Mar 12, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/understudy-ai/understudy
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from understudy-ai
- 0.687score
xquik
understudy-ai
Use Xquik REST and MCP APIs for X data workflows: search public posts, inspect users, export datasets, download media, monitor accounts or keywords, and send…
SkillCFreshness: C★ 464Claude Code +9 - 0.615score
skill-creator
understudy-ai
Create, edit, improve, review, audit, or clean up AgentSkills.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
things-mac
understudy-ai
Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database).
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
researcher
understudy-ai
Research current topics with multiple sources and produce a structured brief, comparison, recommendation, or fact-check.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
slack
understudy-ai
Use when you need to control Slack from Understudy via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 464Claude Code +9 - 0.614score
healthcheck
understudy-ai
Host security hardening and risk-tolerance guidance for Understudy deployments.
SkillDFreshness: D★ 464Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gog running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gog skill. Agent Mart. https://agentmart.dev/skills/understudy-ai-gog (last updated 2026-10-24)