stage-design
它能做什么
这个技能是创建新 OpenMAIC 课堂的基础方法,无论主题是什么。适合从零开始制作课程的教师和课程制作者。
适用场景
- ✓当你想制作一间包含多个页面的全新课堂的时候。
- ✓当你需要从零重建一间课堂的时候。
- ✓当你想在制作任何页面之前与用户确认方案的时候。
技能链接
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/stage-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我制作一间关于光合作用的新课堂,先与我一起规划页面?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会提出页面方案,与你确定后,按固定顺序创建课堂、名单和页面,最后完成音频。
技术内容(原始 SKILL.md)
作者在 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
常见问题
它会修改已有的课堂吗?
不会。技能只适用于还没有页面的课堂,已有课堂需用另一种方法编辑。
创建页面前需要我批准吗?
通常需要。技能要求你先确认方案,除非你已经提供了完整的页面结构。
它适用于任何学科吗?
适用。技能说明,无论什么学科,步骤顺序都相同,不过主题技能可以影响内容。
详情
作者的原始描述
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
热度
- GitHub 星标
- 42k
- 排名
- #6411
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
build-personal-skill
42k帮你的智能体把你过去的课程制作记录和聊天内容,基于你自己历史中的规律,整理成一份可重复使用的个人技能。
curriculum-planner
42k帮你的智能体规划一系列相互关联的课程,例如七天课程或按章节拆分的书籍,并在你批准后逐一制作。
deep-interactive
42k帮你的智能体设计一门课程,让学习者在大多数页面上操作模拟、图表、代码和游戏,而不是只看幻灯片。
deep-research
42k帮你的智能体制作关于近期或事实性主题的课程,先研究实时来源,并让每项论断都对应一个已核实的来源。