gog

Run OAuth-enabled Google Workspace command-line actions for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill gog-balic-ai-ml-r-d-resources
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents/tree/main/packages/skills/skills/gog
Command: npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill gog-balic-ai-ml-r-d-resources

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gmail, Calendar, Drive, Contacts, Sheets, and Docs tasks can be tedious to manage manually; Gog provides a command-line interface to automate common Google Workspace actions.

Core Features & Use Cases

  • Gmail search and send, calendar event creation/listing, Drive file search, contacts lookup, Sheets get/update/append, and Docs export/cat.
  • Use case: automate daily inbox checks, meeting scheduling, and data retrieval from Sheets directly from the terminal.

Quick Start

Authorize gog with your Google account and run a sample command like gog gmail search 'in:inbox'.

Frequently Asked Questions about gog

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

FAQPage Schema
How do I manage Gmail, Calendar, and Google Drive from the command line?

Gog is a Google Workspace CLI that enables OAuth-enabled terminal actions for Gmail search and send, Calendar event creation, Drive file search, Contacts lookup, Sheets operations, and Docs export.

What do I need to configure before using OAuth for Google Workspace CLI automation?

You need an installed gog binary and OAuth credentials configured via the gog auth command. Service scopes must be set for Gmail, Calendar, Drive, Contacts, Docs, and Sheets to authorize the CLI actions.

Can I append and update data in Google Sheets directly from the terminal?

Yes, you can get, update, and append data in Google Sheets directly from the terminal. The CLI supports these actions alongside exporting and viewing Docs content once OAuth credentials are configured.

What is the best way to automate daily inbox checks and meeting scheduling without a GUI?

Automating daily inbox checks and meeting scheduling without a GUI is best done via a command-line interface. Gog enables Gmail search and Calendar event creation directly from the terminal to streamline these workflows.

Does the Google Workspace CLI support exporting Google Docs to the terminal?

Yes, the Google Workspace CLI supports exporting and viewing Google Docs content directly in the terminal. It uses the export and cat commands to output document text once OAuth authentication is complete.

Why does my Google Workspace CLI command fail to search Gmail or list Calendar events?

Google Workspace CLI commands fail to search Gmail or list Calendar events when OAuth service scopes are missing or unauthorized. You must configure credentials with gog auth and enable the required scopes for each service.