/iblai-vibe:iblai-vibe-startfrom ibl.ai vibe
Asks four questions (new/existing project, single/multi-org/headless, sign-in type, domain focus) to determine the shape of an ibl.ai integration, records answers in iblai.env and CLAUDE.md, then routes to the appropriate skill.
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.
None: SKILL.md is the whole skill.
Ask four questions, write the answers down, route. Every later skill reads the answers instead of asking again. Takes two minutes; prevents the two expensive mistakes (building a single-org app that needed to be multi-org, and wiring SSO into something that only needed a server token).
Words: docs/glossary.md. Sign-in mechanics and the three architectures in full: docs/auth-model.md. The entities every app is built on: docs/domain-model.md.
Read iblai.env if it exists. These keys are the record of this conversation;
any that are present are settled — ask only the missing ones:
PROJECT=new | existing
ARCHITECTURE=single-org | multi-org | headless
ACCESS=members | public | none
DOMAIN_FOCUS=users,memories,agents,organizations # comma-separated subset
If all four are present, say so in one line and go to Step 5.
Is this a new project, or am I adding ibl.ai to an existing codebase?
package.json → new. A package.json with next →
existing Next.js app. Anything else (Vite, Remix, Expo, a Python backend) →
existing, and note the framework — the ui skills target Next.js; the api
skills work anywhere.Who is this for?
- One organization — mine, or one customer I deploy it to. Members sign in; the app is pinned to that org. (most apps)
- Many organizations — one deployment, users move between orgs, like os.ibl.ai.
- No sign-in at all — a script, a CI job, or my own backend calling the platform.
Map to ARCHITECTURE=single-org | multi-org | headless. Explain in one
sentence why it matters: single-org pins the org key and uses one
server-to-server token; multi-org puts the org in the URL and re-authenticates
per org; headless never touches SSO. Recommend single-org when unsure —
everything carries over to multi-org later.
Skip when ARCHITECTURE=headless (ACCESS=none).
Who reaches the app?
- Members only — people who belong to the organization (invited, or self-joined). (default)
- The public too — at least one agent is reachable without an account (a public assistant, a lead-capture bot, a demo).
Map to ACCESS=members | public. public means: mark that agent
allow_anonymous and leave its route out of AuthProvider's protection
(docs/auth-model.md §4).
Which of these does the app revolve around? Pick all that apply:
- Users — profiles, per-user settings, roles and admins
- Memories — the app remembers things about each person; agents personalize
- Agents — creating or configuring agents, not just chatting with one
- Organizations — org-level settings, branding, billing, many customers
Map to DOMAIN_FOCUS=…. Most apps say "users and agents"; that is fine.
Write the four keys to iblai.env (create the file from
iblai.env.example when missing; keep existing lines).
If a project CLAUDE.md / AGENTS.md exists, add or replace a
## Decisions block:
## Decisions (from /iblai-vibe-start)
- Project: new | existing (<framework>)
- Architecture: single-org | multi-org | headless — <one line why>
- Access: members | public (<which agent is public>) | none
- Focus: users, memories, agents, organizations
Credentials: run /iblai-vibe-connect (browser round trip; falls back to
manual questions). Skip it when iblai.env already holds a real PLATFORM
and TOKEN, or the host exports IBLAI_API_KEY.
Next steps — tell the user the whole path as a short numbered list (their
row below, then build, test, see it), then open step 1. A new app always has
Spec Kit; leave it out of an existing or headless project's list when
iblai.env has USE_SPEC_KIT=false. When the host exports
IBLAI_PLATFORM_KEY (the ibl.ai desktop app keeps its own flow), skip the
list and open step 1.
| Answers | Steps before building |
|---|---|
new + single-org | 1. /iblai-vibe-ops-init — vibe-starter already is this architecture (pinned org, /setup, admin area, user + org settings). 2. /iblai-vibe-spec-kit (required): the user describes the app, and Spec Kit builds it from that description |
new + multi-org | 1. /iblai-vibe-ops-init. 2. /iblai-vibe-spec-kit (required), whose first plan starts with /iblai-vibe-auth → "Going multi-org" (the OS pattern: org in the URL, TenantSwitcher, per-agent anonymous rule) |
existing Next.js + single-org / multi-org | 1. /iblai-vibe-spec-kit (recommended), whose first feature is adding ibl.ai through /iblai-vibe-auth (providers, store, SSO callback); without it, /iblai-vibe-auth directly |
existing non-Next.js, any ACCESS | 1. /iblai-vibe-spec-kit (recommended), whose first feature is adding ibl.ai through the api family: /iblai-api-login, then /iblai-vibe-api's server-route pattern adapted to the framework (the SDK's React components need Next.js); without it, those directly |
headless | 1. /iblai-api-login. 2. /iblai-vibe-spec-kit (recommended) for what the scripts do; tutorials/ for end-to-end recipes |
ACCESS=public (any) | add /iblai-vibe-agent-setting (allow_anonymous) and docs/auth-model.md §4 |
Then, for every project:
Build. With Spec Kit, each feature goes /speckit-specify →
/speckit-clarify → /speckit-plan → /speckit-tasks → /speckit-implement
→ /speckit-converge, and each plan picks the focus skills below. Without it,
open the focus skills directly (headless: the iblai-api-* skill per family).
Test. /iblai-vibe-ops-test — build, tests and its touch test in a real
browser — before showing work or calling it done; a headless project runs
against the organization and its output is checked.
See it (apps, any time after the first step). Offer the three ways and do the one the user picks:
pnpm dev in the background unless one is running (an existing app
runs its own dev script), then give them the URL it prints —
http://localhost:3000 unless the port is busy;/iblai-vibe-ops-deploy;/iblai-vibe-ops-build.Each place the app runs (localhost, the deployed URL, the native app) must be in
the organization's allowed redirect origins, or sign-in never returns. In a
vibe-starter app the first admin to sign in lands on /setup to pick or create
the agent.
For new + single-org, the message reads:
Next steps:
- Set up the app from the starter (
/iblai-vibe-ops-init): sign-in, chat with your agent, users and an admin area.- Describe your app, what it does and who it's for; Spec Kit turns that into a spec, a plan and tasks you approve before any code (
/iblai-vibe-spec-kit).- Build it one feature at a time (
/speckit-specify→ … →/speckit-converge) and test it (/iblai-vibe-ops-test).- See it whenever you like — say which and I'll set it up:
- on this computer: a preview at http://localhost:3000
- at a public URL you can share (
/iblai-vibe-ops-deploy)- as a desktop or phone app (
/iblai-vibe-ops-build)Starting with step 1.
| Focus | Skills |
|---|---|
| users | /iblai-vibe-profile ★, /iblai-vibe-user-metadata ★, /iblai-vibe-admin |
| memories | /iblai-vibe-memory-guide ★ |
| agents | /iblai-vibe-agent-create ★ → /iblai-vibe-agent-setting ★ → /iblai-vibe-agent |
| organizations | /iblai-vibe-org-metadata ★, /iblai-vibe-account, /iblai-vibe-pricing |
/iblai-vibe-ops-init or /iblai-api-login needs it (they say where it
comes from).iblai.env is the source of truth for later skills..claude/skills/iblai-vibe/SKILL.md is
older than two weeks, suggest /iblai-vibe-ops-upgrade first.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