oc-gog

Interact with Google Workspace services via a command-line interface.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ollieb89/openrepo --skill oc-gog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oc-gog
Source: https://github.com/ollieb89/openrepo/tree/main/skills/oc-gog
Command: npx skills add https://github.com/ollieb89/openrepo --skill oc-gog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to interact with various Google Workspace services, streamlining tasks related to email, calendar, drive, and document management directly from your terminal.

Core Features & Use Cases

  • Gmail Management: Search, send, and manage emails efficiently.
  • Calendar Operations: View and manage calendar events.
  • Drive Integration: Search and retrieve files from Google Drive.
  • Document Handling: Export and view Google Docs.
  • Use Case: Quickly search your Gmail for emails from a specific sender, then draft and send a reply, all without leaving your command line.

Quick Start

Use gog to search your Gmail for emails sent in the last 7 days.

Frequently Asked Questions about oc-gog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Google Workspace services from the command line?

You can manage Google Workspace services from the command line by using a CLI tool to interact with Gmail, Calendar, Drive, Contacts, Sheets, and Docs. It facilitates searching emails, sending messages, managing events, and exporting documents directly from your terminal.

Do I need OAuth setup to use a Google Workspace CLI for automation?

Yes, you need OAuth setup for authentication to use a Google Workspace CLI for automation. This authentication process is required to securely access your Gmail, Calendar, and Drive data and perform scripting tasks.

Can I search Gmail and send messages without leaving the terminal?

Yes, you can search Gmail and send messages without leaving the terminal. The CLI allows you to efficiently search your emails for specific senders and draft and send replies directly through command-line commands.

Does the Google Workspace CLI support JSON output for scripting?

Yes, the Google Workspace CLI supports JSON output for scripting. This allows you to easily parse and integrate the results of your Gmail searches, Calendar events, and Drive file queries into other automated workflows.

What is the best way to export Google Docs via a command line interface?

The best way to export Google Docs via a command line interface is using a Google Workspace CLI that handles document management. It allows you to directly view and export your documents from Drive without needing a graphical interface.