/iblai-vibe:iblai-api-agent-sandboxfrom ibl.ai vibe
Connects/disconnects an ibl.ai agent to a Claw sandbox instance, manages instances, pushes config, runs health checks, and sets the agent model via the platform API.
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.
Wire an agent to a Claw sandbox instance, manage the available instances, push config and run health/connectivity checks, and set the model the agent's workspace uses. Use when connecting an agent to a sandboxed workspace.
https://api.iblai.appAuthorization: Api-Token $IBLAI_API_KEY on every request.… are under https://api.iblai.app/dm/api/ai-mentor —
the /dm gateway routes to the Data Manager service. (…/api/ai-agent/… is an
accept-only alias for the same routes.){org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME,
{mentor} = the agent's unique id (a UUID, e.g. d17dc729-60fd-4363-81a0-f67d9318b03e).
{id} on claw/instances/ and claw/model-providers/ is the integer primary key./iblai-api-login first to populate IBLAI_ORG,
IBLAI_USERNAME, and IBLAI_API_KEY.…/orgs/{org}/claw/instances/ — list registered Claw instances.…/orgs/{org}/claw/instances/{id}/ — retrieve one instance (status, claw_version, last health/pairing).…/orgs/{org}/claw/model-providers/ — list the org's model-provider blocks.…/orgs/{org}/claw/model-providers/{id}/ — retrieve one provider block.…/orgs/{org}/mentors/{mentor}/claw-config/ — the agent's connected instance + push status (404 = not connected).…/orgs/{org}/mentors/{mentor}/agent-config/ — agent workspace config (includes current model).…/orgs/{org}/users/{username}/mentor-llms/?mentor_id={mentor} — available model options.…/orgs/{org}/claw/instances/ — register an instance:
{
"name": "string",
"claw_type": "openclaw | ironclaw | nemoclaw",
"server_url": "https://claw.example.com",
"gateway_token": "string (write-only)",
"connection_params": { "device_identity": {} },
"auth_headers": {},
"deployment_backend": "backend id (optional)"
}
…/claw/instances/{id}/ — edit (send only changed writable keys: name, claw_type, server_url, gateway_token, connection_params, auth_headers, deployment_backend).…/claw/instances/{id}/ — delete instance. Destructive — confirm with the user first.…/claw/instances/{id}/health-check/ — queue a health check (returns 202; poll the instance for last_health_status).…/claw/instances/{id}/test-connectivity/ — TLS reachability + health check.…/claw/instances/{id}/refresh-version/ — detect claw_version from the instance handshake.…/claw/instances/{id}/request-pairing/ — queue a device-pairing request (pending request expires ~5 min). Outward-facing — confirm with the user first.…/claw/instances/{id}/push-providers/ — push all enabled model providers to the instance. Outward-facing — confirm with the user first.…/claw/instances/{id}/security-audit/ — run a security audit (OpenClaw only). Outward-facing — confirm with the user first.…/orgs/{org}/claw/model-providers/ — register a provider block:
{
"server": "instance id (required)",
"name": "minimax",
"base_url": "https://api.minimax.io/anthropic",
"api_type": "anthropic-messages",
"credential_name": "string",
"credential_key": "key",
"model_catalog": [{ "id": "...", "name": "..." }],
"models_mode": "merge | replace",
"enabled": true
}
…/claw/model-providers/{id}/ — edit a provider (send only changed keys).…/claw/model-providers/{id}/ — delete a provider. Destructive — confirm with the user first.…/mentors/{mentor}/claw-config/ — connect the agent to an instance:
{
"server": "instance id (required)",
"enabled": true,
"auto_push": false,
"agent_config": {}
}
…/mentors/{mentor}/claw-config/ — edit the connection (enabled, auto_push, agent_config).…/mentors/{mentor}/claw-config/ — disconnect. Destructive — confirm with the user first.…/mentors/{mentor}/claw-config/push-config/ — push the agent's agent_config to the instance. Outward-facing — confirm with the user first.…/mentors/{mentor}/agent-config/ — update the agent's workspace config (send only changed keys):
{
"model": "string",
"allowed_models": "string[]",
"identity": "string", "soul": "string", "user_context": "string",
"tools": "string", "agents": "string", "bootstrap": "string",
"heartbeat": "string", "memory": "string",
"config": {}
}
identity / soul / user_context / tools / agents / bootstrap / heartbeat /
memory are the claw workspace files (IDENTITY.md, SOUL.md, …) pushed to the instance;
config is a JSON instance-config patch (heartbeat schedule, session isolation, skill
toggles, model fallbacks). config is deny-list validated — writes to gateway.auth,
gateway.controlUi.dangerouslyDisableDeviceAuth, tools.exec.host, sandbox.mode, and
hooks.allowUnsafeExternalContent are rejected.Connect an agent to a Claw instance and enable it (server is the instance's integer id):
curl -X POST \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/mentors/$MENTOR/claw-config/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"server": 12, "enabled": true}'
{mentor} is a UUID, but server and {id} on
claw/instances/ and claw/model-providers/ are integer primary keys.404 from claw-config/ means the agent is not connected to a sandbox yet —
use the connect POST to wire it up.connection_params.device_identity when registering an OpenClaw instance, or
config push fails with missing scope: operator.read.health-check is queued (202) — poll the instance for last_health_status.
Run test-connectivity before connecting an agent to confirm the sandbox is reachable.request-pairing mints a pending request that must be approved on the instance
side (once per platform connection); security-audit is OpenClaw-only.push-config (or set auto_push on the claw-config) so the
agent's workspace reflects the latest agent_config; push-providers syncs the
org's enabled provider blocks to the instance.claw_type is openclaw, ironclaw, or nemoclaw; gateway_token authenticates
the instance to its server. gateway_token, auth_headers, and connection_params
are write-only (never returned by reads).Concepts, architecture, response shapes, enums, and a full walkthrough — ported from the platform-integration guide — live alongside this skill. Read them when the endpoints above aren't enough:
references/concepts.md — how instances, model providers,
agent bindings, pairing, and config push fit together; register/response shapes with the
status / deploy_state enums; model-provider setup; skills in the push flow (CRUD in
/iblai-api-agent-skill); the two-sided device-pairing flow; prebuilt agent-config
library by vertical (iblai/claws); the self-hosted iblai-claw-setup connection
orientation (server provisioning → /iblai-api-infrastructure); a
register→configure→push→chat walkthrough; and troubleshooting.references/workspace-files.md — the agent-config
field → claw workspace-file map (identity→IDENTITY.md, soul→SOUL.md, …), the config
instance patch, and the blocked-path deny-list with what each protects.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