Iblai Api Studio Sectionのロゴ

Iblai Api Studio Section

組織
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.

概要

公開者iblai
リポジトリvibe
スキル名iblai-api-studio-section
スター
229
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    iblaiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Iblai Api Studio Section」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-section
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIblai Api Studio Sectionを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にIblai Api Studio Sectionを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Iblai Api Studio Sectionは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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).

よくある質問

AIスキル「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.

TypingMindでIblai Api Studio Sectionを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Iblai Api Studio Sectionはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIblai Api Studio Sectionをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-sectionを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Iblai Api Studio Sectionを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Iblai Api Studio Sectionで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIblai Api Studio Sectionを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Iblai Api Studio Section」は無料ですか?

はい。iblaiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇