Manage Google Calendar from the command line with gccli — list calendars, view, create, and update events, and check free/busy availability across accounts via OAuth.
---
name: gccli
description: Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability. Use to inspect or modify a Google Calendar from the shell.
---
Drives Google Calendar through the `gccli` command-line tool.
## How to use
1. Install with `npm install -g @mariozechner/gccli`.
2. First-time setup: create a Google Cloud project, enable the Calendar API, create a Desktop OAuth client, then run `gccli accounts credentials <creds.json>` and `gccli accounts add <email>` (check `gccli accounts list` first).
3. Common operations: `gccli <email> calendars` to list; `gccli <email> events <calendarId> --from <dt> --to <dt>` to read; `gccli <email> create <calendarId> --summary <s> --start <dt> --end <dt>` to add; `gccli <email> freebusy <ids> --from --to` to check availability.
4. Use `primary` as the main calendar ID; timed events use ISO datetimes, all-day events use `YYYY-MM-DD` with `--all-day`.
Full skill & source: https://github.com/badlogic/pi-skills/tree/90bb51cae36515a648515b633a81c0c6efc8c74d/gccliSign in to rate and review this skill.
No reviews yet. Be the first to review this skill.