page-clone
Skill by THU-MAIC
Builds one new course page that keeps the design of an existing page. It copies the model page and replaces only the content slots with new words, for authors of course decks.
Install page-clone
Built from the published package, never by AI.
git clone --depth 1 https://github.com/THU-MAIC/OpenMAIC /tmp/OpenMAIC && mkdir -p ~/.claude/skills && cp -r /tmp/OpenMAIC/skills/agent-runtime/page-clone ~/.claude/skills/page-cloneRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/THU-MAIC/OpenMAIC /tmp/OpenMAIC && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenMAIC/skills/agent-runtime/page-clone ~/.gemini/antigravity-cli/skills/page-cloneAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
page-clone is an agent skill for building one new course page that inherits the design of an existing page. It copies the model page with duplicate_scene, reads the copy's JSON with read_stage, and then rewrites each content slot with one patch_stage call per slot. Geometry, colours, fonts and decorative elements stay as copied, and the skill leaves rules, bands, page numbers and logos untouched.
After the text is replaced, the skill reads the page's words to find leftover text from the old topic and asks for narration with generate_actions. It also covers overflow checks with render_scene_preview when that tool is available, and advises shortening text or splitting content across pages. It is meant for course authors who need a new page to match an imported deck or an earlier page in the same course. Course-level layout planning is handled by a separate skill, style-clone, and revising a finished page is handled by pro-editing.
Written from the project's SKILL.md and checked against it.
What it can do
- duplicate_sceneCopies the model page at a chosen position with a new title and a new outline entry.
- read_stageReads the copied page's persisted JSON, or only its text, to plan and check edits.
- patch_stageReplaces the words in one content slot per call, leaving all other values unchanged.
- delete_elementRemoves a content slot the new content does not need, along with any animation bound to it.
- add_elementAdds a new element, built from a copy of an existing element, when a page needs one more slot.
- generate_actionsWrites narration for the cloned page so it is no longer silent.
- render_scene_previewRenders a preview to check for text overflow, when this tool is registered.
Try asking
- Clone slide 3 as the model and write a new recap page for chapter 4
- Duplicate the imported deck's summary page and fill it with my new topic
- Copy the existing quiz page design and replace the questions with mine
Good to know
- Does not use generate_scene for cloning, because it re-creates the page design from scratch.
- Patching a path only changes that path. It does not create pictures; a new image needs generate_image first.
- Replacement text should be about the same length as the text it replaces, or the page may overflow.
- Render previews depend on render_scene_preview being registered in the runtime.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/agent-runtime/page-clone/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB
Alternatives to page-clone
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
page-clone: common questions
Does page-clone keep the original design of a page?
Yes. It copies the model page with duplicate_scene and changes only the content slots, so geometry and styling stay as copied. The source says generate_scene is not used for cloning because it would redraw the page.
What if the new content has more points than the layout has slots?
The skill says to cut the content to the layout's capacity first, then split it across two cloned pages, then pick a roomier model page. Growing the layout is described as a last resort.
Does it write narration for the new page?
Yes. It calls generate_actions on the copy and then checks that each speech line refers to the new page's subject, not the model page's, before generating audio.
How do I install page-clone?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is page-clone free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is page-clone safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to page-clone?
Similar skills: ask-user-question, beads, google_tasks, recall.
