gog

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

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Jnuso/OpenClaw --skill gog-jnuso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/Jnuso/OpenClaw/tree/main/skills/gog
Command: npx skills add https://github.com/Jnuso/OpenClaw --skill gog-jnuso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Google Workspace CLI enables programmatic management of Gmail, Calendar, Drive, Contacts, Sheets, and Docs from the command line, reducing context switching and speeding workflows.

Core Features & Use Cases

  • Gmail: search, send, drafts, and replies from scripts or terminals.
  • Calendar and Drive: list events, create events, manage files, and schedule tasks.
  • Docs/Sheets: export and read documents programmatically for automation and reporting.

Quick Start

Install gog, authenticate with your Google account, and run your first workspace operation from the terminal.

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 administration from the command line?

Automating Google Workspace from the command line requires a local gog installation and OAuth credentials to handle authentication, allowing you to script bulk operations across personal or team accounts.

Can I send and manage Gmail messages directly from a terminal?

Yes, you can manage Gmail directly from a terminal by executing CLI commands to search, send, draft, and reply to emails, reducing context switching and speeding up workflows.

Do I need OAuth credentials to use a Google Workspace CLI?

Yes, OAuth credentials are required to authenticate with your Google account, handle permissions, and allow the local gog installation to securely interact with Workspace APIs.

What is the best way to programmatically export Google Docs and Sheets?

The best way to programmatically export Google Docs and Sheets is using a CLI tool like gog, which reads and exports documents directly from the terminal to support automation and reporting tasks.

Can I manage Google Calendar events using shell scripts?

Yes, you can manage Google Calendar events using shell scripts by calling the gog CLI to list events, create new events, and schedule tasks programmatically without manual web interface interaction.

Does the gog CLI support bulk file operations across team Drive accounts?

Yes, the gog CLI supports bulk file operations and scripting across team Drive accounts by handling OAuth authentication and API interactions to manage files programmatically from the terminal.