stage-design
Skill này làm gì
Skill này là phương pháp nền tảng để tạo một lớp học OpenMAIC mới, bất kể chủ đề. Nó dành cho giáo viên và người làm khóa học xây bài học từ đầu.
Khi nào nên dùng
- ✓Khi bạn muốn xây một lớp học hoàn toàn mới với nhiều trang.
- ✓Khi bạn cần xây lại một lớp học từ đầu.
- ✓Khi bạn muốn xác nhận kế hoạch với người dùng trước khi tạo bất kỳ trang nào.
Liên kết skill
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/stage-design/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi xây một lớp học mới về quang hợp, bắt đầu bằng việc lên kế hoạch các trang cùng tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI đề xuất một kế hoạch trang, chốt với bạn, rồi tạo lớp học, danh sách thành viên và các trang theo thứ tự cố định, và kết thúc bằng phần âm thanh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có thay đổi lớp học đã có không?
Không. Skill chỉ áp dụng cho lớp học chưa có trang nào, còn lớp học có sẵn được sửa bằng phương pháp khác.
Nó có cần tôi duyệt trước khi tạo trang không?
Thường là có. Skill yêu cầu bạn xác nhận kế hoạch trước, trừ khi bạn đã đưa ra cấu trúc trang đầy đủ.
Nó có làm việc với mọi môn học không?
Có. Skill nói trình tự giống nhau cho mọi môn, dù skill chủ đề có thể định hình nội dung.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 42k
- Vị trí xếp hạng
- #6411
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
build-personal-skill
42kGiúp agent của bạn biến lịch sử soạn khóa học và trò chuyện thành một skill cá nhân tái sử dụng, dựa trên các mẫu trong chính lịch sử của bạn.
curriculum-planner
42kGiúp agent của bạn lên kế hoạch chuỗi bài học liên kết, như khóa bảy ngày hoặc sách chia theo chương, rồi xây từng bài sau khi bạn duyệt.
deep-interactive
42kGiúp agent của bạn thiết kế khóa học mà người học thao tác với mô phỏng, sơ đồ, mã và trò chơi ở hầu hết các trang, thay vì đọc slide.
deep-research
42kGiúp agent của bạn xây khóa học về chủ đề mới hoặc dựa trên dữ kiện, nghiên cứu nguồn trực tiếp trước và gắn mỗi khẳng định với nguồn đã kiểm tra.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.