/iblai-vibe:iblai-vibe-org-metadatafrom ibl.ai vibe
Stores and retrieves custom organization-wide settings (app name, welcome message, support URL, default agent) on the ibl.ai platform using a safe GET-merge-PUT helper that preserves OS-owned keys.
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.
Every organization has one public metadata object. The ibl.ai OS keeps its own settings there (default agent, help center URL, chat width, feature toggles, the sign-in page branding), and your app can keep its own keys beside them. It is how an app remembers org-level choices — which agent the home page uses, what the app is called, a welcome message — without a database.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
PUT …/orgs/{org}/metadata/ with only
your keys silently deletes overall_default_mentor, help_center_url,
auth_web_mentorai, every toggle — and breaks the OS for that org. The
helper in this skill always GET → merge → PUT, re-reading right before
it writes.GET …/orgs/{org}/metadata/ needs no auth. Never
store a secret, a token, a price you do not want visible, or a person's
data there. Ids and display strings only.Writes need an org admin; the platform answers 403 otherwise.
useOrgSettings<T>() in lib/iblai/metadata.ts (installed by
/iblai-vibe-user-metadata; the two share the file) — typed read/merge
under metadata.apps.<slug>, GET-merge-PUT on write.OrgSettingsForm — an admin card (app name, welcome message, support URL)
for /admin/organization./setup stores defaultAgentId, appName, and
setupCompletedAt here; the home page reads defaultAgentId when
NEXT_PUBLIC_DEFAULT_AGENT_ID is empty.| Setting | Where | Skill |
|---|---|---|
| Org display name, light/dark logos, support email, Help Center toggle + URL | SDK Account → Organization tab (OrganizationTab) | /iblai-vibe-account |
| Default agent, Help/Accessibility menus, Community Agents, Report content, Chat History Export | SDK Account → Advanced tab — these are the OS's keys in this same object | /iblai-vibe-account |
Sign-in page title, logo, headline, footer credit, policy links (auth_web_*) | written by /iblai-vibe-auth Step 2 | /iblai-vibe-auth |
| Your app's own settings | apps.<slug> via this skill | here |
useOrgSettings ships in lib/iblai/metadata.ts — run
/iblai-vibe-user-metadata Step 2 if the app does not have it. Then copy
assets/org-settings.tsx → components/settings/org-settings.tsx (needs
shadcn card, input, label).
"use client";
import { useOrgSettings } from "@/lib/iblai/metadata";
type MyOrgSettings = { welcomeMessage?: string; supportUrl?: string };
export function Welcome() {
const { settings } = useOrgSettings<MyOrgSettings>({ welcomeMessage: "", supportUrl: "" });
return settings.welcomeMessage ? <p>{settings.welcomeMessage}</p> : null;
}
Admins save with update({ welcomeMessage: "…" }); every member reads it.
Mount <OrgSettingsForm /> on an admin-only page (/iblai-vibe-admin).
Extend OrgSettings in lib/iblai/metadata.ts and the form. Keep values
JSON-serializable and small; this object is fetched by every ibl.ai front
end that opens the org.
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. Then:
pnpm typecheck && pnpm test.curl -s https://api.$DOMAIN/dm/api/core/orgs/$PLATFORM/metadata/ | python3 -m json.tool —
only metadata.apps.<slug> changed; overall_default_mentor and the
auth_web_* blocks are intact.| Hook / call | Purpose |
|---|---|
useGetTenantMetadataQuery([{ org }]) | the object (public) |
useUpdateTenantMetadataMutation() → ([{ org, requestBody: { metadata } }]) | PUT (replace — always merge first) |
useTenantMetadata() (web-utils) | the SDK's cached view of the same object |
GET/PUT https://api.<domain>/dm/api/core/orgs/{org}/metadata/ | REST |
REST reference: iblai-api-org.
/iblai-vibe-user-metadata — per-user twin/iblai-vibe-account, /iblai-vibe-admin — where to mount the form/iblai-vibe-auth — the sign-in page branding keysWhat 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