gog Google Workspace CLI for Openclaw

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

hailinhmacduc
v1.0.0
Feb 21, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install fsdfsd

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 fsdfsd 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 versatile CLI tool specifically designed to provide developers and power users with direct access to Google Workspace services without leaving the terminal. By incorporating this into your Openclaw Skills library, you gain the ability to script complex workflows across Gmail, Drive, and Sheets, making it an essential utility for automation and data management. It bridges the gap between local terminal environments and the Google cloud ecosystem through a unified command structure.

The tool prioritizes security and flexibility, utilizing OAuth2 for authentication and offering structured output for seamless integration with other tools. Whether you are searching through years of emails or updating live spreadsheets, gog provides a high-performance interface for all your Workspace needs within the context of Openclaw Skills.

gog Google Workspace CLI Use Cases

  • Automating the retrieval and processing of recent emails for reporting using Openclaw Skills.
  • Programmatically updating Google Sheets with system logs or data analysis results.
  • Searching and exporting Google Docs content to local text files for documentation processing.
  • managing and listing calendar events directly from a terminal-based agent workflow.
  • Searching Google Drive files and managing contact lists via automated scripts.

How gog Google Workspace CLI Works

  1. The user provides a Google Cloud client secret to initialize the OAuth handshake.
  2. Specific services are authorized for an account, granting the Openclaw Skills environment permission to act on the user's behalf.
  3. Commands are issued to specific Google APIs (e.g., Sheets, Gmail) using a consistent syntax.
  4. The tool processes requests and returns data, often in JSON format, allowing for further transformation or logic execution.
  5. Environment variables like GOG_ACCOUNT are used to manage multiple identities across different automation tasks.

gog Google Workspace CLI Setup

To get started with this skill in your Openclaw Skills setup, follow these installation steps:

# Install gog using Homebrew
brew tap steipete/tap/gogcli
brew install gogcli

# Configure your OAuth credentials (requires client_secret.json from Google Cloud)
gog auth credentials /path/to/client_secret.json

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

# Verify the setup
gog auth list

gog Google Workspace CLI Data Schema & Taxonomy

The gog skill handles structured data from Google Workspace APIs, allowing Openclaw Skills to interact with various data types:

Service Data Handled Key Metadata
Gmail Search results, Email bodies Message ID, Thread ID, Labels
Sheets Row/Column values (A1 notation) Spreadsheet ID, Tab names, Row indices
Drive File metadata and queries File ID, MimeType, Owner details
Docs Text content and exports Document ID, Export formats (txt, pdf)
Calendar Event objects ISO timestamps, Calendar ID, Attendees

gog Google Workspace CLI Advanced Features

  • Support for GOG_ACCOUNT environment variables to simplify multi-tenant Openclaw Skills configurations.
  • Powerful JSON output mode (--json) designed for piping into secondary processing tools like jq.
  • Batch sheet updates using --values-json to minimize API overhead and improve performance.
  • Comprehensive document exporting capabilities, allowing Docs to be converted to plain text on the fly.
  • Granular service scoping during the authentication phase to maintain the principle of least privilege.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*