Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Command-line interface for Google Workspace services. Covers Gmail, Calendar, Drive, Contacts, Sheets, and Docs through a single tool. Requires one-time OAuth setup with a Google Cloud client credentials file.
Replaces writing separate OAuth integrations for each Google service by exposing all major Workspace APIs through a single CLI with consistent flags.
When to use it
- Search Gmail for recent emails matching a query
- Send emails from shell scripts or automations
- Pull calendar events for a specific date range
- Read and update Google Sheets cells programmatically
- Export Google Docs content to local text files
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: find emails from the last week and send a summary to a colleague
- 1Run `gog gmail search 'newer_than:7d' --max 10 --json` to fetch recent emails
- 2Parse subject lines and senders from the JSON output
- 3Compose a summary string from the results
- 4Run `gog gmail send --to colleague@example.com --subject 'Weekly email summary' --body '<summary>'` to deliver it
Email sent to colleague with a summary of the past week's inbox activity
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.