stage-dsl

stage-dsl is a skill for Claude Code, Codex from THU-MAIC/OpenMAIC. It costs 104 tokens per session (2,202 once invoked), scanned A, original, MIT.

A reference map for reading and editing an OpenMAIC stage document, which stores classroom metadata, an outline, ordered pages, page content, and actions.

In plain words
What is it for?
Reading scenes, editing scene content or actions, searching stage data, and finding the right tools for changing pages and their order.
Why use it?
It helps locate the correct part of the document before changing it, especially when the structure or path to a field is unclear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reading scenes, editing scene content or actions, searching stage data, and finding the right tools for changing pages and their order.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thu-maic/openmaic/stage-dsl
About the project

OpenMAIC is a multi-agent classroom platform that uses agents to plan, build, and revise interactive courses from prompts and uploaded materials. It is designed for immersive learning experiences and supports course components such as slides, quizzes, interactives, projects, images, video, voices, and PowerPoint imports, with catalogue skills covering its workflows.

THU-MAIC/OpenMAIC · 33,238 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add THU-MAIC/OpenMAIC --skill stage-dsl
Clone the repo
git clone --depth 1 https://github.com/THU-MAIC/OpenMAIC

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stage-dsl

README.md
[![agentmods](https://agentmods.dev/badge/skills/thu-maic/openmaic/stage-dsl.svg)](https://agentmods.dev/skills/thu-maic/openmaic/stage-dsl)
Your own site
<a href="https://agentmods.dev/skills/thu-maic/openmaic/stage-dsl"><img src="https://agentmods.dev/badge/skills/thu-maic/openmaic/stage-dsl.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.02202
Opus 5 $0.00052 $0.01101
Sonnet 5 $0.00021 $0.00440
Haiku 4.5 $0.00010 $0.00220

Measured 8d ago against content hash 53a7d94da2b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

stage-dsl scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-runtime/stage-dsl/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The stage document map

This is a map, not the field manual.

Use it to decide which subtree owns a value, which path to read, and which reference chapter to load. Then read the exact source before writing.

The document model

The durable structure is:

stage
├── outline
└── scenes[]                    ordered by scene.order, shown as pages 1..N
    ├── id                     stable scene identity
    ├── order                  1-based page position
    ├── type                   slide | quiz | interactive | pbl
    ├── content                shape selected by scene.type
    │   ├── slide.canvas
    │   ├── quiz.questions[]
    │   ├── interactive.html / widgetConfig
    │   └── pbl.projectV2
    └── actions[]              ordered playback verbs

stage is the stage's metadata. outline is the generation plan. A persisted page is a scene. Its type and content.type must agree.

The three generic tools do not replace page-list operations. Insert, delete, reorder, and retitle pages with edit_deck.

Tool vocabulary

Need Tool How
Read a scene read_stage `path:/scenes/<order
Edit scene content or actions patch_stage `target:/scenes/<order
Search visible text or source grep_stage literal search over the whole stage
List stages in folders list_folder_stages returns the explicit stageId required by every stage tool
Insert, delete, reorder, or retitle pages edit_deck page-list operations stay outside the document patcher
Plan and build a new stage conversation + create_stage + generate_scene settle the page plan in conversation, then call generate_scene once per page with an explicit brief
Set the classroom cast set_roster write the settled roster before page generation

Addressing with read_stage

Path Resolves to
"" or omitted the whole stage
/outline the persisted outline snapshot
/scenes/3 the scene whose order is 3
/scenes/scene_abc the scene with that stable id
/scenes/scene-abc the historical hyphenated scene-id form
/scenes/3/actions only scene 3's action array

Read the full file on GitHub · 191 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 191 lines · 104 tokens per session scan A 53a7d94da2b8

Subscribe to this mod's changes

stage-dsl is a skill published in the GitHub repository THU-MAIC/OpenMAIC (33,238 stars, last pushed yesterday), licensed MIT. It adds 104 tokens to every session and 2,202 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dev-camp-deck

Creates a professional PowerPoint presentation about a Copilot Dev Camp lab or topic. Researches Microsoft Learn documentation, organizes content into a slide structure, and generates a polished deck with speaker notes. Use when user asks to "create a presentation on", "make a deck about", "build a slideshow for"…

microsoft/copilot-camp · 91 tokens

read-book

When you want to read and extract structured notes from a book — PDF, EPUB, MOBI, markdown, .txt, pasted text, or URL to a public-domain work. Reads in chunks (by chapter when a TOC exists, by 50-page blocks otherwise), extracts per-chapter TL;DR + key concepts + quotes + action items + frameworks, and offers to…

coreyhaines31/makerskills · 192 tokens

exam-study-guide

A study-guide builder for a completed exam chapter that has not yet passed its required checks. It creates a structured teaching checklist and, in full mode, a self-contained HTML and printable PDF guide with readable formulas, visible images, explanations, examples, and answers.

ZeKaiNie/universal-examprep-skill · 113 tokens

training-report

Produce a professional training/workshop report as a .docx file. Use this skill whenever the user mentions "training report", "workshop report", "compte rendu", "compte rendu de formation", "formation report", "debriefing a workshop", "write up a training session", "résumé de formation", or any request to document a…

samber/cc-skills · 179 tokens

flashcards-dashboard

Creates an interactive HTML learning dashboard from a source file by extracting key concepts into validated flashcards with source links, hover-detail answers, filters, review tracking, shuffle, and progress tracking. Use when the user says: "Create flashcards from this file" "make an HTML learning dashboard" "turn…

pnp/sharepoint-skills · 115 tokens

slides.convert_to_typst

Convert markdown slides to Typst-compatible format via pandoc.

causify-ai/helpers · 11 tokens