Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

stage-dsl

Skill by THU-MAIC

Maps the stage document of OpenMAIC so an assistant can read and edit lesson pages safely. It explains the scene structure, the read_stage, patch_stage and grep_stage tools, and which reference to load for each field type.

  • Score 94
  • 45k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install stage-dsl

Built from the published package, never by AI.

git clone --depth 1 https://github.com/THU-MAIC/OpenMAIC /tmp/OpenMAIC && mkdir -p ~/.claude/skills && cp -r /tmp/OpenMAIC/skills/agent-runtime/stage-dsl ~/.claude/skills/stage-dsl

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install stage-dsl in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Stage DSL is a skill that maps the stage document used by OpenMAIC, an AI classroom tool. It explains how a stage is split into an outline and ordered scenes, which scene types exist (slide, quiz, interactive, pbl), and how to find the path to a given field. It tells the assistant to read a scene before writing, to use JSON Pointer paths rooted at the scene, and to make atomic patches with patch_stage.

It also routes to field-level references for quizzes, interactive widgets, actions and PBL projects, and points to the installed slide-dsl skill for slide canvas editing. Inserting, deleting, reordering and retitling pages stays with edit_deck. It suits developers and AI assistants that edit OpenMAIC lesson pages.

Written from the project's SKILL.md and checked against it.

What it can do

  • read_stageReads a whole stage, the outline, or a single scene in tree, source or text form.
  • patch_stageApplies atomic set, remove, str_replace, add_element and delete_element operations to one scene.
  • grep_stageRuns a literal, case-insensitive search over visible text or serialized scene source.
  • edit_deckInserts, deletes, reorders and retitles pages, which patch_stage cannot do.
  • list_folder_stagesLists stages in folders and returns the stageId required by stage tools.
  • set_rosterWrites the settled classroom cast before page generation.
  • Field reference routingSends the assistant to reference chapters for quizzes, widgets, actions and PBL projects.

What you need

  • OpenMAIC with its stage tools available
  • The slide-dsl skill installed for slide canvas editing

Try asking

  • Change the answer option on question 2 of scene 3 in my OpenMAIC stage.
  • Find every place the old course name appears in this stage.
  • Replace the percentage in the HTML widget on page 4 without rewriting it.

Good to know

  • patch_stage cannot insert, delete, reorder or retitle pages; use edit_deck.
  • Read-side media placeholders are read-only and cannot be written back.
  • grep_stage returns at most 10 matches per scene and 30 overall, with a cursor to continue.
  • The slide canvas is covered by the separate slide-dsl skill, not this map.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/agent-runtime/stage-dsl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/actions.md11 KB
  • references/pbl.md14 KB
  • references/quiz.md10 KB
  • references/widget.md13 KB

Alternatives to stage-dsl

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

stage-dsl: common questions

Which tools does the stage DSL skill cover?

It covers read_stage, patch_stage and grep_stage for reading and editing an OpenMAIC stage document. It also refers to edit_deck, list_folder_stages and set_roster for page-level and roster tasks.

Can it edit slide designs?

Slide canvas editing is handled by the installed slide-dsl skill, which the source describes as the complete slide canvas manual. This skill covers the scene structure and points to it.

Why does a rejected patch change nothing?

Operations in one patch_stage call are applied to a clone and validated together, then written once. If any operation fails, none of them are saved.

How do I install stage-dsl?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is stage-dsl free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is stage-dsl safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to stage-dsl?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

stage-dsl Install

Add to stack

Loading.