style-clone
하는 일
사용자가 가져온 덱의 시각 스타일로 새 과정을 만듭니다. 새 수업이 특정 디자인과 어울리기를 원하는 강의 제작자를 위한 스킬입니다.
사용하는 경우
- ✓재사용하고 싶은 디자인이 있는 덱이 있을 때.
- ✓다른 사람의 슬라이드 스타일로 새 교육 내용을 원할 때.
- ✓전체 과정이 한 사람이 만든 것처럼 보이기를 원하는 경우.
스킬 링크
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/style-clone/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제가 가져온 덱의 모습으로 머신러닝에 대한 새 수업을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 덱의 레이아웃을 가져오고, 각 새 페이지에 맞는 레이아웃을 복사한 뒤, 복사한 내용을 요소 하나씩 다시 씁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
AI에게 스타일을 설명하기만 하면 안 되나요?
아니요. 스킬에 따르면 생성기에 스타일을 설명하는 것으로는 스타일이 옮겨지지 않으므로, 페이지 구조를 복사합니다.
학습자가 어떻게 만들어졌는지 알 수 있나요?
아니요. 스킬은 학습자가 템플릿이나 복사에 대한 이야기 없이 한 사람이 만든 것처럼 보이는 과정을 봐야 한다고 말합니다.
시작하려면 무엇이 필요한가요?
가져온 덱이나, 먼저 가져올 수 있는 PowerPoint 파일이 필요합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 42k
- 순위
- #6413
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
build-personal-skill
42k과거 수업 제작 기록과 대화를 바탕으로, 자신의 이력에서 찾은 패턴을 담은 개인 재사용 스킬을 만들도록 돕습니다.
curriculum-planner
42k7일짜리 과정이나 장별로 나눈 책처럼, 연결된 여러 수업의 계획을 세우고 승인 후 하나씩 만들도록 돕습니다.
deep-interactive
42k학습자가 슬라이드를 읽는 대신 대부분의 페이지에서 시뮬레이션, 다이어그램, 코드, 게임을 다루는 과정을 설계하도록 돕습니다.
deep-research
42k최신이나 사실 기반 주제에 대해 실시간 출처를 먼저 조사하고, 각 주장을 확인한 출처와 연결하는 과정을 만들도록 돕습니다.