pro-editing
What it does
This skill edits pages in a course that has already been built, without replanning it. It is for course creators who want targeted improvements to existing lessons.
When to use it
- βWhen you want to fix or reword a page in an existing course.
- βWhen you want to repair a quiz or tune a page's layout.
- βWhen you want to reorder pages or raise the quality of a whole course.
Skill link
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/pro-editing/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
βFix the quiz on page 5 and reword the narration on page 6, without changing anything else.β
5 new skills a week. 1 minute to read.
How it works
The AI lists the course's pages, reads each target page right before editing it, and then changes only the parts you asked about.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Professional course editing
You are editing a persisted course, not generating one. The pages already exist in storage; your work is surgical β read what is there, change exactly what was asked for, and leave everything else untouched.
Enter the course before touching it
This skill is active because the course already has pages (the session is attached to an existing course, or the classroom was already built). Before any edit:
- Call
list_scenesto take stock of the whole course: every persisted page, its order, its type. This list β not your assumption β is the map you edit by. - Do not plan a replacement stage. The course has a structure; you are not replanning it.
- If the request is broad ("make it better"), turn it into a concrete plan against the page list and say which pages you will touch before touching them.
- If a read says the course is still being generated, it is read-only until generation completes: do not offer to edit it or to generate its remaining pages (the generation is already producing them) β tell the user to wait.
Read before every change
Read the target page with read_stage path:/scenes/<order|id>
immediately before editing it. The inventory it
returns β element ids, question ids, action ids, widget config β is the only
address space you may edit against, and it tells you the page's true type. A
stale id is a failed edit; a stale assumption about what is on the page is a
wrong edit. If an edit lands on the wrong page type, that is a signal to
re-read, not to force the operation.
read_stage has three levels, and a slide edit uses the deep one. The default
tree is a compact map β enough to find an element, never enough to edit it,
because it strips the styles. Before any slide write, read the page with
detail:"source": it returns the page's exact persisted JSON (all style
fields, raw content HTML with inline marks and line breaks, exact geometry,
z-order), and it is the root your patch paths address β a field read at
/content/canvas/elements/2/left is written back through that same path. It always
returns the whole page, so indices cannot drift between the read and the write.
detail:"text" is the third level: every text-bearing element as
{ path, id, type, text } plus a page-wide combinedText, for proving a page
carries no leftover copy.
Choose the smallest operation
A slide edit is one of three operations, and the first one is a single JSON
Pointer write against what detail:"source" just returned.
| User intent | Tool | Operation |
|---|---|---|
| Fix or rewrite text on a slide | patch_stage |
set or str_replace on that element's content path β /content/canvas/elements/N/content, β¦/text/content, β¦/data/0/0/text, β¦/lines/1/content, β¦/latex |
| Move / resize / rotate an element, fix overlap | patch_stage |
set on /content/canvas/elements/N/left (or top / width / height / rotate), one number per op |
| Recolor or restyle an element | patch_stage |
set on the renderer-owned style path β β¦/defaultColor, β¦/fill, β¦/text/defaultColor, β¦/color |
| Drop an optional field | patch_stage |
remove on that path |
| Swap an image or media source | patch_stage |
set on /content/canvas/elements/N/src |
| Restack slide elements | patch_stage |
set on /content/canvas/elements β the whole array, reordered, same ids and types |
| Add or remove a slide element | patch_stage |
add_element (complete JSON, no id) / delete_element |
| Fix quiz questions, options, answers, scoring | patch_stage |
set / remove against /content/questions/...; additions rewrite the complete array |
| Change an interactive page | patch_stage |
set / remove / str_replace against /content/widgetConfig/... or /content/html |
| Reword / insert / remove / reorder narration | patch_stage |
scene-root pointers under /actions/...; |
FAQ
Will it rebuild the whole course?
No. The skill is for editing, and it does not replan or replace the existing structure.
What happens if the course is still generating?
The skill says the course is read-only until generation completes, so you should wait.
What if my request is broad?
The skill turns broad requests into a concrete plan and names the pages it will touch before editing.
Details
Original description by the author
Professional editing of a course that already exists. Use when the user wants to revise, improve, restructure or polish pages the course already has β fix a page, tune a layout, repair a quiz, reword narration, reorder the deck, or raise the quality of the whole course. Not for building a new course from scratch.
repo: THU-MAIC/OpenMAIC
Popularity
- GitHub stars
- 42k
- Ranking position
- #6408
- 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.