Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
CLI tool for interacting with Google Workspace services including Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Requires OAuth setup with a Google Cloud client secret. Supports both interactive use and scripting.
Lets you automate Google Workspace tasks from scripts or agents without building OAuth flows from scratch.
When to use it
- Search and send Gmail messages from the terminal
- Query calendar events across a date range
- Read and update Google Sheets cells in scripts
- Export Google Docs to plain text
- Search Drive files without opening a browser
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: find emails from the last 3 days and add a summary row to a spreadsheet
- 1Run `gog gmail search 'newer_than:3d' --max 20 --json` to fetch recent emails
- 2Parse subject lines and senders from JSON output
- 3Format summary data as a JSON array
- 4Run `gog sheets append <sheetId> "Sheet1!A:C" --values-json '[...]' --insert INSERT_ROWS` to append the row
New row added to the spreadsheet with email summary data
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.