gog

Manage Google Workspace services and user data from the command line.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many workflows require quick, scriptable access to Gmail, Calendar, Drive, Contacts, Sheets, and Docs without navigating multiple web UIs; gog centralizes those operations into a single CLI so users can search, send, schedule, export, and batch-edit workspace data reliably from scripts and shells.

Core Features & Use Cases

  • Gmail: Search threads and messages, send messages, create and send drafts, and reply to specific messages for automation and inbox triage.
  • Calendar: List, create, and update events with support for colors and ISO date ranges to automate scheduling tasks.
  • Drive & Docs: Search Drive, export and cat Docs, and manage file metadata for backups or content extraction.
  • Contacts & Sheets: List contacts and get, update, append, clear, or export spreadsheet ranges with JSON-friendly input and output for integration into pipelines.
  • Scripting & Automation: Designed for non-interactive use with JSON output, stdin/body-file support, and environment variables to avoid repeating account flags.

Quick Start

Use the gog skill to authenticate a Google account and then run a Gmail search, create or update a calendar event, or export a Docs file as part of a scripted workflow.

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 services like Gmail and Calendar from the command line?

You can manage Google Workspace from the command line by using a CLI tool that operates on Gmail, Calendar, Drive, Contacts, Sheets, and Docs to search, send, schedule, and export data via non-interactive JSON output.

Can I automate Gmail inbox triage and sending emails via a shell script?

Yes, you can automate Gmail inbox triage and sending emails via a shell script by using CLI commands to search threads, send messages, create drafts, and reply to specific messages with JSON-friendly input and output.

What do I need to script Google Sheets and Docs operations non-interactively?

To script Google Sheets and Docs operations non-interactively, you need a locally installed CLI, OAuth credentials configured for the target account, and support for scripting flags, stdin, and JSON output for pipeline integration.

Does this approach work for batch-updating spreadsheet ranges and exporting Drive files?

Yes, this approach works for batch-updating spreadsheet ranges and exporting Drive files by querying and managing file metadata, allowing you to get, update, append, clear, or export spreadsheet ranges and cat Docs directly.

What is the best way to centralize Google Workspace automation without navigating multiple web UIs?

The best way to centralize Google Workspace automation without navigating multiple web UIs is using a single CLI that handles email, scheduling, and file operations reliably from scripts, shells, and automated pipelines.

Why does the Google Workspace CLI require OAuth credentials for scripting?

The Google Workspace CLI requires OAuth credentials for scripting to securely authenticate the target account and grant the necessary permissions to operate on Gmail, Calendar, Drive, Contacts, Sheets, and Docs data.