gog
Installation
Summary
CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs via Google Workspace API.
- Covers six Google services with commands for searching/sending emails, managing calendar events with color support, querying Drive, listing contacts, and reading/updating Sheets
- Gmail operations include search, send (plain/HTML/multi-line), draft creation, and reply handling; supports multiple input methods (inline, file, stdin)
- Calendar commands create, update, and list events with ISO date ranges and 11 built-in event colors
- Sheets operations support get, update, append, clear, and metadata retrieval with JSON input/output
- Requires one-time OAuth setup via
gog authwith a Google client secret file; supports multiple accounts and environment variable configuration for scripting
SKILL.md
gog
Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheetsgog 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
Related skills
More from steipete/clawdis
summarize
Summarize or transcribe URLs, YouTube/videos, podcasts, articles, transcripts, PDFs, and local files.
15.1Kweather
Get current weather, rain, temperature, and forecasts for locations or travel planning.
4.2Ktmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
3.3Knano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
2.7Kopenai-whisper
Local speech-to-text with the Whisper CLI (no API key).
2.5Kmcporter
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.
2.0K