/iblai-vibe:iblai-vibe-agent-supportfrom ibl.ai vibe
Adds a human-support inbox tab to a Next.js app, letting chat users escalate to tickets that agents can review, reply to, and resolve. Activates when users mention human support, escalation, or support tickets.
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 Support tab -- a human-support inbox for one agent. When
a user asks the agent for a person, the agent files a ticket; admins
review, reply to and resolve it here. Scope: per agent. The Human
Support switch turns the hand-over on for this agent (it saves the agent's
capability_human_support flag), and the inbox lists only this agent's
tickets. This is one tab in the agent-settings family indexed by
/iblai-vibe-agent; it shares the AgentSettingsProvider wrapper with every
other tab.
Tickets -- the info box with the Human Support switch, a user filter (search the organization's users), a status filter (All / Open / In Progress / Closed), and the inbox: requester, subject, when, a preview, and a status icon. The icon is grey; hover it (or use a screen reader) for the word. The inbox shows as many tickets as fit the space and pages the rest, so it never scrolls (between 768 and 1023px wide it shows 10 a page instead). With no tickets the tab shows one dashed empty box.

A ticket -- reads like an email: the subject, requester and Status at the top, then the thread (the request the agent wrote first, then every reply, oldest first; HTML and Markdown render sanitized), and a reply box at the bottom with a To line. Replies from anyone but the requester show as Support Team.

Reply -- type in the reply box and press Send Reply (bottom right); the message joins the thread.

Status -- Open, In Progress or Closed. A closed ticket replaces the reply box with "This ticket is closed. Set it back to Open or In Progress to reply."

On a phone (below 768px) -- each ticket is a card with its Status and From, the switch sits on its own row named Human Support, the filters open as sheets from the bottom, and a "Page x of y" pager replaces the page numbers. Tapping a ticket opens it full screen, with Back.

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). The tab
throws without it: it has no identity props.@iblai/iblai-js@^3.6.0 (resolves @iblai/web-containers 2.6.0). Check with
pnpm why @iblai/web-containers.capability_human_support on the agent's
settings (API version 4.467.0 or later), and a person who may read it.
Otherwise the switch is hidden; the inbox still works.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"
AgentHumanSupportTab// app/(app)/agents/[mentorId]/support/page.tsx
"use client";
import { AgentHumanSupportTab } from "@iblai/iblai-js/web-containers/next";
export default function AgentSupportPage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentHumanSupportTab />
</div>
);
}
The tab reads tenantKey, mentorId, and username from
AgentSettingsProvider and does its own fetching and saving. No props are
required. To use your own pagination under the inbox, pass
PaginationComponent (it gets currentPage, totalPages, onPageChange,
disabled, disableNumberedButtons; the default is the SDK's
IblPagination). Phones always get the SDK's "Page x of y" pager.
The tab measures its wrapper to decide how many rows fit, so give it a set
height (here h-full inside a full-height layout, as in /iblai-vibe-agent
§1). On phones the tab's explanation moves behind an info button in your
header when the header has an empty <div data-activity-info-slot />;
without one it stays above the tab.
The tab renders with the default agent-facing copy
(AGENT_HUMAN_SUPPORT_TAB_LABELS, localized through the SDK's i18n). Pass a
partial labels object to change any string:
import { AgentHumanSupportTab } from "@iblai/iblai-js/web-containers/next";
<AgentHumanSupportTab
labels={{
header: { title: "Help desk" },
detail: { sendReply: "Reply" },
}}
/>;
Label groups (HumanSupportTabLabels): header (title, description,
infoBox), filters (searchUser, allUsers, allStatuses), status (open,
inProgress, closed), list (fromLabel, noTickets, untitled),
detail (ticketTitle, selectPrompt, statusLabel, requestSection,
conversationSection, supportTeam, noMessages, toLabel, toRecipient,
replyPlaceholder, sendReply, sending, closedNotice), and toasts
(replySent, replyError, statusUpdated, statusError).
The toggle group was removed in @iblai/web-containers 2.0.0; a host that
passes it removes it. The switch is named after its capability, "Human
Support", and confirms a save with "Human Support turned on" / "Human Support
turned off", like every other capability switch. Those strings come from the
SDK's own catalogue, not from labels.
get_component_info("AgentHumanSupportTab")
get_component_info("AgentSettingsProvider")
<AgentHumanSupportTab> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
labels | DeepPartial<HumanSupportTabLabels> | No | Override user-visible strings |
PaginationComponent | ComponentType<{ currentPage, totalPages, onPageChange, disabled, disableNumberedButtons }> | No | Pagination under the inbox. Defaults to the SDK's IblPagination |
From @iblai/iblai-js/web-containers/next:
AGENT_HUMAN_SUPPORT_TAB_LABELS -- the default label bundle.AgentHumanSupportTabProps, HumanSupportTabLabels,
SupportTicketsFilter (the status and requester filter state) -- types.Paths are under /api/ai-mentor/orgs/{org}/users/{username}/.
| Action | Request |
|---|---|
| Load | GET support-tickets/?mentor_id=<uuid>&page=&page_size=<rows that fit> (plus status and username from the filters) |
| Open a ticket | GET support-ticket-messages/?ticket={id} |
| Send Reply | POST support-ticket-messages/ with the ticket and the message |
| Status Open / In Progress | PATCH support-tickets/{id}/ with status |
| Status Closed | POST support-tickets/{id}/close/ |
| Human Support switch | PUT mentors/{uuid}/settings/ with capability_human_support only (plus can_use_tools: true when turning it on for an agent that could not use tools yet; false is never sent) |
There is no create here: the agent files tickets during chats. The tab has no delete either; the REST twin has one.
| Hook | Purpose |
|---|---|
useGetSupportTicketsQuery | The inbox (paged) |
useGetSupportTicketMessagesQuery / useCreateSupportTicketMessageMutation | The conversation and replies |
usePatchSupportTicketMutation / useCloseSupportTicketMutation | Status changes |
usePlatformUsersQuery | The user filter |
useGetMentorSettingsQuery / useEditMentorMutation | Read and save capability_human_support |
useGetToolsQuery | Whether the agent's model can use Human Support (capability_field, is_allowed): a "no" locks the switch while it is off |
All from @iblai/iblai-js/data-layer, with the SupportTicket,
SupportTicketMessage and SupportTicketStatus types. REST twin:
/iblai-api-agent-support.
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>/support in the browser as /iblai-vibe-ops-test says, signed
in as an org admin: the Human Support switch and the filters render; turn the switch
on ("Human Support turned on"), ask the agent in chat to hand you to a human -- a
ticket appears in the inbox; read the console; check the phone width.capability_human_support (plus
can_use_tools: true when turning it on for an agent that could not use
tools yet) and never rewrites the agent's tool list (the SDK's Tools tab is
gone). Turning it off hides the hand-over from users; existing tickets stay
workable.can_use_tools ("You don't
have permission to change this."). While it is off it is also locked when
the agent's model can't use it ("Doesn't work with the model this agent
uses. Pick another model in the LLM tab to turn it on."); a switch already
on can still be turned off. A refused save turns it back and shows one
sentence there, never a toast.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).iblai-vibe-agent-support-1-tickets.png (opens in a new tab)iblai-vibe-agent-support-2-ticket.png (opens in a new tab)iblai-vibe-agent-support-3-reply.png (opens in a new tab)iblai-vibe-agent-support-4-status.png (opens in a new tab)iblai-vibe-agent-support-5-phone.png (opens in a new tab)iblai-vibe-agent-support-6-phone-ticket.png (opens in a new tab)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