[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EEHTY6MQ41S15GTCB3FBWQ":3,"skill-same:01M6EEHTY6MQ41S15GTCB3FBWQ":47},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M6EEHTY6MQ41S15GTCB3FBWQ","cal-com",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fcal-com\u002FSKILL.md",[],[18,19],"cal","cal com","2026-11-10 10:12:30",false,"# Cal.com — Scheduling Infrastructure\n\n\n## Overview\n\n\nCal.com, the open-source scheduling platform for building booking and appointment systems. Helps developers integrate Cal.com's embed widgets, REST API, and webhooks to add scheduling capabilities to their applications.\n\n\n## Instructions\n\n### Embed Widget\n\nAdd a booking widget to any website:\n\n```tsx\n\u002F\u002F src\u002Fcomponents\u002FBookingWidget.tsx — Embed Cal.com scheduling in a React app\nimport Cal, { getCalApi } from \"@calcom\u002Fembed-react\";\nimport { useEffect } from \"react\";\n\nexport function BookingWidget() {\n  useEffect(() => {\n    (async () => {\n      const cal = await getCalApi();\n      \u002F\u002F Configure the embed appearance\n      cal(\"ui\", {\n        theme: \"light\",\n        styles: { branding: { brandColor: \"#6366f1\" } },\n        hideEventTypeDetails: false,\n        layout: \"month_view\",       \u002F\u002F \"month_view\" | \"week_view\" | \"column_view\"\n      });\n    })();\n  }, []);\n\n  return (\n    \u003CCal\n      calLink=\"your-team\u002Fdiscovery-call\"   \u002F\u002F Your Cal.com event link\n      style={{ width: \"100%\", height: \"100%\", overflow: \"scroll\" }}\n      config={{\n        layout: \"month_view\",\n        name: \"Customer Name\",              \u002F\u002F Pre-fill guest name\n        email: \"customer@example.com\",      \u002F\u002F Pre-fill guest email\n        notes: \"Interested in Enterprise plan\",\n      }}\n    \u002F>\n  );\n}\n\n\u002F\u002F Floating button that opens calendar in a popup\nexport function BookingButton() {\n  useEffect(() => {\n    (async () => {\n      const cal = await getCalApi();\n      cal(\"floatingButton\", {\n        calLink: \"your-team\u002Fdiscovery-call\",\n        buttonText: \"Book a Demo\",\n        buttonColor: \"#6366f1\",\n        buttonTextColor: \"#ffffff\",\n        buttonPosition: \"bottom-right\",\n      });\n    })();\n  }, []);\n\n  return null;   \u002F\u002F The floating button renders itself\n}\n```\n\n### REST API Integration\n\nManage bookings, event types, and availability programmatically:\n\n```typescript\n\u002F\u002F src\u002Fcal\u002Fclient.ts — Cal.com API client for server-side operations\nconst CAL_API_URL = \"https:\u002F\u002Fapi.cal.com\u002Fv2\";\nconst CAL_API_KEY = process.env.CAL_API_KEY!;\n\nasync function calFetch(path: string, options?: RequestInit) {\n  const response = await fetch(`${CAL_API_URL}${path}`, {\n    ...options,\n    headers: {\n      \"Content-Type\": \"application\u002Fjson\",\n      \"cal-api-version\": \"2024-08-13\",       \u002F\u002F Pin API version for stability\n      Authorization: `Bearer ${CAL_API_KEY}`,\n      ...options?.headers,\n    },\n  });\n  if (!response.ok) {\n    const error = await response.json();\n    throw new Error(`Cal.com API error: ${error.message}`);\n  }\n  return response.json();\n}\n\n\u002F\u002F Create a new event type (e.g., \"30-min Discovery Call\")\nasync function createEventType(params: {\n  title: string;\n  slug: string;\n  lengthInMinutes: number;\n  description?: string;\n  locations?: { type: string; link?: string }[];\n}) {\n  return calFetch(\"\u002Fevent-types\", {\n    method: \"POST\",\n    body: JSON.stringify({\n      title: params.title,\n      slug: params.slug,\n      lengthInMinutes: params.lengthInMinutes,\n      description: params.description,\n      locations: params.locations ?? [\n        { type: \"integrations:google:meet\" },  \u002F\u002F Default: Google Meet\n      ],\n      bookingFields: [\n        { name: \"company\", type: \"text\", label: \"Company Name\", required: true },\n        { name: \"teamSize\", type: \"select\", label: \"Team Size\",\n          options: [\"1-10\", \"11-50\", \"51-200\", \"200+\"], required: true },\n      ],\n    }),\n  });\n}\n\n\u002F\u002F Get available time slots for a date range\nasync function getAvailability(params: {\n  eventTypeId: number;\n  startTime: string;   \u002F\u002F ISO 8601\n  endTime: string;\n  timeZone: string;\n}) {\n  const query = new URLSearchParams({\n    eventTypeId: String(params.eventTypeId),\n    startTime: params.startTime,\n    endTime: params.endTime,\n    timeZone: params.timeZone,\n  });\n  return calFetch(`\u002Fslots?${query}`);\n}\n\n\u002F\u002F Create a booking\nasync function createBooking(params: {\n  eventTypeId: number;\n  start: string;         \u002F\u002F ISO 8601 datetime\n  attendee: { name: string; email: string; timeZone: string };\n  metadata?: Record\u003Cstring, string>;\n}) {\n  return calFetch(\"\u002Fbookings\", {\n    method: \"POST\",\n    body: JSON.stringify({\n      eventTypeId: params.eventTypeId,\n      start: params.start,\n      attendee: params.attendee,\n      metadata: params.metadata,\n      language: \"en\",\n    }),\n  });\n}\n\n\u002F\u002F Cancel a booking\nasync function cancelBooking(bookingUid: string, reason?: string) {\n  return calFetch(`\u002Fbookings\u002F${bookingUid}\u002Fcancel`, {\n    method: \"POST\",\n    body: JSON.stringify({ reason }),\n  });\n}\n\n\u002F\u002F Reschedule a booking\nasync function rescheduleBooking(bookingUid: string, newStart: string) {\n  return calFetch(`\u002Fbookings\u002F${bookingUid}\u002Freschedule`, {\n    method: \"POST\",\n    body: JSON.stringify({ start: newStart }),\n  });\n}\n```\n\n### Webhooks\n\nReact to booking events in real time:\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fcal-webhook\u002Froute.ts — Handle Cal.com webhook events\nimport { NextRequest, NextResponse } from \"next\u002Fserver\";\nimport crypto from \"crypto\";\n\nconst WEBHOOK_SECRET = process.env.CAL_WEBHOOK_SECRET!;\n\n\u002F\u002F Verify the webhook signature to ensure it's from Cal.com\nfunction verifySignature(payload: string, signature: string): boolean {\n  const expected = crypto\n    .createHmac(\"sha256\", WEBHOOK_SECRET)\n    .update(payload)\n    .digest(\"hex\");\n  return crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));\n}\n\nexport async function POST(request: NextRequest) {\n  const payload = await request.text();\n  const signature = request.headers.get(\"x-cal-signature-256\") ?? \"\";\n\n  if (!verifySignature(payload, signature)) {\n    return NextResponse.json({ error: \"Invalid signature\" }, { status: 401 });\n  }\n\n  const event = JSON.parse(payload);\n\n  switch (event.triggerEvent) {\n    case \"BOOKING_CREATED\":\n      \u002F\u002F New booking — send confirmation, update CRM, notify sales\n      await handleNewBooking({\n        bookingId: event.payload.bookingId,\n        attendeeName: event.payload.attendees[0]?.name,\n        attendeeEmail: event.payload.attendees[0]?.email,\n        startTime: event.payload.startTime,\n        eventType: event.payload.eventTitle,\n        metadata: event.payload.metadata,\n      });\n      break;\n\n    case \"BOOKING_CANCELLED\":\n      \u002F\u002F Booking cancelled — update CRM, free up resources\n      await handleCancellation({\n        bookingId: event.payload.bookingId,\n        reason: event.payload.cancellationReason,\n      });\n      break;\n\n    case \"BOOKING_RESCHEDULED\":\n      \u002F\u002F Booking moved — update calendar integrations\n      await handleReschedule({\n        bookingId: event.payload.bookingId,\n        oldTime: event.payload.previousStartTime,\n        newTime: event.payload.startTime,\n      });\n      break;\n\n    case \"MEETING_ENDED\":\n      \u002F\u002F Meeting finished — trigger follow-up sequence\n      await triggerFollowUp(event.payload.bookingId);\n      break;\n  }\n\n  return NextResponse.json({ received: true });\n}\n\nasync function handleNewBooking(booking: any) {\n  \u002F\u002F Example: Create a deal in your CRM\n  await crm.createDeal({\n    name: `Demo: ${booking.attendeeName}`,\n    contact: booking.attendeeEmail,\n    stage: \"discovery\",\n    source: \"website-booking\",\n    metadata: booking.metadata,\n  });\n\n  \u002F\u002F Notify the sales team via Slack\n  await slack.postMessage({\n    channel: \"#sales-notifications\",\n    text: `? New ${booking.eventType} booked!\\n? ${booking.attendeeName} (${booking.attendeeEmail})\\n? ${new Date(booking.startTime).toLocaleString()}`,\n  });\n}\n```\n\n### Managing Team Availability\n\nConfigure round-robin scheduling and team calendars:\n\n```typescript\n\u002F\u002F src\u002Fcal\u002Fteam-setup.ts — Configure team scheduling rules\nasync function setupTeamScheduling() {\n  \u002F\u002F Create a team event type with round-robin assignment\n  const eventType = await calFetch(\"\u002Fevent-types\", {\n    method: \"POST\",\n    body: JSON.stringify({\n      title: \"Product Demo\",\n      slug: \"product-demo\",\n      lengthInMinutes: 45,\n      schedulingType: \"ROUND_ROBIN\",     \u002F\u002F Rotate among team members\n      hosts: [\n        { userId: 101, isFixed: false },  \u002F\u002F Participates in rotation\n        { userId: 102, isFixed: false },\n        { userId: 103, isFixed: true },   \u002F\u002F Always included (e.g., sales engineer)\n      ],\n      beforeEventBuffer: 15,              \u002F\u002F 15-min buffer before meetings\n      afterEventBuffer: 10,               \u002F\u002F 10-min buffer after\n      minimumBookingNotice: 120,          \u002F\u002F Minimum 2 hours notice\n      slotInterval: 15,                   \u002F\u002F Show slots every 15 minutes\n      locations: [\n        { type: \"integrations:zoom\" },    \u002F\u002F Auto-create Zoom meeting\n      ],\n    }),\n  });\n\n  \u002F\u002F Set working hours for the team\n  await calFetch(\"\u002Fschedules\", {\n    method: \"POST\",\n    body: JSON.stringify({\n      name: \"Business Hours\",\n      timeZone: \"America\u002FNew_York\",\n      isDefault: true,\n      availability: [\n        \u002F\u002F Monday-Friday 9 AM to 5 PM\n        { days: [1, 2, 3, 4, 5], startTime: \"09:00\", endTime: \"17:00\" },\n      ],\n      \u002F\u002F Block specific dates (holidays, company events)\n      dateOverrides: [\n        { date: \"2026-12-25\", startTime: null, endTime: null },  \u002F\u002F Christmas — unavailable\n        { date: \"2026-12-31\", startTime: \"09:00\", endTime: \"12:00\" },  \u002F\u002F NYE — morning only\n      ],\n    }),\n  });\n}\n```\n\n## Installation\n\n```bash\n# React embed\nnpm install @calcom\u002Fembed-react\n\n# For self-hosted Cal.com (Docker)\ngit clone https:\u002F\u002Fgithub.com\u002Fcalcom\u002Fcal.com.git\ncd cal.com\ncp .env.example .env\ndocker compose up -d\n```\n\n\n## Examples\n\n\n### Example 1: Setting up Cal Com with a custom configuration\n\n**User request:**\n\n```\nI just installed Cal Com. Help me configure it for my TypeScript + React workflow with my preferred keybindings.\n```\n\nThe agent creates the configuration file with TypeScript-aware settings, configures relevant plugins\u002Fextensions for React development, sets up keyboard shortcuts matching the user's preferences, and verifies the setup works correctly.\n\n### Example 2: Extending Cal Com with custom functionality\n\n**User request:**\n\n```\nI want to add a custom rest api integration to Cal Com. How do I build one?\n```\n\nThe agent scaffolds the extension\u002Fplugin project, implements the core functionality following Cal Com's API patterns, adds configuration options, and provides testing instructions to verify it works end-to-end.\n\n\n## Guidelines\n\n1. **Use embed for public booking** — The React embed handles time zones, availability, and confirmations automatically\n2. **Pin API versions** — Include `cal-api-version` header to avoid breaking changes when Cal.com updates\n3. **Verify webhook signatures** — Always validate `x-cal-signature-256` to prevent spoofed events\n4. **Buffer time between meetings** — Set `beforeEventBuffer` and `afterEventBuffer` to prevent back-to-back meetings\n5. **Pre-fill known data** — Pass name, email, and context via embed config to reduce friction for returning users\n6. **Use metadata for attribution** — Pass UTM params, plan interest, or referral codes through booking metadata\n7. **Handle all webhook events** — Don't just handle BOOKING_CREATED; cancellations and reschedules need cleanup too\n8. **Self-host for compliance** — If you need data residency (GDPR, HIPAA), self-host Cal.com with Docker\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fcal-com",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill cal-com",{"tool":39,"command":40},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill cal-com",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill cal-com","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fcal-com\u002FSKILL.md",true,[],[48,62,72,81,87,94],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":58,"publishedAt":20},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[53],{"categoryNo":54,"categoryName":55,"taxonomyType":56,"taxonomyTypeDesc":57},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[59,60,61],"model","model hierarchy","model hierarchy skill",{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":68,"publishedAt":20},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[67],{"categoryNo":54,"categoryName":55,"taxonomyType":56,"taxonomyTypeDesc":57},[69,70,71],"MCP","zoom","zoom mcp",{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":20},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[78,79,80,70],"sdk","zoom apps sdk","apps",{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[83],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":93,"publishedAt":20},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[92],{"categoryNo":54,"categoryName":55,"taxonomyType":56,"taxonomyTypeDesc":57},[89],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[96]]