/iblai-vibe:iblai-vibe-agent-embedfrom ibl.ai vibe
Adds an agent Embed tab to a Next.js app with embed code, CSS/JS editors, floating bubble styling, visibility controls, and shareable links.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Add the agent Embed tab -- a comprehensive embed configuration
interface with CSS/JS editors, custom floating bubble styling, visibility
controls, shareable links, and an embedded agent preview iframe. This is
one tab in the wider agent-settings family. All tabs share the same
AgentSettingsProvider wrapper.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth)@iblai/mcp in .mcp.json)AgentSettingsProvider must wrap the route (see /iblai-vibe-agent-setting
Step 2 if not already set up)mentorId (agent UUID). Do NOT invent one.Before proceeding, check for an iblai.env in the project root. Look for
PLATFORM, DOMAIN, and TOKEN variables. If the file does not exist or
is missing these variables, tell the user:
"You need an iblai.env with your platform configuration. Download the
template and fill in your values:
curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.env"
AgentEmbedTabAgentEmbedTab has three required props: urls, CopyCodeBlock, and
visibilityOptions. These are host-provided because they depend on
the deployment environment and the host app's UI library.
// app/(app)/agents/[mentorId]/embed/page.tsx
"use client";
import {
AgentEmbedTab,
type EmbedUrlConfig,
type VisibilityOption,
} from "@iblai/iblai-js/web-containers/next";
const urls: EmbedUrlConfig = {
dmUrl: process.env.NEXT_PUBLIC_API_BASE_URL ?? "",
axdUrl: process.env.NEXT_PUBLIC_API_BASE_URL ?? "",
mentorIframeUrl: typeof window !== "undefined" ? window.location.origin : "",
authUrl: process.env.NEXT_PUBLIC_AUTH_URL ?? "",
};
const visibilityOptions: VisibilityOption[] = [
{ label: "Public", value: "public" },
{ label: "Private", value: "private" },
{ label: "Unlisted", value: "unlisted" },
];
function CopyCodeBlock({ code }: { code: string }) {
return (
<pre className="overflow-auto rounded bg-gray-100 p-3 text-xs">
<code>{code}</code>
</pre>
);
}
export default function AgentEmbedPage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentEmbedTab
urls={urls}
CopyCodeBlock={CopyCodeBlock}
visibilityOptions={visibilityOptions}
/>
</div>
);
}
import { AgentEmbedTab } from "@iblai/iblai-js/web-containers/next";
<AgentEmbedTab
urls={urls}
CopyCodeBlock={CopyCodeBlock}
visibilityOptions={visibilityOptions}
labels={{
header: { title: "Embed your mentor" },
}}
/>;
get_component_info("AgentEmbedTab")
get_component_info("AgentSettingsProvider")
<AgentEmbedTab> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
urls | EmbedUrlConfig | Yes | URL config: { dmUrl, axdUrl, mentorIframeUrl, authUrl } |
CopyCodeBlock | ComponentType<{ code: string }> | Yes | Renders code snippets with copy support |
visibilityOptions | VisibilityOption[] | Yes | Options for the visibility dropdown |
labels | DeepPartial<EmbedTabLabels> | No | Override user-visible strings |
ssoProviders | SsoProvider[] | No | SSO provider list for embed auth config |
isSsoProvidersError | boolean | No | Whether SSO providers failed to load (defaults to true) |
supportEmail | string | No | Support email shown in SSO error states |
From @iblai/iblai-js/web-containers/next:
AGENT_EMBED_TAB_LABELS -- the default agent-facing label bundle.EmbedTabLabels -- type for the full label bundle.EmbedUrlConfig -- type for the urls prop.VisibilityOption -- type for visibility dropdown entries.SsoProvider -- type for SSO provider entries.Run /iblai-vibe-ops-test before telling the user the work is ready, and give
every page, control and state this skill added its own checkpoint — one Playwright
test titled <ID> · … in e2e/journeys/, listed in e2e/coverage.json;
pnpm e2e:coverage must pass:
pnpm build -- must pass with zero errorspnpm test -- vitest must pass/agents/<id>/embed in the browser as /iblai-vibe-ops-test says: open it,
use every control this skill added, read the console, check the phone width.mentorReducer and mentorMiddlewareinitializeDataLayer(): 5 args (v1.2+)@reduxjs/toolkit: Deduplicated via webpack aliases in next.config.tssonner and @iblai/iblai-web-mentor must be installed
(pnpm add sonner @iblai/iblai-web-mentor)AgentSettingsProvider must wrap the route at a
layout level. See /iblai-vibe-agent-setting Step 2 for the full snippet.AgentEmbedTab requires three props
(urls, CopyCodeBlock, visibilityOptions) because they are
host-specific.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job