gog

Automate Google Workspace tasks via CLI commands for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/mpelissari/openclaw-backup --skill gog-mpelissari
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/mpelissari/openclaw-backup/tree/main/skills/gog
Command: npx skills add https://github.com/mpelissari/openclaw-backup --skill gog-mpelissari

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Google Workspace across Gmail, Calendar, Drive, Contacts, Sheets, and Docs from a single command line interface can be time-consuming and error-prone without automation.

Core Features & Use Cases

  • Unified CLI access to Gmail search and send, calendar events, Drive file searches, Contacts lists, Sheets retrieval and updates, and Docs export/cat operations.
  • Scriptable workflows: integrate common tasks into automation pipelines to save time and reduce manual steps.
  • Use Case: Quickly search emails, create calendar events, and fetch sheet data for weekly reporting from a terminal.

Quick Start

Authenticate once with gog and then run the Gmail, Calendar, Drive, Contacts, Sheets, or Docs commands from the terminal to manage your Workspace data.

Frequently Asked Questions about gog

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

FAQPage Schema
How do I manage Google Workspace apps from the CLI?

Google Workspace CLI automation works by exposing Gmail, Calendar, Drive, Contacts, Sheets, and Docs operations as explicit terminal commands. This scriptable access allows you to integrate routine tasks like searching mail and fetching sheet data into automated workflows without manual web interface interaction.

How do I search Gmail and fetch Google Sheets data from the terminal?

To search Gmail and fetch Google Sheets data from the terminal, you run specific commands like gog gmail search and gog sheets get. These operations retrieve mail and spreadsheet data directly in your terminal, enabling integration into automated reporting workflows.

Do I need OAuth setup to automate Google Calendar events and Drive file searches?

Yes, OAuth setup is required to automate Google Calendar events and Drive file searches. You must authenticate once to grant the CLI scriptable access to your Google Workspace data before executing commands like gog calendar events or gog drive search.

What is the best way to script Google Workspace tasks across multiple services?

The best way to script Google Workspace tasks across multiple services is using a unified CLI that supports Gmail, Calendar, Drive, Contacts, Sheets, and Docs operations. This approach reduces manual steps by integrating common tasks into terminal-based automation pipelines.

Can I export Google Docs and update Google Sheets from a command line interface?

Yes, you can export Google Docs and update Google Sheets from a command line interface. The CLI provides explicit operations like gog docs export and gog sheets updates, allowing you to manage document metadata and edit spreadsheet content within automated workflows.