Iblai Api Studio Grading logo

Iblai Api Studio Grading

Organization
iblai
iblai-api-studio-grading

Read and set an Open edX course's grading policy on Studio — assignment types (Homework, Lab, Exam…) with min_count, drop_count, short_label and weight, the letter-grade cutoffs, grace period and minimum credit grade; replace the whole policy or edit one assignment type. Use when the user says grading policy, assignment types, weights, pass mark, letter grades, drop the lowest, grace period, or "how is the course graded". 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-grading
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 Grading 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-grading
  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-grading .claude/skills/iblai-api-studio-grading
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Iblai Api Studio Grading 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 Grading 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 Grading 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-grading

The grading policy is one JSON object per course: a list of graders (assignment types) and the grade cutoffs. Subsections reference a grader by its type (/iblai-api-studio-subsection graderType), and each grader's weight decides its share of the final grade. Replace the whole object or patch one grader by index.

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.
  3. Set the policy before creating graded subsections (graderType must name an existing type) and before the first publish; decide the pass mark and letter grades with the user.

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")
  • COURSE="course-v1:<org>+<number>+<run>" (raw in the path).
  • Weights are percentages that should sum to 100; Studio does not enforce it — check before writing.
  • Changing a grader's type orphans subsections that reference the old name (they become ungraded) — rename with care.

Reads

  • GET /settings/grading/{COURSE} →
    json
    { "graders": [ { "id": 0, "type": "Homework", "min_count": 4, "drop_count": 1, "short_label": "HW", "weight": 40.0 },
                   { "id": 1, "type": "Final Exam", "min_count": 1, "drop_count": 0, "short_label": "Final", "weight": 60.0 } ],
      "grade_cutoffs": { "Pass": 0.6 },
      "grace_period": null,
      "minimum_grade_credit": 0.8 }
    grace_period is null when zero, otherwise { "hours", "minutes" }.
  • GET /settings/grading/{COURSE}/{index} → one grader object (index = position in graders, 0-based).
  • The outline root (GET /xblock/outline/<course root>, see /iblai-api-studio-section) lists the current type names in course_graders.

Writes

  • POST /settings/grading/{COURSE} — replace the whole policy (send every grader you want to keep):
    json
    { "graders": [
        { "id": 0, "type": "Homework",   "min_count": 4, "drop_count": 1, "short_label": "HW",    "weight": 40 },
        { "id": 1, "type": "Final Exam", "min_count": 1, "drop_count": 0, "short_label": "Final", "weight": 60 } ],
      "grade_cutoffs": { "A": 0.85, "B": 0.7, "Pass": 0.5 },
      "grace_period": { "hours": 0, "minutes": 30 },
      "minimum_grade_credit": 0.8 }
    → the stored policy in the read shape. Fields: type (name shown to users, unique); min_count (how many of this type the course will have — used to compute the average, missing ones count as 0); drop_count (lowest scores ignored); short_label (progress-page abbreviation); weight (percent of final grade). grade_cutoffs: letter → minimum fraction. Pass/fail courses use exactly { "Pass": 0.5 }; letter grades use A, B, C, … with no Pass (the lowest letter is the pass mark). Values descending, all between 0 and 1.
  • POST /settings/grading/{COURSE}/{index} — create or update one grader (index = its position; use the next free index to append):
    json
    { "id": 1, "type": "Lab", "min_count": 6, "drop_count": 2, "short_label": "Lab", "weight": 20 }
    → the grader as stored.
  • DELETE /settings/grading/{COURSE}/{index} → removes that grader. Confirm with the user first (subsections of that type become ungraded).

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"

curl "${S[@]}" -X POST "$STUDIO_URL/settings/grading/$COURSE" -d '{
  "graders": [
    {"id":0,"type":"Homework","min_count":6,"drop_count":1,"short_label":"HW","weight":40},
    {"id":1,"type":"Project","min_count":1,"drop_count":0,"short_label":"Proj","weight":30},
    {"id":2,"type":"Final Exam","min_count":1,"drop_count":0,"short_label":"Final","weight":30}],
  "grade_cutoffs": {"Pass": 0.6}, "grace_period": {"hours": 0, "minutes": 0}, "minimum_grade_credit": 0.8}' \
  | python3 -c 'import sys,json; p=json.load(sys.stdin); print([(g["type"], g["weight"]) for g in p["graders"]], p["grade_cutoffs"])'

Notes

  • New courses ship with four default graders (Homework 15 / Lab 15 / Midterm Exam 30 / Final Exam 40) and {"Pass": 0.5}; replace them rather than appending.
  • A grader with min_count larger than the number of subsections of that type drags the average down (missing assignments score 0) — set min_count to the real number of assignments.
  • weight for a type with no graded subsections still counts (as 0) — remove unused types.
  • What users see: GET $LMS_URL/api/course_home/progress/{COURSE} → grading_policy.assignment_policies (weights as fractions) and grade_range (/iblai-api-studio-lms).

Frequently asked questions

What does the Iblai Api Studio Grading AI skill do?

Read and set an Open edX course's grading policy on Studio — assignment types (Homework, Lab, Exam…) with min_count, drop_count, short_label and weight, the letter-grade cutoffs, grace period and minimum credit grade; replace the whole policy or edit one assignment type. Use when the user says grading policy, assignment types, weights, pass mark, letter grades, drop the lowest, grace period, or "how is the course graded". Session auth via studio.env. For the build order and the other Studio skills, see /iblai-api-studio.

Why use Iblai Api Studio Grading on TypingMind?

Because you install it once and use it with any model. Iblai Api Studio Grading 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 Grading in TypingMind?

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

Which AI models can use Iblai Api Studio Grading?

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 Grading?

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

Is the Iblai Api Studio Grading 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 👇