gog: Google Workspace CLI for Openclaw

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

jasminehuang98613
v1.0.0
Feb 19, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gog-jasmine

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-jasmine 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: Google Workspace CLI?

gog is a robust CLI tool designed to bridge the gap between your terminal and the Google Workspace ecosystem. It provides a unified interface for interacting with Gmail, Google Drive, Calendar, Contacts, Sheets, and Docs, making it an essential addition to any Openclaw Skills collection.

Whether you need to script email notifications, automate spreadsheet updates, or manage calendar events programmatically, gog provides the necessary endpoints with a focus on speed and scriptability. By leveraging OAuth authentication, it ensures secure access to your Google data while providing developer-friendly features like JSON output and environment-based account switching.

gog: Google Workspace CLI Use Cases

  • Automating daily email reports and search queries through Gmail.
  • Programmatically scheduling and retrieving events from Google Calendar.
  • Batch updating or appending data to Google Sheets for analytics and logging.
  • Searching and exporting documents from Google Drive and Google Docs for documentation workflows.
  • Managing Google Contacts and address books via the command line within Openclaw Skills environments.

How gog: Google Workspace CLI Works

  1. The user provides a Google Cloud client secret to authorize the application via OAuth.
  2. Accounts are added and authorized for specific scopes such as Gmail, Drive, or Sheets.
  3. Commands are issued through the gog binary, which translates CLI flags into Google API requests.
  4. Data is returned in either a human-readable format or structured JSON for programmatic parsing.
  5. The tool utilizes environment variables to maintain state and manage multiple accounts across different Openclaw Skills automation tasks.

gog: Google Workspace CLI Setup

To integrate this tool into your Openclaw Skills workflow, install it via Homebrew:

brew tap steipete/tap
brew install gogcli

Once installed, configure your OAuth 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
gog auth list

gog: Google Workspace CLI Data Schema & Taxonomy

The skill handles structured data across various Google services, primarily utilizing JSON for input and output to ensure compatibility with other Openclaw Skills.

Service Data Type Primary Operations
Gmail JSON / MIME Search, Send, Read
Sheets JSON Arrays Get, Update, Append, Clear
Calendar ISO 8601 Event creation and retrieval
Drive Metadata Search and File Management
Docs TXT / Export Content streaming and file conversion

gog: Google Workspace CLI Advanced Features

  • Headless execution support using the --no-input and --json flags for seamless script integration.
  • Global account management using the GOG_ACCOUNT environment variable to avoid repetitive flag usage.
  • Granular Sheets control allowing for specific range clearing and USER_ENTERED value input types.
  • Direct content streaming of Google Docs via the cat command for rapid inspection.
  • Multi-service authorization allowing a single account to manage the entire Google Workspace suite within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*