From claude-commands
Reads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-commands:.claude-skills-_archive-gmailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Tool**: `gog` — Google CLI with Gmail/Calendar/Drive/Sheets support
Tool: gog — Google CLI with Gmail/Calendar/Drive/Sheets support
Binary: /opt/homebrew/bin/gog
Auth: macOS keychain (persistent, no re-auth needed)
Account: [email protected]
# Search (Gmail query syntax)
gog gmail search -a [email protected] "<query>" --limit 10
# Get full message body by ID
gog gmail get -a [email protected] <messageId>
# Recent inbox
gog gmail search -a [email protected] "in:inbox newer_than:1d" --limit 20
# JSON output for scripting
gog gmail search -a [email protected] "<query>" --json --limit 5
subject:[Consulting] # subject contains [Consulting]
from:[email protected] # from a sender
newer_than:1d # last 24 hours
newer_than:1h # last 1 hour
in:inbox is:unread # unread inbox
has:attachment # messages with attachments
ID DATE FROM SUBJECT LABELS
19e656a13d3ad37d 2026-05-26 10:51 AI Universe Contact... [Consulting] New... INBOX
Use the ID with gog gmail get to read the full body.
mcp-agent-mail (that's inter-agent messaging via port 8765, not Gmail)@gongrzhe/server-gmail-autoauth-mcp (not configured)/gmail <query> — calls gog gmail search -a [email protected] "<query>"
npx claudepluginhub jleechanorg/claude-commands --plugin claude-commandsReads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.
Automates Gmail operations like searching, reading, sending emails, managing drafts/labels via Python CLI scripts with standalone OAuth. Requires Google Workspace.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.