SKILL FILE

Google Calendar API Integration with AI

Integrate Google Calendar API for scheduling, availability checks, and automated meeting creation.

Download Skill File ↓

What this skill file teaches Claude

Drop one markdown file into your repo. Claude Code learns how to run this entire workflow.

1

OAuth flow handler

Three-leg OAuth, secure token storage in env vars or DB, automatic refresh.

2

Read availability

Free/busy query for any time range. Used by the booking skill.

3

Create events

Programmatically create calendar events with attendees, location, conference link, reminders.

4

Update + cancel events

Update event details (time, attendees, notes) or cancel cleanly with attendee notifications.

5

Webhook subscriptions

Subscribe to calendar changes — get notified when an event is created / updated / cancelled externally.

6

Multi-calendar support

Read or write to specific calendars (work + personal + shared) by ID.

What you can build with this

Power the booking skill

google-calendar-booking depends on this — sets up the read/write layer.

Meeting bot integration

A meeting bot that auto-joins calls needs to read the calendar for upcoming events with meeting links.

Time-blocking automation

Block focus time on your calendar from a script — works because you control both ends.

Get the full skill file

Everything above is 80% of the skill file. Download the complete version with full implementation details, agent prompts, and ready-to-run scripts.

Common questions

OAuth: for personal calendars (your own / your customers'). Service Account: for shared / organisation calendars (with domain-wide delegation). The skill includes both patterns with guidance on when to use each.
For solo use: env vars on Netlify. For multi-user apps: encrypted in the contacts table in Postgres. The skill includes both setups.
Auto-refresh via the refresh token. The skill's helpers handle this transparently — your code calls `getAvailability()` and gets fresh data even if the access token expired.
Yes — with domain-wide delegation you can read/write any calendar in your Google Workspace. Setup walkthrough included.
Google Calendar API allows ~10K requests/day on the free quota; the skill includes batching helpers to keep you well under.

Ready to automate?

SoloStack gives you every skill pre-installed — scraping, marketing, sales, CRM, and more. One repo. Every department.

Book a Call →