gccli
Agent skill frombadlogic/pi-skills
Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability.
How to install gccli
install gccli
# install the pi-skills pack with the skills CLI
npx skills add badlogic/pi-skills# or add only this skill to Claude Code: copy the folder
gccli/
# into
~/.claude/skills/gccli/ (all projects)
.claude/skills/gccli/ (one project)
1# Google Calendar CLI23Command-line interface for Google Calendar operations.45## Installation67```bash8npm install -g @mariozechner/gccli9```1011## Setup1213### Google Cloud Console (one-time)14151. [Create a new project](https://console.cloud.google.com/projectcreate) (or select existing)162. [Enable the Google Calendar API](https://console.cloud.google.com/apis/api/calendar-json.googleapis.com)173. [Set app name](https://console.cloud.google.com/auth/branding) in OAuth branding184. [Add test users](https://console.cloud.google.com/auth/audience) (all Gmail addresses you want to use)195. [Create OAuth client](https://console.cloud.google.com/auth/clients):20 - Click "Create Client"21 - Application type: "Desktop app"22 - Download the JSON file2324### Configure gccli2526First check if already configured:27```bash28gccli accounts list29```3031If no accounts, guide the user through setup:321. Ask if they have a Google Cloud project with Calendar API enabled332. If not, walk them through the Google Cloud Console steps above343. Have them download the OAuth credentials JSON354. Run: `gccli accounts credentials ~/path/to/credentials.json`365. Run: `gccli accounts add <email>` (use `--manual` for browserless OAuth)3738## Usage3940Run `gccli --help` for full command reference.4142Common operations:43- `gccli <email> calendars` - List all calendars44- `gccli <email> events <calendarId> [--from <dt>] [--to <dt>]` - List events45- `gccli <email> event <calendarId> <eventId>` - Get event details46…
Excerpt shown under the repository's MIT license.
