gogcli

Automate Google Workspace tasks via command-line commands for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Google Workspace management is fragmented across Gmail, Calendar, Drive, and Docs. gogcli unifies these tasks into a single command-line interface, reducing context switching and manual repetitive actions.

Core Features & Use Cases

  • Gmail search, send, and batch actions
  • Calendar event management and retrieval
  • Drive file search and metadata operations
  • Docs/Sheets export and data retrieval

Quick Start

Authenticate with gog using your OAuth credentials and run a Gmail search for recent messages.

Frequently Asked Questions about gogcli

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 using gogcli, which unifies Gmail, Calendar, Drive, Contacts, Sheets, and Docs management into a single interface to reduce context switching and manual actions.

How do I set up Google Workspace CLI automation for non-interactive scripts?

Google Workspace CLI automation requires an initial OAuth setup to authenticate credentials, after which you can run scripted, non-interactive commands using flags and environment variables as described in the setup notes.

Can I search Gmail and manage Calendar events without leaving the terminal?

Yes, you can search Gmail and manage Calendar events directly from the terminal using gogcli commands designed for search, creation, and retrieval across Google Workspace services.

What is the best way to unify Gmail, Drive, and Docs management into one workflow?

The best way to unify Gmail, Drive, and Docs management is using gogcli, which consolidates fragmented Google Workspace tasks into a single command-line interface, eliminating the need to switch between separate web applications.

Does gogcli require OAuth credentials for Google Workspace automation?

Yes, gogcli requires OAuth credentials for Google Workspace automation, necessitating an initial setup process to authenticate your account before executing any terminal commands.

When should I not use a command-line interface for Google Workspace management?

You should not use a command-line interface for Google Workspace management if your workflow requires rich visual formatting, drag-and-drop file organization, or complex graphical document editing rather than scripted search, creation, and retrieval operations.