Claude Skill
openclaw/gogcli
gogcli is a Go-based CLI that brings Google Workspace services—Gmail, Google Calendar, Google Drive, and Google Contacts—to your terminal for efficient, scriptable management.
Overview
Repository
Install this Skill
docker run --rm ghcr.io/openclaw/gogcli:latest versionRegistry
docker run --rm ghcr.io/openclaw/gogcli:latest versiondocker run --rm -it \git clone https://github.com/openclaw/gogcli.git
Summary
gogcli is a Go-based command-line tool that brings Google Workspace services—Gmail, Google Calendar, Google Drive, and Google Contacts—directly to your terminal for efficient, scriptable management.
Google Suite 命令行工具:Gmail、GCal、GDrive、GContacts。
Key features
- Manage Gmail from terminal
- Access Google Calendar events
- Interact with Google Drive files
- Handle Google Contacts
- Lightweight Go-based CLI
Use cases
- Automate email workflows
- Schedule and view calendar events
- Sync and manage cloud files
- Batch update contacts
README excerpt
# gogcli  `gog` is a script-friendly Google CLI for Gmail, Calendar, Drive, Docs, Sheets, Sites, Slides, Forms, Meet, Apps Script, Analytics, Search Console, Contacts, Tasks, People, Classroom, Chat, YouTube, and Workspace admin flows. It is built for terminals, shell scripts, CI, and coding agents: - predictable `--json` and `--plain` output on stdout - human hints and progress on stderr - multiple Google accounts and OAuth clients - OAuth, direct access tokens, ADC, and Workspace service accounts - runtime command allowlists/denylists and baked safety-profile binaries - read-only audit/reporting commands for risky surfaces like Drive and Contacts - [generated docs](docs/commands/README.md) for every command Rendered docs: <https://gogcli.sh/> Start here: - [Install](docs/install.md) - [Quickstart](docs/quickstart.md) - [Auth clients and service accounts](docs/auth-clients.md) - [Command index](docs/commands/README.md) - [Gmail watch / Pub/Sub push](docs/watch.md) (<https://gogcli.sh/watch.html>) ## Install See the full [Install](docs/install.md) guide for Homebrew, Docker, Windows ZIPs, source builds, and headless/container keyring setup. ### Homebrew ```bash brew install openclaw/tap/gogcli gog --version ``` ### Docker ```bash docker run --rm ghcr.io/openclaw/gogcli:latest version ``` Authenticated container runs should use a persistent config volume and the encrypted file keyring: ```bash docker volume create gogcli-config docker run --rm -it \ -e GOG_KEYRING_BACKEND=file \ -e GOG_KEYRING_PASSWORD \ -v gogcli-config:/home/gog/.config/gogcli \ ghcr.io/openclaw/gogcli:latest \ auth add you@gmail.com --services gmail,calendar,drive ``` ### Windows Download `gogcli_<version>_windows_amd64.zip` or