gogcli for Openclaw

A comprehensive command-line interface for managing Google Workspace services including Gmail, Drive, and Calendar directly from your terminal.

luccast
v1.0.0
Jan 26, 2026
6
11.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gogcli

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

gogcli is a robust terminal-based tool designed to streamline interactions with the entire Google Workspace ecosystem. This skill allows users to execute complex operations across Gmail, Google Drive, Calendar, Sheets, and more without ever leaving the command line. By integrating this into Openclaw Skills, developers and power users can automate workflows, search documents, and manage communications with high efficiency and precision, bridging the gap between local terminal environments and cloud productivity tools.

gogcli Use Cases

  • Searching for specific emails or unread messages via terminal.
  • Automating the creation of calendar events and meetings.
  • Uploading and organizing files within Google Drive through automation scripts.
  • Exporting Google Sheets to PDF format for automated reporting.
  • Managing tasks and contact lists for improved project tracking and synchronization.

How gogcli Works

  1. The user initializes the environment and authenticates the skill using OAuth 2.0 credentials via the Google Cloud Console.
  2. Commands are issued via the terminal using the gog binary followed by specific service commands for Gmail, Drive, or Calendar.
  3. The tool communicates securely with Google Workspace APIs to perform requested actions like listing, creating, or exporting resources.
  4. Output is generated in either human-readable format or structured JSON for further processing within Openclaw Skills pipelines.

gogcli Setup

Install via Homebrew:

brew install steipete/tap/gogcli

Or build from source:

git clone https://github.com/steipete/gogcli.git
cd gogcli
make
sudo make install

Configure OAuth Credentials:

  1. Create a project in the Google Cloud Console and enable the required APIs.
  2. Set up an OAuth 2.0 client as a Desktop app and download the JSON credentials file.
  3. Authorize your account by running:
./bin/gog auth add [email protected] ~/Downloads/client_secret.json

gogcli Data Schema & Taxonomy

Component Location / Format Description
Configuration ~/.config/gog/ Stores OAuth tokens and user-specific settings.
Structured Output JSON Accessible via the --json flag for scripting and integration.
Credentials JSON Client secret file obtained from Google Cloud for API access.

gogcli Advanced Features

  • Full JSON output mode for seamless integration with external automation and Openclaw Skills workflows.
  • Multi-account management through a centralized authentication list system.
  • Extensive support for secondary services including Google Keep, Contacts, and Tasks.
  • Direct export capabilities for Google Sheets, allowing conversion to PDF and other formats via CLI.
  • Advanced query-based filtering for finding specific data within Gmail and Google Drive.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*