Embeds

From BuilderIO/agent-native · View interactive version

Embeds is an AI agent skill from the GitHub repository BuilderIO/agent-native. Inline, popup, and floating-button embeds — snippet generation and theming.

How to use this skill

Skill file

Embeds

Modes

the page

URL

Embed page: /:user/:slug/embed — same Booker, no chrome, theme honored

via query params.

Snippet

<script src="https://<host>/embed.js" async></script>
<div id="cal-inline-embed"></div>
<script>
  Cal("init", { origin: "https://<host>" });
  Cal("inline", {
    elementOrSelector: "#cal-inline-embed",
    calLink: "my-user/intro",
    config: { theme: "light" }
  });
</script>

Theming

Query params on the embed URL:

These override the event type's defaults for the embedded session only.

Message passing

The iframe posts messages to the parent on lifecycle events:

__cal.init, __cal.booking-successful, __cal.booking-cancelled,

__cal.booking-rescheduled.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.