/iblai-vibe:iblai-vibe-agent-promptfrom ibl.ai vibe
Adds an agent Prompts tab to a Next.js app with system prompt, proactive/guided prompts, and suggested prompts sections, each with edit/copy controls.
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 Prompts tab -- a full-width System Prompt card, then
Proactive Prompt and Guided Prompt side by side (stacked on
phones), each with Edit and Copy buttons; Proactive and Guided
each carry an Active/Inactive switch. Below them, a Suggested Prompts
section with add and edit modals. 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"
AgentPromptsTab// app/(app)/agents/[mentorId]/prompts/page.tsx
"use client";
import { AgentPromptsTab } from "@iblai/iblai-js/web-containers/next";
export default function AgentPromptsPage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentPromptsTab />
</div>
);
}
import ReactMarkdown from "react-markdown";
<AgentPromptsTab
renderPromptContent={(content) => <ReactMarkdown>{content}</ReactMarkdown>}
/>;
import { AgentPromptsTab } from "@iblai/iblai-js/web-containers/next";
<AgentPromptsTab
labels={{
header: { title: "Mentor prompts" },
}}
/>;
The label bundle has header, prompts.system, prompts.proactive,
prompts.guided, prompts.suggested, actions and toasts. There is
no prompts.study key any more: an object-literal override that still
sets one fails to typecheck.
get_component_info("AgentPromptsTab")
get_component_info("AgentSettingsProvider")
<AgentPromptsTab> PropsImport from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
|---|---|---|---|
labels | DeepPartial<PromptsTabLabels> | No | Override user-visible strings |
renderPromptContent | (content: string) => ReactNode | No | Render prompt text as rich content (e.g., Markdown). Defaults to plain text |
From @iblai/iblai-js/web-containers/next:
AGENT_PROMPTS_TAB_LABELS -- the default agent-facing label bundle.PromptsTabLabels -- type for the full label bundle.GreetingMethod -- enum of the greeting_method values the Proactive
Prompt switch writes: GreetingMethod.PROACTIVE_PROMPT is
"proactive_prompt", GreetingMethod.PROACTIVE_RESPONSE is
"proactive_response" (the wire values are lower case).The three prompt cards write to the agent's settings
(useEditMentorMutation), one field per save; a suggested prompt is a
record of its own.
| Card | Edit saves | Switch saves |
|---|---|---|
| System Prompt | system_prompt | -- (no switch) |
| Proactive Prompt | proactive_prompt | greeting_method: proactive_prompt when Active (the agent answers this prompt to open the chat), proactive_response when Inactive (the agent's stored greeting text, no LLM call; this tab does not edit that text) |
| Guided Prompt | guided_prompt_instructions (how the suggestions are written) | enable_guided_prompts (the chat suggests next prompts, written by the LLM from the conversation) |
| Suggested Prompts | the prompt text, its category and visibility (Add New Prompt creates one, Edit changes it; delete is not in the tab, see /iblai-api-agent-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 errorspnpm test -- vitest must pass/agents/<id>/prompts 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.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