gog: Command-line access to Gmail, Calendar, Drive, Sheets and Docs

By Peter SteinbergerClawHub

gog is a command-line tool for Google Workspace. It lets you search and send Gmail, read and list Calendar events, search Drive, list Contacts, and read, write and clear Google Sheets ranges. It also exports and reads Google Docs. It needs a one-time OAuth setup before use.

OfficialOffice & productivityClawHub
Total downloads
200.7K
ClawHub
Last 7 days
560
▼ 11.4% vs the week before
Best 100 rank
#18
not ranked 7 days ago
Days in Best 100
77
out of 104 days tracked

What problem this skill solves

Working with Google Workspace data usually means switching to the browser and clicking through each app. Scripts that need mail, events, sheet rows or doc text have no simple way to reach that data from a terminal.

With gog, the same tasks run as shell commands. You can search mail, add rows to a sheet, or export a doc to a text file from a script. The skill's notes suggest `--json` and `--no-input` for scripted use.

Good for

  • Scripts or cron jobs that read or write Google Sheets rows
  • Searching Gmail or Drive from the terminal
  • Exporting Google Docs to plain text for other tools

Not for

  • Editing Google Docs in place, which the skill says needs a Docs API client outside gog
  • Setups where OAuth credentials cannot be created or stored

Install this skill

gog only

openclaw skills install @steipete/gog

Trend

Growing steadily
02505007501K56008/2809/2510/3011/27
Daily downloads, last 30 days
83
Daily downloads, last 30 days vs the 30 days before
-15.3%

How this skill works

  1. 1Install the `gog` binary with Homebrew from the `steipete/tap/gogcli` formula.
  2. 2Register your OAuth client file with `gog auth credentials /path/to/client_secret.json`.
  3. 3Add your Google account and the services you need with `gog auth add`, then check it with `gog auth list`.
  4. 4Run service commands such as `gog gmail search`, `gog sheets get` or `gog docs export`.
  5. 5Set `GOG_ACCOUNT` to skip repeating `--account`, and add `--json` and `--no-input` in scripts.
  6. 6Confirm with the user before sending mail or creating calendar events.

More skills by the same author

SkillWhat it doesTotal downloads
githubInteract with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.206,516
weatherGet current weather and forecasts (no API key required).174,742
nano-pdfEdit PDFs with natural-language instructions using the nano-pdf CLI.124,153
obsidianWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.113,834

Are you the author of this skill? Add its rank to your GitHub repo

Best Skills #18

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/clawhub/gog.svg)](https://linkly.ai/skills/s/clawhub/gog)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md