gog

Automate Google Workspace tasks via terminal commands with OAuth.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/gaos6e/MyOpenclaw --skill gog-gaos6e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/gaos6e/MyOpenclaw/tree/main/workspace/skills/gog
Command: npx skills add https://github.com/gaos6e/MyOpenclaw --skill gog-gaos6e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Google Workspace tasks can be tedious to manage across Gmail, Calendar, Drive, Contacts, Sheets, and Docs; gog lets you perform common actions from the terminal, reducing context switching and enabling reproducible workflows.

Core Features & Use Cases

  • Gmail: search, send, and manage messages from the CLI.
  • Calendar: create, list, and query events for planning and scheduling.
  • Drive: search and manage files and folders programmatically.
  • Contacts, Sheets, Docs: basic create/read/update/delete operations to automate data workflows.
  • Use Case: batch export user data or run routine audits across Workspace resources.

Quick Start

Authenticate with gog once, then start managing Gmail, Calendar, Drive, and Docs 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 tasks like Gmail and Calendar from the command line?

You can automate Google Workspace tasks from the command line by running structured CLI commands for Gmail, Calendar, Drive, Contacts, Sheets, and Docs after completing a one-time OAuth setup. This enables scriptable workflows and batch processing directly in your terminal.

Can I batch process emails and manage Drive files programmatically without switching browser tabs?

Yes, you can batch process emails and manage Drive files programmatically to reduce context switching. The tool supports searching, sending, and managing Gmail messages, alongside searching and managing Drive files and folders directly from your terminal.

What do I need to set up before managing Google Workspace resources from the terminal?

Before managing Google Workspace resources from the terminal, you need to complete an OAuth setup to grant access. Once authenticated, you can run structured commands to query and manage data across your Workspace environment.

Is there a way to script routine audits across Google Sheets and Docs data?

Yes, you can script routine audits across Google Sheets and Docs data by executing basic create, read, update, and delete operations from the command line. This allows you to automate data workflows and batch export user data reproducibly.

Does this command line approach for Google Workspace suit IT admins and developers?

Yes, this command line approach is specifically designed for developers, IT admins, and power users who need centralized control over Workspace data. It provides scriptable workflows for automating routine tasks like scheduling Calendar events or managing Contacts.

Why use a CLI tool for Google Workspace instead of manual web app management?

Using a CLI tool for Google Workspace eliminates tedious manual management across multiple web apps, enabling reproducible workflows. It centralizes control over Gmail, Calendar, Drive, Contacts, Sheets, and Docs for efficient, scriptable batch processing.