Manage Google Workspace apps from the command line in one workflow.
Overall risk appears low to moderate: the main exposure comes from OAuth-based access to Google Workspace data, including read/write actions over mail, drive, docs, sheets, and calendars. The source is open and widely adopted, with no clear red flags for malicious exfiltration or excessive execution, but least-privilege setup and source verification are still recommended.
The README explicitly says it 'Requires OAuth setup' and instructs use of a client_secret.json plus account authorization for Gmail, Calendar, Drive, Contacts, Docs, and Sheets. Although the system metadata says no keys/env vars, the material indicates OAuth client credentials and user tokens are involved; leakage could enable misuse of the associated Google Workspace resources.
The described functionality and example commands show that the tool communicates with Google Workspace services to query, send, and modify Gmail, Calendar, Drive, Contacts, Sheets, and Docs data. The material does not indicate connections to unknown third-party endpoints, and the egress appears aligned with the stated purpose, but user data is still transmitted to Google services for processing.
The system flags this as prompt-only, and the material does not show that the Skill itself launches local processes, executes arbitrary scripts, invokes a shell, or requests elevated system privileges. The README mainly contains CLI usage examples, with no evidence of dangerous execution capabilities beyond normal command-line tooling.
Per the README, the tool can search and send email, create drafts, read and modify calendar events, search Drive, list contacts, read/write/clear Sheets, and export Docs. This is a broad access surface across multiple sensitive workplace data types. The scope is generally consistent with the stated functionality, but OAuth scopes should be limited to only the services actually needed.
Positive indicators include an open-source GitHub repository and very high community adoption (~377k stars), which materially reduce supply-chain risk through transparency and scrutiny. However, some source details are incomplete or inconsistent: no declared license, unknown maintenance status, and an apparent mismatch between the name 'gog' and the provided repository 'openclaw/openclaw', so the mapping between the repo and the distributed artifact should be verified.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "gog" skill from askskill: 1. Download https://raw.githubusercontent.com/openclaw/openclaw/main/skills/gog/SKILL.md 2. Save it as ~/.claude/skills/gog/SKILL.md 3. Reload skills and tell me it's ready
Using gog, find all unread Gmail messages from this week and list my Google Calendar meetings for the next 7 days, then turn them into a dated task list.
A summary of unread emails, upcoming meetings, and a date-organized task list.
Use gog to scan my Google Drive, find files added in the last 30 days, group them by type, and flag possible duplicates.
A list of newly added files, grouped file types, and possible duplicate files.
With gog, read a specified Google Sheets sales tracker and related Google Docs weekly report, extract key metrics, and generate a project progress summary.
Key metrics, document highlights, and a combined project progress summary.
Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add [email protected] --services gmail,calendar,drive,contacts,docs,sheetsgog auth listCommon commands
gog gmail search 'newer_than:7d' --max 10gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account [email protected]gog gmail send --to [email protected] --subject "Hi" --body "Hello"gog gmail send --to [email protected] --subject "Hi" --body-file ./message.txtgog gmail send --to [email protected] --subject "Hi" --body-file -gog gmail send --to [email protected] --subject "Hi" --body-html "<p>Hello</p>"gog gmail drafts create --to [email protected] --subject "Hi" --body-file ./message.txtgog gmail drafts send <draftId>gog gmail send --to [email protected] --subject "Re: Hi" --body "Reply" --reply-to-message-id <msgId>gog calendar events <calendarId> --from <iso> --to <iso>gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso>gog calendar create <calendarId> --summary "Title" --from <iso> --to <iso> --event-color 7gog calendar update <calendarId> <eventId> --summary "New Title" --event-color 4gog calendar colorsgog drive search "query" --max 10gog contacts list --max 20gog sheets get <sheetId> "Tab!A1:D10" --jsongog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTEREDgog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWSgog sheets clear <sheetId> "Tab!A2:Z"gog sheets metadata <sheetId> --jsongog docs export <docId> --format txt --out /tmp/doc.txtgog docs cat <docId>Calendar Colors
gog calendar colors to see all available event colors (IDs 1-11)--event-color <id> flaggog calendar colors output):
Email Formatting
Prefer plain text. Use --body-file for multi-paragraph messages (or --body-file - for stdin).
Same --body-file pattern works for drafts and replies.
--body does not unescape \n. If you need inline newlines, use a heredoc or $'Line 1\n\nLine 2'.
Use --body-html only when you need rich formatting.
HTML tags: <p> for paragraphs, <br> for line breaks, <strong> for bold, <em> for italic, <a href="url"> for links, <ul>/<li> for lists.
Example (plain text via stdin):
gog gmail send --to [email protected] \
--subject "Meeting Follow-up" \
--body-file - <<'EOF'
Hi Name,
Thanks for meeting today. Next steps:
- Item one
- Item two
Best regards,
Your Name
EOF
Example (HTML list):
gog gmail send --to [email protected] \
--subject "Meeting Follow-up" \
--body-html "<p>Hi Name,</p><p>Thanks for meeting today. Here are the next steps:</p><ul><li>Item one</li><li>Item two</li></ul><p>Best regards,<br>Your Name</p>"
Notes
[email protected] to avoid repeating --account.--json plus --no-input.--values-json (recommended) or as inline rows.…
Fetch GitHub issues, create fixes, open PRs, and handle reviews.
Convert text to speech locally and offline with sherpa-onnx, no cloud needed.
Regenerate OpenClaw release changelog sections from Git history before releases.
Prepare and verify OpenClaw stable or beta releases and release notes.
Automate web page workflows, login checks, tab handling, and recovery steps.
Verify an OpenClaw release is fully published and working across all channels.
Control Google Workspace services from the command line and automate workflows.
Use AI to manage Google Workspace apps and automate daily collaboration.
Connect Gmail, Calendar, Drive, and Docs for streamlined work automation.
Connect AI agents to Gmail, Calendar, and Drive for automated work tasks.
Manage Gmail, Drive, Calendar, and Docs across Google Workspace using natural language.
Manage, edit, summarize, and organize Google Workspace files in one workflow.