style-clone
What it does
This skill builds a new course in the visual style of a deck the user has imported. It is for course creators who want their new lessons to match a particular design.
When to use it
- βWhen you have a deck whose design you want to reuse for new lessons.
- βWhen you want new teaching content in someone else's slide style.
- βWhen you want the result to look like one author made the whole course.
Skill link
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/style-clone/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
βTeach a new lesson on machine learning using the look of the deck I imported.β
5 new skills a week. 1 minute to read.
How it works
The AI imports the deck's layouts, copies the layout that fits each new page, and rewrites the copied content one element at a time.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Cloning a deck's style
The user has a deck by someone whose slides are worth copying. Your job is to produce new pages that look like that deck made them β its palette, its typography, its background treatment, its way of dividing a page β while the teaching content on those pages is entirely new. New content in the old style is the whole point of this mode, not the exception.
The route is copy, then refine. For every page in the new course you pick the
source layout that fits it, duplicate_scene that layout, and rewrite the copy's
content element by element. The design is preserved because you copied it, not
because you described it.
Generation is not an alternative for a copied page. generate_scene re-rolls a page from its
outline entry and draws in the house look, and no free-text slot on it overrides
that: a real run that wrote the source deck's exact hex values and font names
into materialFacts on every page produced pages where those values appear
zero times. Describing a style to a generator does not transfer it. Copying
the element tree does.
The learner-facing name for this mode is γεεΈε€ε»γ. Never show the learner the machinery β no talk of templates, clones or source pages. They should just see a course that looks like it came from one hand.
Why this works now
Copy-then-refine failed the first time it was tried, and the reason was the editing tools, not the approach. The only content editor then was a whole-block text setter, and 35 of one run's 44 edits went through it: each one replaced a block wholesale and flattened everything inside it, so a title's size and colour left with its words, contrast pairs came apart, and tables that resisted editing were shipped still carrying the old subject's text.
Those lossy ops are gone from the agent surface. What replaced them is an element-level, full-fidelity seam of three parts:
read_stagewithpath:/scenes/<order|id>anddetail:"source"returns the page's exact persisted JSON βbackground, each text element'sdefaultColoranddefaultFontName, the inlinecolor/font-size/font-familyinside itscontentHTML, shape fills, and exact geometry. It is your fidelity source and your address space: the paths you read are the paths you write.patch_stagewrites one scene-root JSON Pointer path withop:"set"orop:"remove"./content/canvas/elements/0/contentreplaces one text element's rich-text HTML and touches nothing else on the page; a<span>keeps its colour and size while its words change. Address the leaf, and everything you did not name keeps the value you copied.add_element(a complete, id-less element JSON, id assigned by the server) anddelete_elementare the only ways the element set changes β a patch may not add, remove, rename or retype an element, which is exactly the guard that keeps a borrowed design intact.
So one atomic patch is the entry point for every content rewrite, whatever the
element is β a paragraph at /content/canvas/elements/3/content, a shape's label at
/content/canvas/elements/3/text/content, a table cell at
/content/canvas/elements/5/data/0/0/text, a code line at
/content/canvas/elements/9/lines/1/content, a formula's latex, a chart's label. There
is no per-type editor to hunt for and no growing list of per-type operations: read
the source JSON, find the path that holds the words, write that path.
slide-dsl is the field manual β which field holds the words in each of the
ten element types, the pointer rules, what values are legal, which field the
renderer reads when two disagree, and what the renderer really does with the HTML
you write.
Two guarantees are what make this trustworthy on someone else's design: a rejected patch changes nothing (a bad path, an unknown field or unsafe HTML fails loud with the page exactly as it was), and nothing is normalised β no colour, font or theme value is rewritten toward a house palette. The deck's look survives because the tool has no opinion about it.
stage-design governs the build of the stage this produces, and
curriculum-planner governs a series of them; both still apply, and this skill
shapes only how the pages get their look. page-clone carries the per-page
mechanics of the loop in Step 4 β read it before the first page. slide-dsl is
the field-level truth about the JSON you are patching, slide-craft is the
design law any page still has to sa
FAQ
Can it just describe the style to the AI?
No. The skill says describing a style to a generator does not carry it over, so it copies the page structure instead.
Will learners see how it was built?
No. The skill says learners should see a course that looks like one hand made it, with no talk of templates or copies.
What does it need to start?
An imported deck, or a PowerPoint file that can be imported first.
Details
Original description by the author
Building a new course inside someone else's deck β import the deck as a library of layouts, then produce each page of the new course by copying the layout that fits it and rewriting that copy's content element by element, so the result reads as though the original author made it. Use when the session has an imported deck (or a `.pptx` to import) and the ask is to teach new material in its design β its palette, its typography, its way of dividing a page. Not for a straight import that must stay slide-for-slide identical to the file (that is `pptx-import`), and not for extracting how a teacher s
repo: THU-MAIC/OpenMAIC
Popularity
- GitHub stars
- 42k
- Ranking position
- #6413
- 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
brand-discovery
280kHelps define a brand's identity through structured interviews. It creates a complete guide with the brand's purpose, audience, and personality.
brand-voice
280kCreates a writing profile based on actual brand texts. It ensures content and communications maintain a consistent and authentic style.
design-md
260kTeaches your agent to write, check, and export a DESIGN.md file that lists a brand's colors, fonts, and style in a form AI tools can read.