Google Suite CLI (gogcli)
БесплатноБез исполняемых скриптовНе проверенCLI for Gmail, Calendar, Chat, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Keep, and Admin. Use when an agent needs to interact with any Google…
от composio-community★ 224 звезды на GitHubОб этом скилле
gogcli — Google in your terminal
Fast, script-friendly CLI for Gmail, Calendar, Chat, Classroom, Drive, Docs, Slides, Sheets, Forms, Apps Script, Contacts, Tasks, People, Admin, Groups, and Keep.
- Repo: https://github.com/steipete/gogcli
- Author: @steipete
Installation
brew install gogcli
Or build from source:
git clone https://github.com/steipete/gogcli.git
cd gogcli && make
Authentication
Requires OAuth2 credentials from Google Cloud Console:
# Store OAuth client credentials (one-time)
gog auth credentials ~/Downloads/client_secret_....json
# Authorize an account
gog auth add [email protected]
# Set default account
export [email protected]
# Verify
gog gmail labels list
For headless/CI environments, use --manual or --remote auth flows, or pass --access-token directly.
Key Commands
Gmail
gog gmail search "from:boss subject:urgent"
gog gmail search "is:unread" --max 10 --json
gog gmail send --to [email protected] --subject "Hello" --body "Message body"
gog gmail send --to [email protected] --subject "Report" --attach report.pdf
gog gmail labels list
gog gmail drafts list
Calendar
gog calendar list # today's events
gog calendar list --days 7 --json # next 7 days, JSON output
gog calendar create --title "Meeting" --start "2025-01-15T10:00:00" --duration 1h
gog calendar delete <eventId>
gog calendar freebusy --emails "[email protected],[email protected]" --days 3
Drive
gog drive list
gog drive search "quarterly report"
gog drive upload ./file.pdf
gog drive download <fileId>
gog drive share <fileId> --email [email protected] --role writer
Contacts
gog contacts search "John"
gog contacts create --name "Jane Doe" --email [email protected] --phone "+1234567890"
gog contacts update <resourceName> --title "CTO" --company "Acme"
Sheets
gog sheets read <spreadsheetId> --range "Sheet1!A1:D10" --json
gog sheets write <spreadsheetId> --range "Sheet1!A1" --values '[["Name","Score"],["Alice",95]]'
gog sheets create --title "New Sheet"
Tasks
gog tasks list
gog tasks add "Buy groceries" --due "2025-01-20"
gog tasks done <taskId>
Chat (Workspace only)
gog chat spaces list
gog chat send --space <spaceId> --message "Hello team"
Docs & Slides
gog docs create --title "Meeting Notes"
gog docs export <docId> --format markdown
gog slides create --title "Q4 Presentation"
Output Modes
- Default: human-readable text
--json: structured JSON output for scripting/agentsGOG_HELP=full gog --help: full expanded command list
Multiple Accounts
gog auth add [email protected]
gog auth add [email protected]
gog --account [email protected] gmail search "project update"
Agent-Friendly Features
- JSON output with
--jsonflag on all commands - Command allowlist via
GOG_ALLOWED_COMMANDSfor sandboxed/agent runs - Non-interactive auth flows (
--manual,--remote,--access-token) - Auto-refreshing OAuth tokens
- Structured exit codes
Установить Google Suite CLI (gogcli) в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Google Suite CLI (gogcli)?
CLI for Gmail, Calendar, Chat, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Keep, and Admin. Use when an agent needs to interact with any Google Workspace service — send emails, manage calendar events, search Drive, read/write spreadsheets, or manage contacts.
Как установить скилл Google Suite CLI (gogcli)?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Google Suite CLI (gogcli) запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic