Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Version 0.1.1 of xferops-gog - No file changes detected in this release. - No updates to commands, features, or documentation.
What This Skill Does
Command-line interface for Google Workspace services including Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Requires a one-time OAuth setup with a Google Cloud client secret. Supports scripting with JSON output and stdin piping.
Replaces fragile browser automation or custom OAuth code with a single binary that covers all major Google Workspace APIs from the terminal.
When to use it
- Search inbox and read email bodies from a script
- Create and update calendar events with color coding
- Read and write Google Sheets data in automation pipelines
- Download Gmail attachments to local paths
- Export Google Docs to plain text for processing
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: find emails from ryanair.com in the last 7 days and save any attachments
- 1Run `gog gmail messages search 'in:inbox from:ryanair.com newer_than:7d' --max 20 --json` to list matching messages
- 2Parse message IDs from the JSON output
- 3For each message, run `gog gmail get <MESSAGE_ID> --json` to retrieve attachment metadata
- 4Run `gog gmail attachment <messageId> <attachmentId> --out /tmp/ryanair/` for each attachment found
Attachments saved to /tmp/ryanair/ for all matching emails
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.