View, create, and manage Google Calendar events and check availability
assistant skills install google-calendarAll operations use a single CLI script that returns JSON:
{ "ok": true, "data": ... }{ "ok": false, "error": "..." }| Script | Subcommand | Description |
|---|---|---|
scripts/gcal.ts | list | List events within a date range |
scripts/gcal.ts | get | Get full details of a specific event |
scripts/gcal.ts | create | Create a new event (requires user confirmation) |
scripts/gcal.ts | availability | Check free/busy times across calendars |
scripts/gcal.ts | rsvp | Respond to an event invitation (accepted, declined, tentative) |
# List events in a date range
bun scripts/gcal.ts list --time-min "2024-01-15T00:00:00Z" --time-max "2024-01-22T00:00:00Z"
# Get full details of a specific event
bun scripts/gcal.ts get --event-id "abc123"
# Create a new event (gates on assistant ui confirm)
bun scripts/gcal.ts create --summary "Team Meeting" --start "2024-01-15T09:00:00-05:00" --end "2024-01-15T10:00:00-05:00" --timezone "America/New_York"
# Check availability for a day
bun scripts/gcal.ts availability --time-min "2024-01-15T00:00:00Z" --time-max "2024-01-15T23:59:59Z"
# RSVP to an event invitation
bun scripts/gcal.ts rsvp --event-id "abc123" --response accepted
assistant oauth status google. This checks whether the user's Google account is connected and the token is valid. Google Calendar shares the same OAuth connection as Gmail — if the user already connected Gmail, calendar access is included.vellum-oauth-integrations skill. The skill will evaluate whether managed or your-own mode is appropriate and guide the user accordingly.When the user wants to schedule something:
bun scripts/gcal.ts availability to find free slots.bun scripts/gcal.ts create.2024-01-15T09:00:00-05:00).2024-01-15).Create and RSVP are medium-risk operations:
create subcommand gates on assistant ui confirm — it presents a confirmation dialog to the user and only proceeds if approved. Pass --skip-confirm when the user has already given explicit confirmation in the conversation.rsvp subcommand gates on assistant ui confirm — it presents a confirmation dialog showing the event, current status, and new response. Pass --skip-confirm when the user has already given explicit confirmation in the conversation.Confidence scores for medium-risk operations:
When a calendar script fails with a token or authorization error:
assistant oauth ping google. This often resolves expired tokens automatically.vellum-oauth-integrations skill. The user came to you to get something done, not to troubleshoot - make it seamless.