Iblai Api Studio Subsectionのロゴ

Iblai Api Studio Subsection

組織
iblai
iblai-api-studio-subsection

Manage subsections (sequential blocks) of an Open edX course on Studio — create them inside a section, rename, set the assignment type (graderType from the grading policy), due date, release date, hide-after-due, staff-only visibility and timed-exam settings, reorder or move them between sections, and delete. Use when the user says subsection, lesson, lecture, assignment, due date, graded, timed exam, or "make this a Homework". Session auth via studio.env. For the build order and the other Studio skills, see /iblai-api-studio.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Iblai Api Studio Subsection」を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-subsection
  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-subsection .claude/skills/iblai-api-studio-subsection
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

iblai-api-studio-subsection

A subsection (sequential) sits inside a section and holds units. It is also the grading unit of Open edX: the assignment type and due date live here, and a subsection marked with a type from the grading policy is what gets graded. Same /xblock/ endpoints as sections, different metadata.

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 section locator from /iblai-api-studio-section (or the outline read).
  3. For graded subsections: the assignment type exists in /iblai-api-studio-grading, and the course's pacing is decided (/iblai-api-studio-settings) — due dates behave differently on self-paced courses.

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: parent = a section locator (…+type@chapter+block@…); a subsection is …+type@sequential+block@<hex>.
  • Assignment types must already exist in the grading policy (/iblai-api-studio-grading); the outline root's course_graders lists them.
  • Edits are drafts until /iblai-api-studio-publish. DELETE removes all units inside — confirm with the user first.

Reads

  • GET /xblock/outline/{section} — subsections with their units: each {id, display_name, category: "sequential", published, has_changes, visibility_state, graded, format, due, start, child_info.children: [units]}.
  • GET /xblock/{subsection} — one subsection: metadata (display_name, due, start, hide_after_due, is_time_limited, default_time_limit_minutes, …), graded, format (assignment type), due_date, published, has_changes, visibility_state.
  • GET /xblock/{subsection}?fields=graderType — { "graderType": "Homework" | "notgraded", … }.

Writes

  • POST /xblock/ — create:
    json
    { "parent_locator": "<section>", "category": "sequential", "display_name": "1.1 Getting started" }
    → { "locator": "…+type@sequential+block@<hex>", "courseKey": "…" }.
  • POST /xblock/{subsection} — grading and schedule (send only what changes):
    json
    { "graderType": "Homework",
      "metadata": { "due": "2026-10-15T23:59:00Z", "hide_after_due": true } }
    → { "id", "data": null, "metadata": {…}, "graderType": "Homework" }. graderType = a type from the grading policy exactly as spelled ("Homework", "Final Exam"), or "notgraded" to ungrade. Studio also stores it as format and sets graded. Other metadata: display_name; start (release date; must not be before the section's); visible_to_staff_only: true|false; hide_after_due (users cannot open after the due date); show_correctness: "always" | "never" | "past_due".
  • POST /xblock/{subsection} — timed exam:
    json
    { "metadata": { "is_time_limited": true, "default_time_limit_minutes": 60, "is_practice_exam": false, "is_proctored_enabled": false } }
    (is_time_limited: false turns it off; the other exam keys can be omitted.)
  • POST /xblock/{section} { "children": ["<sub A>", "<sub B>", …] } — reorder inside the section (full list).
  • PATCH /xblock/ { "move_source_locator": "<subsection>", "parent_locator": "<other section>", "target_index": 0 } — move to another section (index optional) → { "move_source_locator", "parent_locator", "source_index" }.
  • POST /xblock/ { "duplicate_source_locator": "<subsection>", "parent_locator": "<section>" } — duplicate with units.
  • DELETE /xblock/{subsection} → 204. Confirm with the user first.
  • POST /xblock/{subsection} { "publish": "make_public" } — publish it and its units.

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")
SECTION="block-v1:acme+DATA101+2026-T1+type@chapter+block@e28d428eea734d7fb9328e8d5fd404de"

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

curl "${S[@]}" -X POST "$STUDIO_URL/xblock/$SUB" \
  -d '{"graderType":"Homework","metadata":{"due":"2026-10-15T23:59:00Z"}}'

Notes

  • A subsection with graderType set but no problems inside counts as an assignment with zero points; add a /iblai-api-studio-problem block or leave it notgraded.
  • due on a self-paced course is ignored by the LMS (relative dates apply) — set self_paced deliberately in /iblai-api-studio-settings.
  • Studio echoes metadata already stored (e.g. default_time_limit_minutes: 0) even when you did not send it; that is not an error.
  • Ungrading: {"graderType": "notgraded"}; clearing a due date: {"metadata": {"due": null}}.
  • Next: /iblai-api-studio-unit.

よくある質問

AIスキル「Iblai Api Studio Subsection」では何ができますか?

Manage subsections (sequential blocks) of an Open edX course on Studio — create them inside a section, rename, set the assignment type (graderType from the grading policy), due date, release date, hide-after-due, staff-only visibility and timed-exam settings, reorder or move them between sections, and delete. Use when the user says subsection, lesson, lecture, assignment, due date, graded, timed exam, or "make this a Homework". Session auth via studio.env. For the build order and the other Studio skills, see /iblai-api-studio.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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