gogcli

michalvavra's avatarfrom michalvavra

CLI for Gmail, Calendar, Drive, Contacts, Tasks, Sheets.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 3, 2026

When & Why to Use This Skill

gogcli is a powerful Claude skill that provides a comprehensive command-line interface for Google Workspace. It enables seamless automation and management of Gmail, Calendar, Drive, Contacts, Tasks, and Sheets, allowing users to bridge the gap between AI-driven workflows and essential business productivity tools for enhanced efficiency.

Use Cases

  • Email Automation: Search for specific threads using advanced queries and send formatted emails directly through Gmail.
  • Schedule Management: Create, list, and organize Google Calendar events to streamline meeting coordination and time tracking.
  • Cloud File Operations: Search for documents, upload files to specific folders, and download assets from Google Drive via CLI commands.
  • Task & Contact Synchronization: Manage to-do lists in Google Tasks and quickly retrieve contact information for communication workflows.
  • Data Retrieval: Access and extract specific cell ranges from Google Sheets for automated reporting and data analysis.
namegogcli
descriptionCLI for Gmail, Calendar, Drive, Contacts, Tasks, Sheets.
compatibilityRequires gog CLI (github.com/steipete/gogcli). Set GOG_ACCOUNT=you@gmail.com or use --account flag.

gogcli

CLI for Google Workspace via steipete/gogcli.

Examples

gog gmail search 'newer_than:7d from:x@example.com'
gog gmail thread <threadId>
gog gmail send --to x@example.com --subject "Hi" --body "Text"

gog calendar events primary --from 2025-01-15T00:00:00Z --to 2025-01-16T00:00:00Z
gog calendar create primary --summary "Meeting" --from <RFC3339> --to <RFC3339>

gog drive search "quarterly report"
gog drive upload ./file.pdf --parent <folderId>
gog drive download <fileId> --out ./file.pdf

gog tasks list <tasklistId>
gog tasks add <tasklistId> --title "Task" --due <RFC3339>

gog contacts search "John"

gog sheets get <spreadsheetId> 'Sheet1!A1:B10'

Use --json for parseable output, --help on any command for options.


See references/examples.md for Gmail query syntax, batch operations, workflows.