gog

Manage Google Workspace components via the gog CLI with OAuth authentication.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/PotLock/foxfang --skill gog-potlock
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/PotLock/foxfang/tree/main/skills/gog
Command: npx skills add https://github.com/PotLock/foxfang --skill gog-potlock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gog streamlines the management of Google Workspace services from the command line, reducing context switching and enabling automation for routine admin tasks across Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Core Features & Use Cases

  • Unified Workspace CLI: manage Gmail, Calendar, Drive, Contacts, Sheets, and Docs from a single tool.
  • OAuth-based authentication: secure setup for accessing Google services without exposing credentials.
  • Automation-ready commands: search emails, create calendar events, manage Drive files, export Docs, and more in scripts.
  • Use Case: Automate daily reporting by pulling data from Sheets, sending summaries via Gmail, and archiving documents in Drive.

Quick Start

Authenticate with Google using gog auth credentials and start using gog to manage Gmail, Calendar, Drive, and more.

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

You can manage Google Workspace components from the command line by using a CLI tool that supports programmatic control of Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It requires OAuth setup to authenticate securely before executing automation-ready commands.

Can I automate Google Drive file operations and Gmail searches in scripts?▼

Yes, you can automate Google Drive file operations and Gmail searches in scripts. The CLI supports automation-friendly commands for common workflows, allowing developers to programmatically search emails, manage Drive files, and export Docs without manual intervention.

What is the best way to automate daily reporting using Google Sheets, Gmail, and Drive?▼

The best way to automate daily reporting is using a unified CLI to pull data from Sheets, send summaries via Gmail, and archive documents in Drive. This reduces context switching and enables automated workflows across Google Workspace services.

Do I need OAuth credentials to control Google Workspace services via a CLI?▼

Yes, you need OAuth credentials to control Google Workspace services via a CLI. OAuth-based authentication provides a secure setup for accessing Google services without exposing your credentials, requiring initial setup before executing commands.

Does the gog CLI support exporting Google Docs and managing Contacts?▼

Yes, the gog CLI supports exporting Google Docs and managing Contacts. It provides a unified interface to handle Docs exports and Contacts operations alongside Gmail, Calendar, Drive, and Sheets management from the command line.

What are the limitations of using a CLI for Google Workspace automation?▼

Limitations of using a CLI for Google Workspace automation include the prerequisite of OAuth setup and dependency on command-line proficiency. It is designed for developers and operators, making it less suitable for non-technical users seeking a graphical interface.