gog
Skill by infometa
gog is a Google Workspace command line tool for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It suits users who want their AI assistant to work with these services after OAuth setup.
Install gog
Built from the published package, never by AI.
git clone --depth 1 https://github.com/infometa/workbuddyskills /tmp/workbuddyskills && mkdir -p ~/.claude/skills && cp -r /tmp/workbuddyskills/plugins/codebuddy-plugins-official/plugins/hot-skills/skills/gog ~/.claude/skills/gogRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/infometa/workbuddyskills /tmp/workbuddyskills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workbuddyskills/plugins/codebuddy-plugins-official/plugins/hot-skills/skills/gog ~/.gemini/antigravity-cli/skills/gogAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
gog is a command line tool for Google Workspace. It covers Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Setup uses OAuth: you register a client_secret.json file with gog auth credentials, then add your Google account with the services you want. Common actions include searching and sending Gmail, listing calendar events, searching Drive, listing contacts, reading, updating, appending to, or clearing Sheets ranges, and exporting or printing Docs.
The skill lists example commands and notes for scripting. Setting GOG_ACCOUNT avoids repeating the account flag, and --json with --no-input is suggested for scripts. The source says to confirm before sending mail or creating events. It fits people who want an assistant to handle routine Google Workspace tasks from a terminal.
Written from the project's SKILL.md and checked against it.
What it can do
- Gmail searchSearches Gmail messages with a query such as newer_than:7d.
- Gmail sendSends an email with a recipient, subject, and body.
- Calendar eventsLists events for a calendar within a date range.
- Drive searchSearches Google Drive with a query and result limit.
- Contacts listLists contacts up to a set maximum.
- Sheets getReads a cell range from a Google Sheets tab, with JSON output.
- Sheets updateWrites values into a Sheets range from a JSON array.
- Sheets appendAdds rows of values to the end of a Sheets range.
- Sheets clearClears the values in a Sheets range.
- Docs exportExports a Google Doc to a file such as txt.
What you need
- Google account
- OAuth client_secret.json file
- OAuth setup for gog
Try asking
- Search my Gmail for messages from the last 7 days.
- Read the first 10 rows of my budget sheet and summarize them.
- List my calendar events between two dates I give you.
Good to know
- In-place Docs edits need a Docs API client, which is not part of gog.
- The source says to confirm before sending mail or creating events.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/codebuddy-plugins-official/plugins/hot-skills/skills/gog/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gog
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
gog: common questions
Can gog edit Google Docs in place?
Not with gog alone. The source says Docs supports export, cat, and copy, and in-place edits require a Docs API client that is not included.
Do I have to pass the account on every command?
No. The source says setting GOG_ACCOUNT to your email avoids repeating the --account flag.
Is gog suitable for scripts?
The source recommends using --json together with --no-input when scripting.
How do I install gog?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gog free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is gog safe to use?
It scores 48 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gog?
Similar skills: ask-user-question, beads, google_tasks, recall.
