/iblai-vibe:iblai-vibe-agent-searchfrom ibl.ai vibe
Adds a searchable, filterable agent browser page to a Next.js app with starred, featured, custom, and default agent sections, including search input, category/subject/LLM/type filters, and star toggle.
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.
First time here? If
iblai.envhas noARCHITECTURE=, run/iblai-vibe-startfirst (four questions; two minutes) — it decides single-org / multi-org / headless and who signs in, and every skill reads the answer.
Add an Agent Search page -- a searchable, filterable agent browser with four sections: starred agents, featured agents, custom agents, and all agents. Includes search input, category/subject/LLM/type filters, star/favorite toggle, and "Create Agent" action.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth)@iblai/mcp in .mcp.json)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"
AgentSearchAgentSearch does NOT use AgentSettingsProvider. It takes tenantKey,
username, and onAgentClick as direct props.
// app/(app)/agents/page.tsx
"use client";
import { useEffect, useState } from "react";
import { useRouter } from "next/navigation";
import { AgentSearch } from "@iblai/iblai-js/web-containers/next";
export default function AgentsPage() {
const router = useRouter();
const [tenantKey, setTenantKey] = useState("");
const [username, setUsername] = useState<string | null>(null);
useEffect(() => {
try {
const raw = localStorage.getItem("userData");
if (raw) {
const parsed = JSON.parse(raw);
setUsername(parsed.user_nicename ?? parsed.username ?? "");
}
const resolvedTenant =
localStorage.getItem("app_tenant") ??
(() => {
try {
return JSON.parse(localStorage.getItem("current_tenant") ?? "{}").key;
} catch { return undefined; }
})() ??
localStorage.getItem("tenant") ??
"";
setTenantKey(resolvedTenant);
} catch {}
}, []);
if (!tenantKey) return null;
return (
<div className="flex h-full flex-col bg-white p-4">
<AgentSearch
tenantKey={tenantKey}
username={username}
onAgentClick={(agent) => {
router.push(`/agents/${agent.unique_id}/settings`);
}}
onCreateAgent={() => {
router.push("/agents/new");
}}
/>
</div>
);
}
By default all four sections render (starred, featured, custom, default).
Use the include prop to show only specific sections:
<AgentSearch
tenantKey={tenantKey}
username={username}
onAgentClick={handleClick}
include={["featured", "default"]}
/>
import { AgentSearch } from "@iblai/iblai-js/web-containers/next";
<AgentSearch
tenantKey={tenantKey}
username={username}
onAgentClick={handleClick}
labels={{
sections: {
starred: { title: "Your favorites" },
featured: { title: "Recommended mentors" },
},
}}
/>;
get_component_info("AgentSearch")
get_component_info("AgentCard")
get_hook_info("useAgentSearch")
<AgentSearch> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
tenantKey | string | Yes | Current platform key |
username | string | null | Yes | Current user (null = unauthenticated) |
onAgentClick | (agent: AgentSearchResult) => void | Yes | Called when an agent card is clicked |
onCreateAgent | () => void | No | Called when "Create Agent" is clicked. Hides button if omitted |
onUnauthenticatedAction | () => void | No | Called when an unauthenticated user tries a protected action |
enableRBAC | boolean | No | Toggle RBAC gating (default: false) |
rbacPermissions | object | No | RBAC permissions object |
executeGatedAction | (fn: () => unknown) => unknown | No | Gate callback when enableRBAC is true |
createAgentRbacResource | string | No | RBAC resource for create (default: /mentors/#create) |
mainTenantKey | string | No | Main organization key (default: "main") |
labels | DeepPartial<AgentSearchLabels> | No | Override user-visible strings |
include | AgentSearchSection[] | No | Sections to show (default: all) |
getLLMProviderName | (providerKey: string) => string | No | Map provider key to display name in filters |
All importable from @iblai/iblai-js/web-containers/next for custom
layouts:
| Component | Description |
|---|---|
AgentCard | Single agent card with avatar, name, description, date |
AgentSearchInput | Search text field with icon |
AgentSearchFilters | Category/subject/LLM/type filter dropdowns |
StarButton | Favorite toggle star icon |
AgentEmptyState | "No agents found" placeholder |
From @iblai/iblai-js/web-containers/next:
| Hook | Description |
|---|---|
useAgentSearch | Core search hook wrapping the AI search API |
useAgentSearchWithPagination | Search with load-more pagination |
useAgentStar | Star/unstar mutation hooks |
From @iblai/iblai-js/web-containers/next:
AGENT_SEARCH_LABELS -- default label bundle for AgentSearch.AGENT_PICKER_LABELS -- default label bundle for a picker variant.resolveAgentSearchLabels -- deep-merge helper for labels.formatDateString -- default date formatter used by AgentCard.AgentSearchResult -- type for a single agent result.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 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)AgentSearch
takes identity props directly. Do NOT wrap it in AgentSettingsProvider.username !== null).
When username is null, the starred section is hidden.What SKILL.md sets; muted values are Claude Code's defaults
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