gog

Automate Google Workspace tasks via CLI across Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

1|1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/kelinfoxy/EZ-Homelab --skill gog-kelinfoxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/kelinfoxy/EZ-Homelab/tree/main/docker-compose/ez-assistant/skills/gog
Command: npx skills add https://github.com/kelinfoxy/EZ-Homelab --skill gog-kelinfoxy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Google Workspace tasks across Gmail, Calendar, Drive, Contacts, Sheets, and Docs from the command line is repetitive and error-prone; gog offers a cohesive CLI to perform common operations in a scriptable way.

Core Features & Use Cases

  • Gmail: search messages, send emails, and draft messages from scripts.
  • Calendar: list and create events across multiple calendars.
  • Drive: query files, metadata, and manage documents programmatically.
  • Docs/Sheets/Contacts: export data, retrieve information, and automate updates.
  • Use Case: automate weekly status reports by aggregating emails, scheduling events, and exporting docs.

Quick Start

Authenticate once using OAuth, then run gog commands to start automating Google Workspace tasks 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 search and Calendar event creation from the command line?

You can automate Google Workspace tasks from the command line by using a CLI tool that executes operations like Gmail searches and Calendar event creation scriptably. It requires an initial OAuth authentication setup to interact with Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

What is the best way to manage Google Drive files and export Google Docs programmatically?

The best way to manage Drive files and export Docs programmatically is using a command line interface designed for Google Workspace. It allows you to query file metadata, manage documents, retrieve docs, and automate updates across your Workspace environment.

Do I need OAuth setup to control Google Workspace features from my terminal?

Yes, OAuth setup is required to control Google Workspace features from your terminal. You must authenticate once using OAuth to establish programmatic access before running commands for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Can I script Google Calendar scheduling and Gmail email sending together for weekly reports?

Yes, you can script Google Calendar scheduling and Gmail email sending together for weekly reports. A CLI tool enables you to aggregate emails, schedule events, and export docs from the terminal to automate these multi-step workflows.

Does command line access to Google Workspace support searching mail and listing calendar events across multiple calendars?

Command line access to Google Workspace supports searching mail and listing calendar events across multiple calendars. It provides scriptable commands to search Gmail messages, list events, create new ones, and manage files across your Workspace domain.

What are the limitations of managing Google Workspace from the terminal?

Managing Google Workspace from the terminal requires the gog CLI installed and active OAuth credentials. It is limited to programmatic operations like searching mail, creating events, and querying files, rather than providing the full graphical interface of native Workspace apps.