gogcli
Skill4 starsChanged 7 months agoMITView on GitHub
Fast, script-friendly CLI for Google services via `gog`. Use this skill whenever the user needs to work with Gmail, Google Calendar, Drive, Docs, Sheets, Slides, Forms, Apps Script, Contacts, Tasks, People, Chat, Classroom, Groups, Admin, or Keep from the terminal, especially for Google Workspace automation, account setup, OAuth/client configuration, service accounts, domain-wide delegation, or JSON/scriptable workflows. Prefer this skill even when the user does not mention `gog` explicitly but is clearly trying to automate or inspect Google services from a CLI or agent workflow.
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 71
Default output is human-readable.
- Very specific: line 72
Use --json for machine-readable scripting.
- Very specific: line 73
Use --plain for stable TSV-like output.
- Distinctive: line 75
Prefer read-only discovery before mutating commands.
- Very specific: line 93
Use --json whenever downstream parsing matters.
- Distinctive: line 94
Prefer the smallest scope set that can accomplish the task.
- Distinctive: line 97
Do not assume consumer Gmail accounts can use Chat, Admin, Groups, or Keep service-account flows.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
gogcli - Google in your terminal
Overview
gog is a script-friendly CLI for Google services with JSON-first output, multiple accounts, and flexible authentication. This skill is for agents that need to inspect or automate Google Workspace and Gmail workflows safely.
Core areas:
- Gmail: search, read, send, drafts, labels, filters, watch webhooks, tracking
- Calendar: events, invites, team calendars, free/busy, conflicts, special event types
- Drive: list/search/upload/download/share/move/delete, shared drives
- Docs / Slides / Sheets: create, copy, export, update, formatting helpers
- Contacts / People / Tasks
- Chat, Classroom, Forms, Apps Script
- Groups, Admin, Keep in Workspace environments
Installation
See references/installation.md.
Authentication Quick Start
For first-time setup, see references/oauth.md and references/apis.md.
Minimal happy path:
gog auth credentials ~/Downloads/client_secret_*.json
gog auth add you@gmail.com
gog auth list
export GOG_ACCOUNT=you@gmail.com
gog auth status
gog gmail labels listgog auth status only shows the current/selected account context. To confirm which accounts are authenticated at all, check gog auth list.
Authentication Model
gog supports:
- Multiple accounts via
--account/GOG_ACCOUNT - Account aliases via
gog auth alias ... - Multiple OAuth clients via
--client/GOG_CLIENT - Keyring backends:
auto,keychain,file - Least-privilege auth with
--readonly,--drive-scope,--gmail-scope - Workspace service accounts with domain-wide delegation
See details in references/oauth.md.
Workspace service accounts
For Workspace-only flows such as Keep or Admin, verify service-account configuration before acting.
Quick check:
gog --account you@yourdomain.com auth statusSee full setup in references/oauth.md.
Output and automation conventions
- Default output is human-readable.
- Use
--jsonfor machine-readable scripting. - Use
--plainfor stable TSV-like output. - Human hints/progress go to stderr.
- Prefer read-only discovery before mutating commands.
Recommended preflight pattern:
gog auth status --json
gog gmail labels list --json
gog calendar calendars --json
gog drive ls --max 5 --jsonCommon command patterns
See references/commands.md.
Agent guidance
- First confirm the target account with
gog auth statusor explicit--account. - Use
--jsonwhenever downstream parsing matters. - Prefer the smallest scope set that can accomplish the task.
- For Workspace-only commands, verify service-account/domain-wide-delegation status first.
- For Gmail watch/tracking flows, verify external webhook URLs and auth before enabling writes.
- Do not assume consumer Gmail accounts can use Chat, Admin, Groups, or Keep service-account flows.
References
- Upstream repo: https://github.com/steipete/gogcli
- Upstream auth clients doc: https://github.com/steipete/gogcli/blob/main/docs/auth-clients.md
- Upstream Gmail watch doc: https://github.com/steipete/gogcli/blob/main/docs/watch.md
- Local references:
references/installation.md,references/oauth.md,references/apis.md,references/commands.md,references/troubleshooting.md
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- joelhooks/joelclaw★ 66same name
- ddnetters/homelab-agent-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- greats-soul-archive-contributor/AGENTS.mdAGENTS.md
- agentic-cli-designSkill
- ai-chat-frontendSkill
- autoresearch-agentSkill
- brainstorm-frameworksSkill
- business-planningSkill
- clawdbot-configSkill
- dashboard-design-guidebookSkill
- fermi-estimationSkill
- firecrawlSkill
- greats-soul-archive-contributorSkill
- jp-grantsSkill
- openclaw-agent-creatorSkill
- opencode-agent-creatorSkill
- opencode-command-creatorSkill
- openspec-brownfield-baselineSkill
- oss-publishSkill
- product-improvement-proposalSkill
- python-uv-projectSkill
- rust-cliSkill
- slack-rsSkill
- unit-test-hygieneSkill
- wt-setupSkill
- youtube-summarizerSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

