Agent skill · software engineering · intellectronica
gog-cli
Use this skill whenever the user wants to operate Google Workspace from the command line with gog/gogcli, including Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Apps Script, Chat, Classroom, Contacts, Tasks, People, Groups, Admin, Keep, auth, configuration, scripting, or agent-safe Google automation. Prefer this skill for Google account/file/mail/calendar work when the user mentions gog, gogcli, Google CLI, Gmail search/send, Calendar events, Drive files, Docs/Sheets/Slides editing, Forms, Apps Script, Workspace admin, or command-line Google automation.
Why this skill is useful
Adds specific command patterns and operational guidelines for managing Google Workspace via the command line that the AI wouldn't reliably generate on its own.
What it needs
Requires gogcli installed locally. About 4k tokens when loaded. Last updated 2026-04-25. 281 stars on the source repository.
What this skill does
gogcli (gog) gog is a fast, script-friendly CLI for Google services. It is JSON-first, supports multiple accounts/OAuth clients, and has explicit guardrails for agent and CI usage. Authoritative upstream: https://github.com/steipete/gogcli This skill was refreshed against upstream gog v0.13.0 (2026-04-20). When exact syntax matters, run gog <command> --help or gog schema --json; the command surface moves quickly, rather inconveniently for anyone fond of stale notes. Operating rules Prefer gog --json ... jq ... for inspection and scripting. Use --plain only when stable TSV is more convenient than JSON. Use --dry-run for supported mutating operations when preparing a change or when user intent is ambiguous. Use --no-input in automation so commands fail instead of prompting. Use --force only when the user asked for the destructive/public/send/admin operation or after you have clearly explained the effect. Do not repair OAuth, consent, keyring, or Workspace delegation problems silently. Show the exact command the user should run. Do not export tokens, print secrets, open public shares, add delegates/forwarding, send mail, suspend users, or permanently delete data unless the user explicitly requested that action. For agent runs that must not send mail, add --gmail-no-send, set GOGGMAILNOSEND=1, or configure gog config no-send set <account>. Install and auth Notes: Homebrew now uses brew install gogcli; old tap examples are obsolete. gog auth add defaults to --services user. Request the services needed for the task. --services all is accepted only as a backwards-compatible alias for user; do not use it when you need every API. Use --readonly, --drive-scope readonly file full, and --gmail-scope readonly full for least privilege. Keep and Admin require Workspace service-account/domain-wide delegation. Google Chat, Groups, directory, and Classroom also have Workspace restrictions. For headless/CI, consider --manual, --remote, --access-token, or GOGAUTHMODE=adc. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills intellectronica/skills--7a6d7c