/iblai-vibe:iblai-vibe-invitefrom ibl.ai vibe
Adds user invitation UI to Next.js apps: invite by email or CSV, view pending invites, and manage invites in organization settings.
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 user invitation features -- a dialog to invite new users to an
organization by email (one at a time or from a CSV), and a dialog listing
invited users by email. The same invite flow also comes inline
(InviteUserContent) and as the Invites tab of the organization settings,
which needs no dialog of your own (see "The Invites tab instead of a dialog").

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth)@iblai/mcp in .mcp.json)/platforms/<org>/#can_invite)Before proceeding, check for a 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"
There is no dedicated CLI generator for invite dialogs. Import the components directly from the SDK:
import { InviteUserDialog, InvitedUsersDialog } from "@iblai/iblai-js/web-containers";
get_component_info("InviteUserDialog")
get_component_info("InvitedUsersDialog")
<InviteUserDialog> PropsDialog to invite users to the organization by email, one at a time or from a CSV.
| Prop | Type | Description |
|---|---|---|
isOpen | boolean | Whether the dialog is visible |
onClose | () => void | Close callback |
tenant | string | Organization key |
enableCatalogInvite | boolean | Adds the Courses and Programs invite tabs (default false) |
hasManageUsersPermission | boolean | Whether the user may manage all of the organization's users (default false) |
<InvitedUsersDialog> PropsDialog listing the emails on the first page of the organization's invitations,
with no status column and no pager (the invitation list in InviteUserDialog
and in the Invites tab shows Pending, Accepted or Expired). Render it
only while it should show: it has no isOpen.
| Prop | Type | Description |
|---|---|---|
onClose | () => void | Close callback |
tenant | string | Organization key |
Add invite buttons to an admin settings page or account page:
"use client";
import { useState } from "react";
import { InviteUserDialog, InvitedUsersDialog } from "@iblai/iblai-js/web-containers";
import { Button } from "@/components/ui/button";
import { resolveAppTenant } from "@/lib/iblai/tenant";
export function InviteSection() {
const [showInvite, setShowInvite] = useState(false);
const [showInvited, setShowInvited] = useState(false);
const tenant = resolveAppTenant();
return (
<div className="flex gap-2">
<Button onClick={() => setShowInvite(true)}>Invite User</Button>
<Button variant="outline" onClick={() => setShowInvited(true)}>
Invited Users
</Button>
<InviteUserDialog
isOpen={showInvite}
onClose={() => setShowInvite(false)}
tenant={tenant}
/>
{showInvited && (
<InvitedUsersDialog
onClose={() => setShowInvited(false)}
tenant={tenant}
/>
)}
</div>
);
}
The organization settings (Account, see /iblai-vibe-account) have an
Invites tab, in the Workspace group right below Management, with the
same form and invitation list as InviteUserDialog. Use it when the app
already shows those settings:
Account targetTab="invites", PlatformAccountSheet tab="invites" and
UserProfileModal targetTab="invites" open on it. enableCatalogInvite
on any of them adds the Courses and Programs tabs./platforms/<org>/#can_invite (with RBAC
off that check passes), or, with RBAC on, for any user who holds it.
Anyone else who asks for it lands on their first visible tab.onInviteClick is
called only for a user who is not shown the tab.On a page of your own, InviteUserContent is the same flow with no dialog.
It takes tenant, enableCatalogInvite, hasManageUsersPermission,
className, onInviteSuccess (called after an invitation goes out) and
renderHeader, which draws the title and description in your own header
style, or nothing when it returns null:
"use client";
import { InviteUserContent } from "@iblai/iblai-js/web-containers";
export function InvitePage({ tenant }: { tenant: string }) {
return (
<InviteUserContent
tenant={tenant}
renderHeader={({ title, description }) => (
<header className="mb-4">
<h1 className="text-lg font-semibold">{title}</h1>
<p className="text-sm text-muted-foreground">{description}</p>
</header>
)}
/>
);
}
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/iblai-vibe-ops-test says: each opens, validates and closes — send no
real invite.@iblai/iblai-js/web-containers -- framework-agnosticcan_invite grant when RBAC is onmentorReducer and mentorMiddlewareinitializeDataLayer(): 5 args (v1.2+)@reduxjs/toolkit: Deduplicated via webpack aliases in next.config.tsWhat 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