شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها iblai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Iblai Api Studio Subsection في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-subsection
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Iblai Api Studio Subsection في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Iblai Api Studio Subsection تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Iblai Api Studio Subsection بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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 Api Studio Subsection على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Iblai Api Studio Subsection عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Iblai Api Studio Subsection في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/iblai/vibe/tree/main/skills/content/iblai-api-studio-subsection. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Iblai Api Studio Subsection؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Iblai Api Studio Subsection؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Iblai Api Studio Subsection معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Iblai Api Studio Subsection مجانية؟

نعم. نشرها iblai على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇