Skip to content
Skillpedia
Tasks & projects7.6k Β· #13200

integrations

What it does

This skill describes the calendar and video services a scheduling app can connect to, and how each connection is set up and refreshed. It is for developers adding a new integration or fixing a broken connection.

When to use it

  • βœ“When you connect a calendar such as Google Calendar or Office 365.
  • βœ“When you add a new video meeting provider to the scheduling app.
  • βœ“When a calendar connection stops working and needs to reconnect.

Skill link

https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/integrations/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/integrations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œConnect my Google Calendar so the app knows when I'm busy and can add a video link.”

5 new skills a week. 1 minute to read.

How it works

A user connects through a sign-in, then the app saves the access and reads busy times from selected calendars. Expired access is refreshed automatically, and the user is asked to reconnect if that fails.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Integrations

Calendar providers

  • google_calendar β€” OAuth; read freeBusy + write events; optionally create Google Meet conference via includeConference=true.
  • office365_calendar β€” Microsoft Graph; read freeBusy + write events.
  • caldav (planned) β€” generic CalDAV for Apple iCloud, Fastmail, etc.

Video providers

  • builtin_video β€” Daily.co-backed; zero OAuth; server-to-server API key.
  • zoom_video β€” OAuth; create meetings via Zoom REST API.
  • google_meet β€” piggy-backs on Google Calendar credential.
  • teams_video β€” delegated Microsoft OAuth for work or school accounts; creates and cancels standalone meetings through Microsoft Graph.

Credential lifecycle

  1. User clicks "Connect" β†’ connect-calendar returns authUrl + state
  2. Redirect to provider β†’ consent β†’ provider redirects to our callback
  3. Server exchanges code β†’ writes scheduling_credentials row + core oauth_tokens entry
  4. We fetch calendar list, let user pick "checked" + "destination"
  5. Token expires β†’ refresh flow runs silently; on failure, set invalid: true and show re-connect banner

Busy-time aggregation

aggregateBusy({userEmail, rangeStart, rangeEnd}) merges:

  • Confirmed bookings hosted by the user
  • External busy from each selected_calendars entry via the provider

Cached in calendar_cache (short TTL, default 5 min). Busted on any booking write for that host.

Writing a new provider

See docs/providers.md for the full interface.

Common tasks

User Action
"Connect Google Calendar" connect-calendar --kind google_calendar --redirectUri ... β†’ redirect to returned authUrl
"Stop checking my vacation calendar" toggle-selected-calendar --include false for that externalId
"Default to Zoom for new bookings" set-default-conferencing-app --credentialId <zoom-cred>
"Connect Microsoft Teams" connect-video --kind teams_video --redirectUri ... β†’ complete the callback with completeVideoOAuth()
"Default to Teams for new bookings" set-default-conferencing-app --credentialId <teams-cred>
"Refresh calendar cache" refresh-busy-times

Microsoft Teams setup

Register createTeamsProvider() as a video provider with the deployment's Microsoft client id and secret plus consumer-owned getAccessToken, updateTokens, and markInvalid callbacks. The provider defaults to the organizations tenant because Graph's delegated online-meeting API supports work or school accounts, not personal Microsoft accounts. It requests only offline_access, OnlineMeetings.ReadWrite, and User.Read.

Use connect-video to start OAuth and completeVideoOAuth() in the callback; inserting a teams_video row with install-conferencing-app alone does not grant Microsoft access. Token refresh remains the consumer's responsibility in getAccessToken. The booking service stores the returned meeting id and join URL in booking_references and calls the provider again on cancellation.

FAQ

Which calendars are covered?

Google Calendar and Office 365, with a generic CalDAV option described as planned.

How long are busy times saved?

They are cached for a short time, by default about five minutes.

What happens if a connection fails to refresh?

The connection is marked invalid and a reconnect banner is shown.

Details

Original description by the author

Calendar + video provider integrations β€” Google Calendar, Office 365, Zoom, built-in video, Google Meet β€” and how to write new ones.

repo: BuilderIO/agent-native

Popularity

GitHub stars
7.6k
Ranking position
#13200
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills