Gog Advanced (Google Workspace CLI) for Openclaw

A high-reliability CLI tool for AI agents to interact with Google Workspace services like Gmail, Calendar, and Drive using JSON-first outputs.

lstpsche
v0.1.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-advanced

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-advanced 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 Advanced (Google Workspace CLI)?

Gog Advanced is a professional-grade integration designed for Openclaw Skills that leverages the gogcli utility to provide deep, programmatic access to the Google Workspace ecosystem. This skill is specifically architected for agent reliability, prioritizing JSON-based communication to ensure that AI agents can parse data with 100% accuracy.

By focusing on safety and visibility, Gog Advanced allows agents to manage complex workflows across Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It solves common agent failures by enforcing a list-before-act philosophy and requiring explicit confirmation for any destructive or outbound actions, making it a cornerstone for any automated workspace environment.

Gog Advanced (Google Workspace CLI) Use Cases

  • Aggregating daily agendas from multiple Google Calendars into a single view.
  • Searching for specific emails or documents using complex filters like 'newer_than' or keyword matching.
  • Automating the creation of calendar events while ensuring no overlaps occur across sub-calendars.
  • Appending data to Google Sheets or clearing specific ranges during data processing tasks.
  • Exporting Google Docs to plain text for ingestion by other AI models or processing pipelines.

How Gog Advanced (Google Workspace CLI) Works

  1. The AI agent receives a request involving Google Workspace and identifies the correct gogcli command.
  2. The skill executes a query (like calendar events or drive search) with the --json flag to receive structured data.
  3. For agenda-related tasks, the skill automatically searches across all user calendars by default to ensure no events are missed.
  4. If the task involves a write action (e.g., sending an email or updating a sheet), the agent summarizes the intended action and waits for user confirmation.
  5. Upon confirmation, the command is executed, and the resulting JSON status is parsed to provide a final report to the user.

Gog Advanced (Google Workspace CLI) Setup

Follow these steps to integrate gog-advanced into your environment:

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

# Provide your OAuth client credentials
gog auth credentials /path/to/client_secret.json

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

# Set your default account for the agent
export [email protected]

Gog Advanced (Google Workspace CLI) Data Schema & Taxonomy

Gog Advanced utilizes structured JSON outputs to maintain high signal-to-noise ratios. Below is the primary data organization:

Service Primary Command Primary Metadata
Calendar gog calendar Event IDs, localized start/end times, attendee status
Gmail gog gmail Thread IDs, snippets, sender metadata, date filters
Drive gog drive File IDs, mimeTypes, modified dates, owner info
Sheets gog sheets Range coordinates, nested value arrays, spreadsheet metadata
Docs gog docs Document structure, text content, export formats

Gog Advanced (Google Workspace CLI) Advanced Features

  • Multi-account support via the GOG_ACCOUNT environment variable for enterprise-grade Openclaw Skills deployments.
  • JSON-first architecture that eliminates the fragility of parsing human-readable tables.
  • Automatic 'all-calendar' scanning for comprehensive agenda awareness without needing specific calendar IDs.
  • Explicit intent confirmation prompts for all write, update, or delete operations to ensure data safety.
  • Advanced Gmail search syntax integration for power-user queries directly through the agent.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*