Iblai Api Studio Section logo

Iblai Api Studio Section

Organization
iblai
iblai-api-studio-section

Manage the top level of an Open edX course outline on Studio — create sections (chapter blocks) under the course root, rename them, set release dates and staff-only visibility, reorder them, read the whole outline with publish state, and delete sections. Use when the user says section, week, module, chapter, course outline, "hide this from users", or reorder. Session auth via studio.env. For the build order and the other Studio skills, see /iblai-api-studio.

Overview

Publisheriblai
Repositoryvibe
Skill nameiblai-api-studio-section
Stars
229
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by iblai on GitHub. Read the source before you install it.

Installation

Install the Iblai Api Studio Section AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-section
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iblai/vibe.git /tmp/vibe
mkdir -p .claude/skills
cp -r /tmp/vibe/skills/content/iblai-api-studio-section .claude/skills/iblai-api-studio-section
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Iblai Api Studio Section in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Iblai Api Studio Section on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Iblai Api Studio Section is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

iblai-api-studio-section

A course outline is a tree: course → section (chapter) → subsection (sequential) → unit (vertical) → components. Sections are the top level. This skill covers sections and the outline read; subsections and units have their own skills with the same /xblock/ mechanics.

Before you start

  1. Preflight: 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.
  2. A course key from /iblai-api-studio-course-create (→ ROOT below) and the outline planned per /iblai-api-studio.
  3. Building a whole new outline? /iblai-api-studio-outline creates every section/subsection/unit in one call; use this skill for edits and additions.

Auth & conventions

  • Base URL: $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).
  • Snippet:
    bash
    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")
  • Keys: course root ROOT=block-v1:<org>+<number>+<run>+type@course+block@course; a section is block-v1:…+type@chapter+block@<hex> (the locator returned on create).
  • Edits land in the draft; users see them only after /iblai-api-studio-publish.
  • DELETE is destructive (removes every subsection/unit inside) — confirm with the user first.

Reads

  • GET /xblock/outline/{ROOT} — the full outline, sections → subsections → units (components are not included). Each node: {id, display_name, category, has_children, published, published_on, has_changes, visibility_state, released_to_students, release_date, start, due, format, graded, has_explicit_staff_lock, studio_url, lms_url, actions, child_info: {category, display_name, children: […]}}. visibility_state ∈ live · ready (published, release date in the future) · unscheduled · needs_attention (unpublished changes) · staff_only · gated. The root also carries course_graders (assignment types from the grading policy) and start.
  • GET /xblock/outline/{section} — the same for one section and its descendants.
  • GET /xblock/{section} — the section's own fields (metadata, published, has_changes, start, visibility_state), no children.

Writes

  • POST /xblock/ — create a section:
    json
    { "parent_locator": "<ROOT>", "category": "chapter", "display_name": "Week 1 — Foundations" }
    → { "locator": "block-v1:…+type@chapter+block@<hex>", "courseKey": "course-v1:…" }. New sections append at the end.
  • POST /xblock/{section} — update fields; send only what changes:
    json
    { "metadata": { "display_name": "Week 1", "start": "2026-10-01T00:00:00Z", "visible_to_staff_only": true } }
    → { "id", "data": null, "metadata": {…echo of the stored metadata…} }. start = release date (ISO 8601 UTC; users cannot open it before). visible_to_staff_only: true hides it from users even when published (false or "nullout": ["visible_to_staff_only"] to clear). Optional: "metadata": {"highlights": ["Topic A", "Topic B"]} for weekly highlight emails.
  • POST /xblock/{ROOT} { "children": ["<section A>", "<section B>", …] } — reorder sections (the list must contain every current section id). Sections cannot be moved with the move_source_locator PATCH (400 "You can not move chapter into course"); reorder this way.
  • POST /xblock/ { "duplicate_source_locator": "<section>", "parent_locator": "<ROOT>" } — duplicate a section with everything inside → {locator, courseKey}.
  • DELETE /xblock/{section} → 204. Confirm with the user first.
  • POST /xblock/{section} { "publish": "make_public" } — publish the section and all its descendants (details and discard_changes in /iblai-api-studio-publish).

Example

bash
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")
COURSE="course-v1:acme+DATA101+2026-T1"; ROOT="block-v1:${COURSE#course-v1:}+type@course+block@course"

SECTION=$(curl "${S[@]}" -X POST "$STUDIO_URL/xblock/" \
  -d "{\"parent_locator\":\"$ROOT\",\"category\":\"chapter\",\"display_name\":\"Week 1\"}" \
  | python3 -c 'import sys,json; print(json.load(sys.stdin)["locator"])')

curl "${S[@]}" -X POST "$STUDIO_URL/xblock/$SECTION" -d '{"metadata":{"start":"2026-10-01T00:00:00Z"}}' >/dev/null

curl "${S[@]}" "$STUDIO_URL/xblock/outline/$ROOT" | python3 -c '
import sys,json
for s in json.load(sys.stdin)["child_info"]["children"]:
    print(s["display_name"], s["visibility_state"], "changes" if s["has_changes"] else "", s["id"])'

Notes

  • Creating a section publishes nothing; a brand-new section reads published: true, has_changes: false only because it is empty — its content will need publishing.
  • The outline call is the cheapest way to get every id at once; cache the ids you get back from creates instead of re-reading after each call.
  • Dates are UTC ISO strings; Studio echoes them back normalized (2026-10-01T00:00:00Z).
  • Course-level start (in /iblai-api-studio-settings) gates everything: a section release date earlier than the course start is still not visible.
  • Next: /iblai-api-studio-subsection (lessons inside this section).

Frequently asked questions

What does the Iblai Api Studio Section AI skill do?

Manage the top level of an Open edX course outline on Studio — create sections (chapter blocks) under the course root, rename them, set release dates and staff-only visibility, reorder them, read the whole outline with publish state, and delete sections. Use when the user says section, week, module, chapter, course outline, "hide this from users", or reorder. Session auth via studio.env. For the build order and the other Studio skills, see /iblai-api-studio.

Why use Iblai Api Studio Section on TypingMind?

Because you install it once and use it with any model. Iblai Api Studio Section is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Iblai Api Studio Section in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-section. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Iblai Api Studio Section?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Iblai Api Studio Section?

As many as you like. As long as a model supports skills, you can use Iblai Api Studio Section with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Iblai Api Studio Section AI skill free?

Yes. It is published on GitHub by iblai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇