LaunchKit · 2026
Back to Skills

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

745
117.1k downloads
by @steipete

Setup & Installation

openclaw skills install @steipete/gog

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install gog

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.

INPUT

User asks: find emails from the last week and send a summary to a colleague

AGENT
  1. 1Run `gog gmail search 'newer_than:7d' --max 10 --json` to fetch recent emails
  2. 2Parse subject lines and senders from the JSON output
  3. 3Compose a summary string from the results
  4. 4Run `gog gmail send --to colleague@example.com --subject 'Weekly email summary' --body '<summary>'` to deliver it
OUTPUT

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.

Google Cloud project with OAuth 2.0 client credentials (client_secret.json)Google account authorized to access the desired Workspace services