gog

Manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs via command line.

2|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/papachong/RHClaw --skill gog-papachong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/papachong/RHClaw/tree/main/RHClaw-Desktop/src-tauri/skills/gog
Command: npx skills add https://github.com/papachong/RHClaw --skill gog-papachong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide a single command-line interface to manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs so users and automation scripts can perform searches, sends, exports, and updates without switching between web consoles.

Core Features & Use Cases

  • Gmail: Search and send messages programmatically to automate inbox workflows and notifications.
  • Calendar: List and create events within specified time ranges for scheduling automation.
  • Drive & Docs: Search files, export documents to text, and display document contents for archival or processing.
  • Contacts & Sheets: Query contacts and read or modify spreadsheet ranges with JSON-friendly operations.
  • Use Case: Automate a weekly report by exporting a document to text, updating a spreadsheet with processed data, and emailing a summary to stakeholders.

Quick Start

Authenticate gog with your Google OAuth credentials and perform a Gmail search for messages newer than 7 days and export the results as JSON.

Frequently Asked Questions about gog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Workspace tasks from the command line?

Automating Google Workspace tasks from the command line involves using a CLI tool to search, send, export, and update items across Gmail, Calendar, Drive, Contacts, Sheets, and Docs without web consoles.

Can I search Gmail and export messages as JSON for scripting?

Yes, you can search Gmail programmatically and export messages as JSON. This requires the gog binary, valid OAuth client credentials, and account authorization to integrate inbox workflows into automation scripts.

What do I need to set up command-line access to Google Calendar and Drive?

To access Google Calendar and Drive via command line, you need the gog binary, valid OAuth client credentials, account authorization, and network access to list events, search files, and export documents.

Does this command-line tool support modifying Google Sheets ranges?

Yes, the command-line tool supports modifying Google Sheets ranges. It provides JSON-friendly operations to read or modify spreadsheet ranges, enabling automation scripts to update processed data directly.

What is the best way to generate a weekly report using Google Docs and Sheets automation?

The best way to generate a weekly report is to automate the workflow by exporting a Google Docs document to text, updating a Google Sheets spreadsheet with processed data, and emailing a summary to stakeholders programmatically.