/iblai-vibe:iblai-api-agent-safetyfrom ibl.ai vibe
Configures ibl.ai agent moderation and safety via the platform API: enable flags, system prompts, responses, and review/delete flagged-prompt logs. Use when setting guardrails or auditing flagged content.
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.
Configure an agent's moderation and safety systems via the API: the moderation
and safety enable flags, system prompts, and responses (all saved through the
single settings/ endpoint), plus reviewing and deleting flagged-prompt
moderation logs. Use when setting guardrails or auditing flagged content. The UI
twin is /iblai-vibe-agent-safety.
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).…/users/{username}/mentors/{mentor}/settings/ (JSON,
multipart/form-data or form-encoded) — sending only the changed
field(s)./iblai-api-login first to populate IBLAI_ORG,
IBLAI_USERNAME, and IBLAI_API_KEY.https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/ — load moderation/safety prompts, responses, and enable flags.https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/moderation-logs/?mentor={mentor}&page={n}&page_size={n}&search={q}&start_time={iso}&end_time={iso}&ordering={field} — list the user messages the Moderation Prompt stopped. It only ever returns Moderation System rows. Rows carry id, prompt, reason (why it was flagged), target_system, date_created and mentor (the agent's numeric id). username={u} filters to the user who was flagged, not the caller. Each row names who was flagged with username, email and user_full_name; the last two are null for a row whose user has since been deleted, which a log row is expected to outlive.https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/safety-logs/?mentor={mentor}&page={n}&page_size={n} — the agent replies the Safety Prompt blocked (Safety System rows). Same query parameters and row shape as moderation-logs/; the SDK data layer reads it with useGetSafetyLogsQuery (@iblai/data-layer 1.45.0 or later; @iblai/iblai-js 2.74.1 shipped 1.44.1, without it).…/users/{username}/mentors/{mentor}/settings/ — update moderation/safety fields (send only changed keys):
{
"enable_moderation": "boolean",
"enable_safety_system": "boolean",
"moderation_system_prompt": "string",
"moderation_response": "string",
"safety_system_prompt": "string",
"safety_response": "string"
}
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/moderation-logs/{id}/ — delete a flagged log (no body); …/safety-logs/{id}/ deletes a safety log. Destructive — confirm with the user first.Enable the moderation system and set its system prompt and response (only the changed fields are sent):
curl -X PUT \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mentors/$MENTOR/settings/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-F "enable_moderation=true" \
-F "moderation_system_prompt=Flag any request for medical, legal, or financial advice." \
-F "moderation_response=I can't help with that. Please consult a licensed professional."
settings/ endpoint as the rest of the agent's configuration.moderation-logs/ for Moderation System
catches, safety-logs/ for Safety System catches. Narrow either with
search, start_time, and end_time.moderation_response, and logged in moderation-logs/
while the agent's save_flagged_prompts is on (the default).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