gogcliCommand-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Install via ClawdBot CLI:
clawdbot install luccast/gogcliname: gogcli
description: Google Workspace CLI for Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, Keep. Use when user asks to interact with Google services.
gogcli is a CLI tool for managing Google Workspace services from the terminal. Supports Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
brew install steipete/tap/gogcli
# 1. Clone repository
git clone https://github.com/steipete/gogcli.git
# 2. Navigate to directory
cd gogcli
# 3. Build
make
# 4. (Optional) Make available globally
sudo make install
Before using gogcli, set up OAuth credentials:
Step 1: Get OAuth Client Credentials
http://localhost:8085/callback~/Downloads/Step 2: Authorize Your Account
cd gogcli
./bin/gog auth add you@gmail.com ~/Downloads/client_secret_....json
Step 3: Verify
./bin/gog auth list
./bin/gog gmail search 'is:unread' --max 5
# Search
./bin/gog gmail search 'query' --max 20
# Send
./bin/gog gmail send 'recipient@gmail.com' --subject 'Hello' --body 'Message'
# Labels
./bin/gog gmail labels list
# List events
./bin/gog calendar events list --max 50
# Create event
./bin/gog calendar events create 'Meeting' --start '2026-01-30T10:00'
# List files
./bin/gog drive ls --query 'pdf' --max 20
# Upload file
./bin/gog drive upload ~/Documents/file.pdf
# List sheets
./bin/gog sheets list
# Export sheet
./bin/gog sheets export <spreadsheet-id> --format pdf
./bin/gog contacts search 'John Doe'
# List tasklists
./bin/gog tasks list
# Add task
./bin/gog tasks add --title 'Task' --due '2026-01-30'
--json flag for scripting~/.config/gog/gog auth list to check authentication statusGenerated Mar 1, 2026
A small business owner uses gogcli to automate email outreach and track responses via Gmail search. They can send bulk emails to leads and monitor unread replies, streamlining customer communication without manual inbox management.
A project manager leverages gogcli to create and list Calendar events for team meetings and deadlines. They can sync tasks from Google Tasks to ensure alignment across distributed teams, improving productivity and time management.
An educator uses gogcli to upload and organize Drive files for course materials and export Sheets as PDFs for distribution. This automates resource sharing with students, enhancing accessibility and reducing administrative overhead.
A freelancer employs gogcli to search Contacts for client details and add Tasks with due dates for project milestones. This helps manage client relationships and deadlines efficiently from a single terminal interface.
A non-profit organizer uses gogcli to schedule Calendar events for fundraisers and upload Drive files for promotional materials. They can also send Gmail updates to volunteers, coordinating efforts without switching between apps.
Offer gogcli as a free open-source tool with basic functionality, while charging for advanced features like batch processing, API rate limit increases, and priority support. Revenue comes from subscriptions targeting enterprises and power users.
Provide custom integration services to businesses needing tailored automation with Google Workspace. This includes setting up gogcli scripts, training teams, and ongoing maintenance, generating revenue through project-based fees and retainer agreements.
Develop a cloud-based SaaS platform that wraps gogcli with a user-friendly interface, adding analytics dashboards for email metrics and task completion rates. Monetize via tiered pricing based on usage volume and feature access.
💬 Integration Tip
Ensure OAuth credentials are securely stored and regularly updated; use the --json flag for scripting to automate workflows with external tools like cron jobs or CI/CD pipelines.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.
Command-line JSON processor. Extract, filter, transform JSON.