gog

Manage Google Workspace resources via the gog command-line interface.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/drshailesh88/Krypto --skill gog-drshailesh88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog
Source: https://github.com/drshailesh88/Krypto/tree/main/skills/gog
Command: npx skills add https://github.com/drshailesh88/Krypto --skill gog-drshailesh88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers and operators to manage Google Workspace resources (Gmail, Calendar, Drive, Contacts, Sheets, and Docs) directly from the command line, reducing context switching and accelerating automation.

Core Features & Use Cases

  • Gmail: search, compose, and manage messages from scripts.
  • Calendar & Drive: create events, search files, and update docs without leaving the terminal.
  • Documents: access and manipulate Sheets/Docs programmatically for quick data workflows.
  • Use Case: automate onboarding tasks by provisioning calendar invites, sharing files, and sending welcome emails through a single CLI tool.

Quick Start

Install gog, authenticate with your Google account, then run a basic query such as gog gmail search 'newer_than:7d' --max 5 to verify setup.

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

You can manage Google Workspace resources from the command line using the gog CLI. It supports Gmail, Calendar, Drive, Contacts, Sheets, and Docs for automation workflows, scripting tasks, and data operations without leaving the terminal.

How do I automate sending welcome emails and sharing Drive files for onboarding?

Automate onboarding by using the gog CLI to provision calendar invites, share Drive files, and send welcome emails. This tool executes these tasks directly from scripts to accelerate automation and reduce context switching.

How can I search recent Gmail messages using a terminal command?

Search recent Gmail messages using a terminal command by running `gog gmail search 'newer_than:7d' --max 5`. This CLI queries your inbox directly, returning results without opening a web browser.

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

Yes, you need Google OAuth credentials to use the gog CLI for Google Workspace automation. You must install the tool via a package manager like Homebrew and authenticate with your Google account before executing commands.

What is the best way to programmatically manipulate Google Sheets and Docs for data workflows?

The best way to programmatically manipulate Google Sheets and Docs for data workflows is using the gog CLI. It allows you to access, search, and update documents directly from terminal scripts for quick data operations.