/iblai-vibe:iblai-api-studio-unitfrom ibl.ai vibe
Manages Open edX course units (vertical blocks) on Studio: create, rename, duplicate, move, delete, set staff-only visibility, and list/reorder components. Activated when users mention units, pages, or lesson structure.
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.
A unit (vertical) is one user-facing page inside a subsection; it
holds the components (html, problem, pdf, …). Publishing happens at
unit level or above. This skill is the container; content goes in with
/iblai-api-studio-html, /iblai-api-studio-problem, /iblai-api-studio-pdf.
node .claude/skills/iblai-api-studio-auth/scripts/studio-login.mjs --check prints two oks; otherwise run /iblai-api-studio-auth first — do not attempt the calls below./iblai-api-studio-subsection (or GET /api/v1/ibl/course/{COURSE}/units from /iblai-api-studio-outline for existing units)./iblai-api-studio).$STUDIO_URL; Studio session cookies from studio.env (its values are single-quoted — bash strips the quotes; any other parser must strip them too, or Studio answers 500: /iblai-api-studio-auth).set -a; . ./studio.env; set +a
S=(-s -b "studio_session_id=$STUDIO_SESSION; csrftoken=$STUDIO_CSRF" -H "X-CSRFToken: $STUDIO_CSRF" \
-H "Origin: $STUDIO_URL" -H "Referer: $STUDIO_URL/" -H "Accept: application/json" -H "Content-Type: application/json")
…+type@sequential+block@…); a unit is …+type@vertical+block@<hex>./iblai-api-studio-publish. DELETE removes the components inside — confirm with the user first./api/contentstore/v1/container/vertical/{unit}/children — the components in order:
{ "children": [ { "name", "block_id", "block_type", "actions": {can_copy, can_duplicate, can_move, can_delete, …}, "validation_messages", "render_error", … } ] }.
This is the only JSON listing of a unit's components (GET /xblock/{unit} and /xblock/outline/… stop at the unit)./xblock/{unit} — the unit itself: display_name, metadata, published, has_changes, visibility_state, released_to_students, start, graded, format, lms_url (user deep link), studio_url./xblock/container/{unit} — same plus ancestor_info.ancestors (subsection, section, course) and currently_visible_to_students./xblock/outline/{subsection} — units of one subsection with publish state./xblock/ — create:
{ "parent_locator": "<subsection>", "category": "vertical", "display_name": "Reading: what is data?" }
→ { "locator": "…+type@vertical+block@<hex>", "courseKey": "…" }./xblock/{unit} { "metadata": { "display_name": "New name" } } — rename; { "metadata": { "visible_to_staff_only": true } } — hide from users (false to show)./xblock/{unit} { "children": ["<component A>", "<component B>", …] } — reorder components (send every current component id in the new order)./xblock/ { "move_source_locator": "<unit>", "parent_locator": "<other subsection>", "target_index": 0 } — move a unit (or, with a component id, move a component into another unit)./xblock/ { "duplicate_source_locator": "<unit>", "parent_locator": "<subsection>" } — duplicate with its components → {locator, courseKey}./xblock/{unit} → 204. Confirm with the user first. (Same call deletes a single component by its locator.)/xblock/{unit} { "publish": "make_public" } — publish this unit (/iblai-api-studio-publish for states and discard).set -a; . ./studio.env; set +a
S=(-s -b "studio_session_id=$STUDIO_SESSION; csrftoken=$STUDIO_CSRF" -H "X-CSRFToken: $STUDIO_CSRF" \
-H "Origin: $STUDIO_URL" -H "Referer: $STUDIO_URL/" -H "Accept: application/json" -H "Content-Type: application/json")
SUB="block-v1:acme+DATA101+2026-T1+type@sequential+block@8b9148c629c54a46b7404a88fcb528d0"
UNIT=$(curl "${S[@]}" -X POST "$STUDIO_URL/xblock/" \
-d "{\"parent_locator\":\"$SUB\",\"category\":\"vertical\",\"display_name\":\"Reading\"}" \
| python3 -c 'import sys,json; print(json.load(sys.stdin)["locator"])')
# …add components with /iblai-api-studio-html, -problem, -pdf… then list them:
curl "${S[@]}" "$STUDIO_URL/api/contentstore/v1/container/vertical/$UNIT/children" \
| python3 -c 'import sys,json; [print(c["block_type"], c["name"], c["block_id"]) for c in json.load(sys.stdin)["children"]]'
lms_url on the unit is the user deep link on the LMS host; the user
app equivalent is $LMS_APP_URL/platform/<org>/course-content/<course_key>/course?unit_id=<unit>./iblai-api-studio-html, /iblai-api-studio-problem, /iblai-api-studio-pdf, then /iblai-api-studio-publish.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
166 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.npx claudepluginhub iblai/base --plugin iblai-vibeOther plugins' skills for the same job