gog for Openclaw

A comprehensive Google Workspace CLI tool that enables AI agents to interact with Gmail, Calendar, Drive, Sheets, and Docs through a unified interface.

saisake
v1.0.0
Apr 12, 2026
0
945
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gog-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gog-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is gog?

The gog skill is a powerful command-line interface designed to bridge the gap between AI agents and the Google Workspace ecosystem. By leveraging this Openclaw Skills integration, developers can empower their agents to perform complex operations across Google services—including reading emails, managing schedules, and manipulating spreadsheet data—all through standardized terminal commands.

Built for speed and scriptability, gog handles the heavy lifting of OAuth authentication and API communication. It allows for seamless data extraction and insertion, making it an essential component for any automated workflow that relies on Google's suite of productivity tools.

gog Use Cases

  • Automating email summaries and responses within Gmail using AI logic.
  • Syncing AI-generated task lists directly to Google Calendar events.
  • Programmatically managing files and searching for documents within Google Drive.
  • Real-time data logging and retrieval from Google Sheets for analytics.
  • Exporting Google Docs content for processing or conversion into different formats.

How gog Works

  1. The AI agent invokes the gog binary with specific service flags (e.g., gmail, drive, or sheets).
  2. gog references the pre-configured OAuth credentials and the active GOG_ACCOUNT to authenticate the request.
  3. Commands are executed against the Google API, such as searching for specific email threads or appending rows to a sheet.
  4. The results are returned to the agent, often in JSON format for easy parsing and further decision-making.
  5. The agent utilizes the output to continue the workflow or confirm the action completion to the user.

gog Setup

To install and configure gog as part of your Openclaw Skills library, follow these steps:

# Install gog via Homebrew
brew tap steipete/tap
brew install gog

# Configure OAuth credentials
gog auth credentials /path/to/client_secret.json

# Add your account and authorize services
gog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docs

# Set environment variable for convenience
export [email protected]

gog Data Schema & Taxonomy

gog utilizes a structured data approach to ensure compatibility with automation tools. Most commands support a --json flag to return machine-readable data.

Data Type Description Key Fields
Gmail Threads Search results and message content id, threadId, snippet, payload
Calendar Events Schedule and meeting data id, summary, start, end
Sheets Data Cell values and sheet metadata values, range, majorDimension
Drive Files File system objects and metadata id, name, mimeType

gog Advanced Features

  • Multi-service OAuth: Authenticate multiple Google services under a single account profile.
  • JSON Output Mode: Use the --json flag for all commands to facilitate seamless piping into other AI-driven tools.
  • Batch Sheets Operations: Append, update, or clear ranges in Google Sheets using structured --values-json inputs.
  • Docs Exporting: Convert Google Docs to plain text or other formats on the fly for LLM context injection.
  • Scripting Optimization: Utilize the --no-input flag to ensure non-blocking execution in automated environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*