{"skill":{"slug":"gogcli","displayName":"gogcli - Google Workspace CLI","summary":"Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.","description":"---\nname: gogcli\ndescription: Google Workspace CLI for Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, Keep. Use when user asks to interact with Google services.\n\n# gogcli - Google Workspace CLI\n\n## Overview\n\ngogcli 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.\n\n## Installation\n\n### Quick Install (if you have brew):\n```bash\nbrew install steipete/tap/gogcli\n```\n\n### Build from Source (no brew):\n```bash\n# 1. Clone repository\ngit clone https://github.com/steipete/gogcli.git\n\n# 2. Navigate to directory\ncd gogcli\n\n# 3. Build\nmake\n\n# 4. (Optional) Make available globally\nsudo make install\n```\n\n## First Time Setup\n\nBefore using gogcli, set up OAuth credentials:\n\n**Step 1: Get OAuth Client Credentials**\n1. Go to Google Cloud Console APIs & Services\n2. Create project or use existing one\n3. Go to OAuth consent screen\n4. Create OAuth 2.0 client with these settings:\n   - Application type: \"Desktop app\"\n   - Name: \"gogcli for Clawdbot\"\n   - Authorized redirect URIs: `http://localhost:8085/callback`\n5. Enable APIs you need\n6. Download OAuth client credentials JSON file\n7. Copy to `~/Downloads/`\n\n**Step 2: Authorize Your Account**\n```bash\ncd gogcli\n./bin/gog auth add you@gmail.com ~/Downloads/client_secret_....json\n```\n\n**Step 3: Verify**\n```bash\n./bin/gog auth list\n./bin/gog gmail search 'is:unread' --max 5\n```\n\n## Common Commands\n\n### Gmail\n```bash\n# Search\n./bin/gog gmail search 'query' --max 20\n\n# Send\n./bin/gog gmail send 'recipient@gmail.com' --subject 'Hello' --body 'Message'\n\n# Labels\n./bin/gog gmail labels list\n```\n\n### Calendar\n```bash\n# List events\n./bin/gog calendar events list --max 50\n\n# Create event\n./bin/gog calendar events create 'Meeting' --start '2026-01-30T10:00'\n```\n\n### Drive\n```bash\n# List files\n./bin/gog drive ls --query 'pdf' --max 20\n\n# Upload file\n./bin/gog drive upload ~/Documents/file.pdf\n```\n\n### Sheets\n```bash\n# List sheets\n./bin/gog sheets list\n\n# Export sheet\n./bin/gog sheets export <spreadsheet-id> --format pdf\n```\n\n### Contacts\n```bash\n./bin/gog contacts search 'John Doe'\n```\n\n### Tasks\n```bash\n# List tasklists\n./bin/gog tasks list\n\n# Add task\n./bin/gog tasks add --title 'Task' --due '2026-01-30'\n```\n\n## Notes\n\n- Use `--json` flag for scripting\n- Credentials stored in `~/.config/gog/`\n- Use `gog auth list` to check authentication status\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":10253,"installsAllTime":103,"installsCurrent":102,"stars":6,"versions":1},"createdAt":1769362342566,"updatedAt":1778987079947},"latestVersion":{"version":"1.0.0","createdAt":1769362342566,"changelog":"Clean version without hardcoded credentials. Supports Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, Keep.","license":null},"metadata":null,"owner":{"handle":"luccast","userId":"s1741av0phcmp4qts6zycqr6dd885ne5","displayName":"luccasveg","image":"https://avatars.githubusercontent.com/u/2213102?v=4"},"moderation":null}