gog

Automates Gmail, Calendar, Drive, Contacts, Sheets, and Docs operations via the gog CLI.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/srgaba/open-claw --skill gog-srgaba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/srgaba/open-claw/tree/main/project/skills/gog
Command: npx skills add https://github.com/srgaba/open-claw --skill gog-srgaba

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Google Workspace services from the command line requires juggling multiple APIs and OAuth flows. This Skill provides a single CLI interface for Gmail, Calendar, Drive, Contacts, Sheets, and Docs so you can script and automate everyday workspace tasks. ## Core Features & Use Cases - Gmail Operations: Search threads or individual messages, send plain-text or HTML emails, create and send drafts, and reply to messages. - Calendar Management: List, create, and update events with support for event colors and time ranges. - Sheets and Docs: Read, update, append, and clear spreadsheet ranges, and export or print Google Docs content. - Use Case: Imagine you need to email a weekly report to your team. Use this Skill to pull data from a Google Sheet, draft a formatted email, and send it—all from the terminal. ## Quick Start Ask the assistant to search your Gmail for messages from the last 7 days using gog, after completing the one-time OAuth setup with your client credentials.

Frequently Asked Questions about gog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send an email from the command line with Gmail?

Use gog gmail send with --to, --subject, and --body flags. For multi-line messages, pass a file with --body-file or pipe content via stdin using --body-file -, and use --body-html for rich formatting.

How do I authenticate gog with my Google account?

Run gog auth credentials with your client_secret.json file, then gog auth add with your email and the services you need, such as gmail,calendar,drive,contacts,docs,sheets. Verify with gog auth list.

What is the difference between gog gmail search and messages search?

gog gmail search returns one row per thread, grouping related messages together. Use gog gmail messages search when you need every individual email returned separately, ignoring threading.

Can gog edit Google Docs in place?

No, gog only supports exporting, printing (cat), and copying Docs. In-place edits require a dedicated Google Docs API client, which gog does not provide.

How do I update a Google Sheets range from the CLI?

Use gog sheets update with the sheet ID, a range like Tab!A1:B2, and --values-json containing a JSON array of rows. Add --input USER_ENTERED so values are parsed as if typed by a user.