gog

Automate Google Workspace management via the gog CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage Google Workspace resources (Gmail, Calendar, Drive, Contacts, Sheets, Docs) from the command line to automate repetitive admin and developer tasks.

Core Features & Use Cases

  • Gmail: search, compose, and send messages programmatically.
  • Calendar & Drive: create and update events and files in bulk via scripts.
  • Docs, Sheets, Contacts: access and modify docs and spreadsheets through CLI commands in automation pipelines.
  • Use Case: batch audit user mailboxes, generate reports, and orchestrate workspace workflows.

Quick Start

Install gog and authenticate with OAuth, then run a sample command to list Gmail messages.

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?

You can automate Google Workspace tasks from the command line by using a CLI tool to script Gmail message searches, Calendar event creation, and Drive file updates in bulk. This approach applies OAuth credentials to perform authenticated operations within automation pipelines.

Can I search and send Gmail messages programmatically without logging into the web interface?

Yes, you can search and send Gmail messages programmatically by executing CLI commands that handle message composition and retrieval. This requires OAuth credentials to authenticate the operations and access user mailboxes for batch auditing or automated workflows.

What do I need to set up before managing Google Calendar and Drive via a CLI?

Before managing Google Calendar and Drive via a CLI, you need to set up OAuth credentials and install the gog CLI. Once authenticated, you can run commands to create and update events and files in bulk through scripts.

What is the best way to batch audit user mailboxes and generate reports in Google Workspace?

The best way to batch audit user mailboxes and generate reports in Google Workspace is to orchestrate workflows through a command line interface. This allows administrators to programmatically retrieve data, access spreadsheets, and modify docs within automation pipelines.

Does this Google Workspace CLI approach work for managing Docs, Sheets, and Contacts?

Yes, this Google Workspace CLI approach works for managing Docs, Sheets, and Contacts by executing CLI commands within automation pipelines. Users can access and modify docs and spreadsheets programmatically alongside Gmail, Calendar, and Drive management tasks.

Why use a command line tool instead of the standard Google Workspace web interface for admin tasks?

Using a command line tool for Google Workspace admin tasks solves the problem of repetitive manual work by allowing you to automate workflows and data retrieval. It enables developers to orchestrate workspace tasks, batch audit resources, and generate reports via scripts.