iblai-api-agent-skilllisted
Install: claude install-skill iblai/api
# iblai-api-agent-skill
Manage an agent's skills via the API: browse the org's skill catalog, toggle
which skills an agent has assigned, and manage the catalog itself (create / edit
/ delete reusable skills). Use when giving an agent reusable skill instructions.
## Auth & conventions
- **Base URL:** `https://api.iblai.app`
- **Header:** `Authorization: Api-Token $IBLAI_API_KEY` on every request.
- **Path vars:** `{org}` = `$IBLAI_ORG`, `{username}` = `$IBLAI_USERNAME`,
`{mentor}` = the agent's unique id (e.g. `d17dc729-60fd-4363-81a0-f67d9318b03e`).
- Not connected yet? Run **`/iblai-api-login`** first to populate `IBLAI_ORG`,
`IBLAI_USERNAME`, and `IBLAI_API_KEY`.
## Reads
- **GET** `https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/mentors/{mentor}/claw-config/` — gate (skills require a sandbox).
- **GET** `https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/agent-skills/` — platform skill catalog.
- **GET** `https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/mentors/{mentor}/skills/` — skills assigned to this agent.
## Writes
### Assignment (toggle)
- **POST** `…/mentors/{mentor}/skills/` — assign a skill to the agent:
```json
{
"skill": "uuid (required)",
"enabled": "boolean"
}
```
- **PATCH** `…/mentors/{mentor}/skills/{assignmentId}/` — enable / disable an assignment:
```json
{
"enabled": "boolean"
}
```
- **DELETE** `…/mentors/{mentor}/skills/{assignmentId}/` — unassign the skill (no body).
### Catalog CRUD
- **POST** `…/orgs/{org