/iblai-vibe:iblai-api-agent-accessfrom ibl.ai vibe
Manages role-based access to ibl.ai agents via the platform API — lists role policies, searches users/groups, and grants/revokes editor, chat, or analytics_viewer roles.
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.
Manage role-based access control that decides who can edit, chat with, or
view analytics for an agent. Searches resolve users and groups; every grant
and revoke flows through the single mentor-access/ write endpoint. Use when
controlling who can edit, chat with, or view analytics for an agent.
https://api.iblai.appAuthorization: Api-Token $IBLAI_API_KEY on every request.{org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME,
{mentor} = the agent's unique id (e.g. d17dc729-60fd-4363-81a0-f67d9318b03e).https://api.iblai.app/dm/api/core/rbac/mentor-access/ — keyed by the
numeric mentor_id, adding/removing users, groups, and emails per role./iblai-api-login first to populate IBLAI_ORG,
IBLAI_USERNAME, and IBLAI_API_KEY.…/users/{username}/mentors/{mentor}/settings/ — resolve the numeric mentor_id.https://api.iblai.app/dm/api/core/rbac/mentor-access/?mentor_id={id}&platform_key={org} — list current role policies.https://api.iblai.app/dm/api/core/rbac/permissions/check/ — can the user search users/groups?
{
"platform_key": "string (required)",
"resources": ["/users/", "/groups/"]
}
https://api.iblai.app/dm/api/core/platform/users/?platform_key={org}&platform_org={org}&query={q}&page=1&page_size=20&return_policies=false — user autocomplete.https://api.iblai.app/dm/api/core/rbac/groups/?platform_key={org}&name={q}&page=1&page_size=20&include_users=true — group autocomplete.https://api.iblai.app/dm/api/core/rbac/mentor-access/ — grant / revoke access (all access changes go through this one endpoint):
{
"platform_key": "string (required)",
"mentor_id": "number (required)",
"role": "editor | chat | analytics_viewer (required)",
"users_to_add": "number[]",
"users_to_remove": "number[]",
"groups_to_add": "number[]",
"groups_to_remove": "number[]",
"emails_to_add": "string[]",
"usernames_to_add": "string[]"
}
Grant a user (id 4218) the chat role and revoke a group (id 91) on the agent:
curl -X POST \
"https://api.iblai.app/dm/api/core/rbac/mentor-access/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform_key": "'"$IBLAI_ORG"'",
"mentor_id": 1057,
"role": "chat",
"users_to_add": [4218],
"groups_to_remove": [91]
}'
mentor_id, not the {mentor} UUID —
resolve it from the settings/ read first.role as editor, chat, or analytics_viewer and
the add/remove arrays apply to that role only.permissions/check/ before searching — if the user lacks
access to /users/ or /groups/, skip the corresponding autocomplete.emails_to_add and usernames_to_add invite by identifier without a prior id
lookup; users and groups are added/removed by numeric id from the search reads.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-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./iblai-api-agent-createOther plugins' skills for the same job