/iblai-vibe:iblai-vibe-agent-screensharefrom ibl.ai vibe
Adds a Screen tab to agent settings in Next.js apps, enabling screen sharing during voice calls with configurable prompts for system behavior and proactive messages.
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 Screen tab -- how the agent behaves when a user shares their
screen during a voice call. Scope: per agent. The Screen Sharing
switch saves the agent's capability_screen_share flag, which is what puts
the screen-share button in the chat. The two prompt cards live on the agent's
call configuration (one row per agent): Instructions During Screen
Sharing (the system prompt used while a screen is shared) and What the
Agent Says When Screen Sharing Starts (the proactive opener). Both apply to
every user who calls that agent. This is one tab in the agent-settings family
indexed by /iblai-vibe-agent; it shares the AgentSettingsProvider wrapper
with every other tab.
Prompts -- screen sharing on, both prompts set. Edits stay local until Save.

Edit dialog -- Edit on either card opens the shared rich-text prompt
editor (EditPromptModal, the same one the Prompts tab uses). Its Save
writes the text back to the card; the tab's Save sends it.

Off -- with the switch off the cards stay visible but grayed out and
inert, and the header adds "Turn it on to let people share their screen
during a call and edit these prompts." The switch saves immediately and
toasts "Screen Sharing turned on" / "Screen Sharing turned off". An agent
that has only the call configuration's enable_video on (all the old switch
wrote) shows off: the chat offers screen sharing only while the flag is on.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth, or vibe-starter).AgentSettingsProvider wraps the route (/iblai-vibe-agent §1).@iblai/iblai-js@^3.6.0 (resolves @iblai/web-containers 2.6.0, where
the switch saves capability_screen_share). Check with
pnpm why @iblai/web-containers.capability_screen_share on the agent's settings
(API version 4.467.0 or later). On an older one, or for a person who may
not read the flag, the switch reads and writes the call configuration's
enable_video, as it did before./iblai-vibe-agent-voice): screen sharing happens inside a voice call, and
always in Live Conversation mode.enable_video is on (see How it saves).Look for iblai.env in the project root with PLATFORM, DOMAIN, and
TOKEN. If it is missing, 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"
AgentScreenShareTab// app/(app)/agents/[mentorId]/screenshare/page.tsx
"use client";
import { AgentScreenShareTab } from "@iblai/iblai-js/web-containers/next";
export default function AgentScreenSharePage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentScreenShareTab />
</div>
);
}
The tab reads tenantKey, mentorId, and username from
AgentSettingsProvider and does its own fetching and saving. No props are
required.
To render the prompts differently on the cards (for example as Markdown with
the renderer you already pass to AgentPromptsTab), pass
renderPromptContent:
import { AgentScreenShareTab } from "@iblai/iblai-js/web-containers/next";
<AgentScreenShareTab
renderPromptContent={(content) => (
<p className="text-sm whitespace-pre-wrap text-gray-700">{content}</p>
)}
/>;
The tab renders with the default agent-facing copy
(AGENT_SCREENSHARE_TAB_LABELS, localized through the SDK's i18n). Pass a
partial labels object to change any string:
import { AgentScreenShareTab } from "@iblai/iblai-js/web-containers/next";
<AgentScreenShareTab
labels={{
header: { title: "Screen sharing" },
fields: { proactivePrompt: { label: "Opening line" } },
}}
/>;
Label groups (ScreenShareTabLabels): header (title, description),
capability (title -- the switch's accessible name, "Screen Sharing";
description, offHint), disabledHint, fields.systemPrompt and
fields.proactivePrompt (label, placeholder each), saveButton,
savingButton, toasts (saved, error: the prompts' Save, and the
switch without the flag), and errors (turnOff: shown under the banner
when turning the switch off can't clear enable_video). The switch's
"turned on" / "turned off" toasts, its lock reason and a refused flag save's
sentence come from the SDK's catalogue, not from labels.
get_component_info("AgentScreenShareTab")
get_component_info("AgentSettingsProvider")
<AgentScreenShareTab> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
labels | DeepPartial<ScreenShareTabLabels> | No | Override user-visible strings |
renderPromptContent | (content: string) => ReactNode | No | Render each prompt as rich content. Defaults to plain text |
tenantKey | string | No | Identity override. Falls back to AgentSettingsProvider |
mentorId | string | No | Identity override (agent UUID). Falls back to AgentSettingsProvider |
username | string | No | Identity override. Falls back to AgentSettingsProvider |
From @iblai/iblai-js/web-containers/next:
AGENT_SCREENSHARE_TAB_LABELS -- the default label bundle.ScreenShareTabLabels, AgentScreenShareTabProps -- types.Paths are under /api/ai-mentor/orgs/{org}/users/{username}/.
| Action | Request |
|---|---|
| Load | The agent's settings embed call_configuration; when absent the tab lists call-configurations/?mentor=<uuid> |
| Switch on | PUT mentors/{uuid}/settings/ with capability_screen_share: true only (plus can_use_tools: true when the agent could not use tools yet; false is never sent) |
| Switch off | While the call configuration's enable_video is on, first PATCH call-configurations/{id}/ with enable_video: false (calls keep sharing video while either one is on); then the same PUT with capability_screen_share: false |
| Switch, without the flag (an older platform, or a person who may not read it) | PATCH call-configurations/{id}/ with enable_video; with no row yet, POST call-configurations/ (mentor, mode: "realtime", language: "en", enable_video) |
| Save | PATCH call-configurations/{id}/ (or POST when no row exists) with screensharing_system_prompt and screensharing_proactive_prompt |
If clearing enable_video fails, the switch stays on and says "Couldn't turn
off Screen Sharing for voice calls. Try again." under the banner. A refused
flag save turns the switch back and shows one sentence there, never a toast.
The switch is locked, with "You don't have permission to change this.", when
the person may not change the flag, or, while it is off on an agent that
cannot use tools yet, may not change can_use_tools. The agent's model never
locks it. Save stays disabled until a prompt changes.
| Hook | Purpose |
|---|---|
useGetMentorSettingsQuery | Agent settings: capability_screen_share and the embedded call_configuration |
useEditMentorMutation | Save capability_screen_share |
useGetCallConfigurationsQuery | Fallback list when settings carry no call configuration |
useCreateCallConfigurationMutation, useUpdateCallConfigurationMutation | Create / patch the row |
REST twin: /iblai-api-agent-voice
(call configurations: enable_video, screensharing_system_prompt,
screensharing_proactive_prompt).
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 errors.pnpm test -- vitest must pass./agents/<uuid>/screenshare in the browser as /iblai-vibe-ops-test says:
the switch and both prompt cards render; turn the switch on ("Screen Sharing turned
on"); edit the opener, Save, reload -- the text persists; read the console; check
the phone width.AgentSettingsProvider once at the layout
level (/iblai-vibe-agent §1); do not wrap each tab.sonner and @iblai/iblai-web-mentor
(pnpm add sonner @iblai/iblai-web-mentor).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
166 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.npx claudepluginhub iblai/base --plugin iblai-vibeOther plugins' skills for the same job