stage-design
What it does
This skill is the base method for creating a new OpenMAIC classroom, whatever its subject. It is for teachers and course creators building a lesson from scratch.
When to use it
- βWhen you want to build a brand-new classroom with several pages.
- βWhen you need to rebuild a classroom from scratch.
- βWhen you want to confirm the plan with the user before any pages are made.
Skill link
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/stage-design/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHelp me build a new classroom on photosynthesis, starting by planning the pages with me.β
5 new skills a week. 1 minute to read.
How it works
The AI proposes a page plan, settles it with you, then creates the classroom, its roster, and its pages in a fixed order, and finishes with audio.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Building one stage
A stage is one classroom: one settled plan, one roster, one deck of pages. This is how a stage is built here, whatever its subject.
A topic skill (deep-interactive, vocational, deep-research,
teacher-style-clone, β¦) may shape what the stage contains β its structure, its
page types, how scenes are named β and where one is active its instructions win
on those questions. The sequence below is not one of those questions: it is the
same under every topic skill. Read this one first, then the topic skill.
Nothing here applies to a stage that already has pages. A stage with persisted
pages is edited, not built (see pro-editing).
The build sequence
Build a NEW stage only when there are no persisted pages yet. Then, in this order:
- Plan the stage in the conversation. Propose the page plan yourself β
each page with its
title,type(slide/quiz/interactive/pbl) andbrief(this page's teaching intent and content outline, the same information a planned outline slot used to carry) β in page order. Settle the plan with the user throughask_userbefore creating anything: there is no outline tool to plan with, so the plan is your words and their sign-off. Skip that confirmation round when the user already gave a complete page structure or explicitly asked you to go ahead directly β their message is the sign-off. A topic skill's structural constraints are a diagnostic the runtime checks against the real stage after each page; you decide how to act on it. create_stagewith the settled course title (pass the series folder'sfolderIdwhen the stage is part of a series, so it is filed in the same call). From here on, pass the returned stageId to every stage tool.set_roster, before any page is generated. Write the classroom the user settled: exactly one teacher, at least two agents in total, each with a concrete persona (2-3 sentences on personality and teaching/learning style, in the stage language) and a voice β calllist_voicesfirst and bind one of the returnedproviderId::voiceIdpairs, or the exact pairregister_voicereturned for a cloned voice; omit the binding when no usable voice exists. Every page's content and narration is written for the roster that exists when the page is generated, so a roster settled late is a roster half the stage never saw.generate_scenefor EACH settled page, in ascending order β one page per call, never more. Pass the page's settledtitle,typeandbrief(plusmaterialFactswhen the page's content comes from attached material); no planned outline is needed. Apblpage is generated the same way and lands as a full PBL project (projectV2) from its brief; a failed generation reports an error and writes nothing. Each call is the durable checkpoint for its page: the page survives an interruption only once the call has returned. As soon as a page'sgenerate_scenesucceeds, callgenerate_ttson that page, then go on to the next page.list_scenesto verify every page you settled is actually persisted.
None of the planning steps is a place to stop: a turn ends when a page actually
landed, when ask_user is waiting on the user, or when the stage is done by the
check below. Reporting what you have planned, imported or confirmed leaves the
user holding an empty deck.
When generate_scene fails
Track generation attempts by stageId + order. Changing the title or brief,
or generating another page in between, does not reset the attempt.
- For
prompt-unavailableor another deterministic failure, do not repeat the same call. - For
invalid-model-output, change the brief without changing the settled teaching intent, then retry once. Retry once for a clearly transient provider failure too. - If that retry fails, do not call
generate_sceneagain for that target during this run. Leave the page unwritten, continue with later pages in the same stage, and name the gap when wrapping up. Do not callask_userafter every failed page or silently drop the page from the settled plan.
Use list_scenes to reconcile persisted pages with the settled plan. A stage
with a missing page can be wrapped up after later pages are built, but it is not
done; name each gap and its latest failure instead of claiming completion.
Narration audio follows narration text
When a page's narration is written or r
FAQ
Does it change an existing classroom?
No. The skill applies only to classrooms with no pages yet, and existing ones are edited with a different method.
Does it need my approval before creating pages?
Usually yes. The skill asks you to confirm the plan first, unless you already gave a full page structure.
Does it work with any subject?
Yes. The skill says the sequence is the same for any subject, though topic skills can shape the content.
Details
Original description by the author
The baseline method for building ONE stage β a single classroom β with this runtime. Covers how the plan is settled in conversation, the order the generation tools are called in, how the classroom roster is written, when narration has to be re-synthesized, and what must be true before a stage is called done. Load this before generating or rebuilding any stage from scratch, whatever its subject; it is the floor the topic skills build on, not an alternative to them.
repo: THU-MAIC/OpenMAIC
Popularity
- GitHub stars
- 42k
- Ranking position
- #6411
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
build-personal-skill
42kHelps your agent turn your past course-making records and chats into a personal, reusable skill, based on patterns found in your own history.
curriculum-planner
42kHelps your agent plan a series of connected lessons, such as a seven-day course or a book split by chapter, and build them one at a time after your approval.
deep-interactive
42kHelps your agent design a course where learners play with simulations, diagrams, code, and games on most pages, instead of reading slides.
deep-research
42kHelps your agent build a course on recent or factual topics by researching live sources first and tying each claim to a source it checked.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.