Builds expressive code-driven motion scenes in HyperFrames from 166 technique demos (cokacmotion): ink and paint looks, shaders, particles, fluids, baked physics, kinetic and Hangul type, captions, annotation, mascots, impact, bullet time, toon and relight. Ports only the technique (never the demo's scene) into a seekable scene: pure function of t, seeded random, heavy work baked, accents on narration words, seek determinism checked. Use when a scene needs a richer look or named effect: "잉크가 번지듯 나타나는 제목", "붓글씨로 써지는 로고", "글자가 말랑하게", "성운 배경", "형광펜 강조", "불릿 타임", "표현력 올려줘", "그래픽 업그레이드", "add a shader background to scene 3". Load it before the hyperframes skill even when the user names HyperFrames: hyperframes has the render contract but not these techniques. video-studio calls it per scene at composite. Not for a whole video (video-studio), plain cards and text with no named look (hyperframes), Blender, 3D subject models (video-studio-3dscene), isometric machines (video-studio-isometric), Remotion or Manim.
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A motion scene here is a function from time t to one picture. HyperFrames seeks every frame on its own, so
the scene must give the same picture for the same t no matter what was drawn before. The technique
library in library/ shows how 166 effects are built under exactly that rule; this skill picks one per
scene, learns how it works, and rebuilds it for the video being made.
<skill> is this SKILL.md's directory. L=<skill>/library is the vendored cokacmotion aimotion skill
(MIT, see L/LICENSE, upstream commit in L/UPSTREAM). The search tool is
S=<skill>/library/scripts/aimotion.mjs (Node 18+, no dependencies, no network).
hf is the HyperFrames CLI run from its plugin. Define it as a shell function (a string variable does not
split into words in zsh):
PLUGIN_ROOT=$(ls -d ~/.claude/plugins/cache/hyperframes/hyperframes/*/ | sort -V | tail -1)
hf() { HYPERFRAMES_SKIP_SKILLS=1 HYPERFRAMES_NO_UPDATE_CHECK=1 npx --yes "hyperframes@$(basename "$PLUGIN_ROOT")" "$@"; } # not plugin-cli.mjs: since 0.9.33 it runs the CLI from another folder and the project is not found
A recording scene with a technique is a full scene of this worker: its lettering, bursts, balloons and
background go through steps 6 to 8 like any other, on top of the rules here.
When the scene frames a recording (a phone or browser window with app footage), the footage keeps the camera the video-studio camera plan made: do not add zoom, pan or push-in keys of your own, and do not zoom in and back out inside the scene. Annotation techniques (marker circles, underlines, boxes) take their position from the element's measured box (the clip's taps file or the element's pixel box on the clip frame), move with the camera transform, start after the camera lands, and end 0.3 s before the scene ends. One annotation per scene. Transitions use the look's own material (paper, ink, brush), never a flat full-screen colour panel.
A scene next to a recording scene builds its side of the seam in its storyboard row, as video-studio's
composite.md "Seams" says. For a match into footage, this scene brings the kit's device in with a
move of its own and ends with it at rest on the recording scene's opening rectangle, the footage's first
frame on its screen as a still; out of footage, it opens on the last frame in the same rectangle and
turns that into its layout. The device never appears whole in one frame, and the scene does not draw a
transition of its own across the cut: a cover is the kit's, in the root composition.
video-studio calls this once per video, before any scene, when two or more scenes carry a technique. One
video has one look, so what the scenes share is built once: the background, the type treatment (family,
weights, fill and backing colours), the one transition, the palette constants and the helpers the
techniques need (seeded random, eases, the spring). Write it as <hf project>/kit/kit.js, a plain script
each scene inlines; scenes add their own content and never restyle what the kit defines.
When the video shows footage, the kit also owns what a seam needs to be the same on both sides of a cut:
the ground, and one device component (frame, corner radius, shadow, and its rectangle per ratio) that
takes a <video> or a still. When any seam is cover, the kit builds that cover once, as one canvas in
the root index.html above every scene, drawn by one function of root time from a list of cut times. A
cover drawn half by each scene loses a half at the cut, since a scene is switched off at its end. Its
solid part covers every pixel on the cut frame and the frame before; snapshot those two frames for each
cut and read them before reporting.
hf snapshot them and read
each at phone width.videos/ledger.md the caller
passed: one look across the stills, text readable on every ground it will meet, and not the look of
those videos again (a different material and demo set; brand colours stay). When the caller passed
reference/REFERENCE.md, read the stills next to the reference sheet: each line under Borrow holds
in the stills, and nothing under Leave came along.video-studio-motion: KIT OK with the kit path and the
style frame paths. Scene calls that follow take the kit as given.Borrow only the technique. Never the content of a demo.
A demo's subject, scene, story, staging order, composition, camera path, copy, colours, palette and its
9:16 1080x1920 frame are examples picked to show the technique. The video's own format applies, which may
well be 9:16 too; what is never inherited is the demo's layout for it. Colours a material forces (dark ink
on light paper) are the material, not the demo's palette; pick the exact values for this video. Putting a demo's scene into the video,
even recoloured or reworded, is a failure. Start from the video's script and storyboard: decide what the
scene must say, then look for the technique that says it. L/AIMOTION.md is the upstream author's full
statement of this rule; read it once per session.
The check at the end: a person who has seen the demo must not recognise its scene in the video.
From video-studio (stage 9), per scene: storyboard.json scene (id, duration, intent, beats,
inputs, shot), the scene's shot card file when it has one (read its motion essentials and pitfalls: that
card is the motion the user approved, and the technique is how it is drawn), the look kit from kit mode when the video has one, the storyboard fps and size, the ratio being built, brief.md brand colours and fonts,
narration/<lang>/timing.json when narration is on, the beat grid when music is on, and the HyperFrames
project dir (hf/, hf-9x16/, ...).
Standalone (the user asks for one effect without a full video): what the scene says, its length and its
ratio come from the request; ask in one message only for what it leaves out, or use the defaults (6 s,
16:9, 30 fps) and say so when the user asked for no questions. Colours and fonts come from the request or
the product's own brand files; otherwise choose them for the scene's meaning. Make a project with
hf init <dir> --non-interactive --skip-skills --resolution <landscape|portrait|square> and build the
scene as its only sub-composition. Standalone, the hyperframes skill's own work loop applies around this
one (its registry search, and the Studio preview it opens before the delivery render); inside
video-studio, video-studio's stages decide those.
Write one line: what the viewer must feel or understand in this scene, in the scene's own subject. "The product name appears as if soaked into paper" is a line. "Use demo 01" is not.
node $S search <words> takes separate words, Korean or English, and ranks demos by how many of the words
match the title, technique, keywords, key points, libraries or group (node $S search 잉크 번짐,
node $S search particles text, node $S search chart). Search by words; a phrase is split into words.
Add --exclude <id,id> with the demo ids in the videos/ledger.md rows the caller passed, so the last
videos' demos do not come back (--exclude 89,121). Demos that cannot run in a headless seekable render
(WebGPU, scroll and SMIL clocks) are hidden; --all shows them and node $S list marks them [영상 불가].
node $S list prints all 166 by group. Pick two or three candidates; one is fine when only one fits. The "데모 장면" line is the example scene: it
tells you where the technique was used, nothing to copy. When the best match is heavy (soft-body XPBD,
WebGL2 fluids, big libraries) and the scene is short or simple, a lighter technique from another demo that
gives the same read is the better choice (a closed-form spring from 95 instead of 60's XPBD). Also run
hf registry search for the named effect (/hyperframes-registry): use a block only when it is the
effect the scene needs.
Open L/demos/<id>/out/poster.jpg (the peak frame, every demo) and out/sheet.jpg (one frame a second,
98 of the 166) with Read. Without a sheet, the "화면" section of NOTES.md is the timeline.
They show how the technique reads on screen. Choose one demo, or one primary plus one supporting
technique; more than two in a scene muddies it.
node $S show <id> --notes and read NOTES.md to the end. "기법과 원리" names each idea with its
main.js:<line>; read every line it points at (node $S show <id> --code, or open the files directly;
some demos split code into shaders.js, sim.js, art.js). The shared clock and helpers are in
L/demos/_lib/stage.js and L/demos/_lib/type.js (node $S common). Keep reading until you can explain
why it is built that way and could rebuild it for a different subject.
Example from 03: "Bake a space-colonization growth toward attractor points once, then draw the nodes born
before G(t); thickness from the number of descendants." Put this sentence in the scene's storyboard row as
"technique": {"demo": "<id>", "how": "<sentence>"} so the choice is reviewable and reproducible.
Standalone, write it to <proj>/MOTION.md with the report from step 9.
Rewrite the technique in the scene's file under compositions/. The video never loads files from
library/. Algorithm, shader and baking code may be copied (MIT): when a block is substantially a demo's
code, copy L/LICENSE to <hf project>/licenses/cokacmotion-LICENSE.txt once. Code that builds the
demo's scene (its shapes, copy, colour values, layout coordinates, staging) is rewritten from the script.
Clock mapping from a demo to HyperFrames:
Demo (_lib/stage.js) | HyperFrames |
|---|---|
setup(api) (async, once: geometry, shaders, baking) | An async build() registered in window.__hf.buildReady (below), which registers the scene timeline at its end. It awaits library promises (renderer.compileAsync, img.decode(), document.fonts.load), never rAF, timers or the clock |
frame(t) | renderAt(t) driven by the scene timeline: tl.eventCallback("onUpdate", () => renderAt(tl.time())), where tl.time() is scene-local time and tweened values are already current (references/type-and-fx.md). hf-seek's e.detail.time is the root seek time, so use it only in a composition that starts at 0 with no timeline, or subtract the scene's start. DOM and SVG move with GSAP tweens at absolute seconds |
rand(seed) (mulberry32) | The same mulberry32, seeded per element |
track([[t, v, ease]])(t), ease.*, ramp, smooth | GSAP fromTo tweens at absolute times, or keep track as a pure function inside renderAt |
replay({dt, every, init, step, save, load}) | Same pattern inside renderAt: fixed dt, checkpoints, restore the nearest and step forward; or bake the whole run in setup |
W=1080, H=1920 | The scene's own size from storyboard.json; recompute every coordinate and re-lay out for the ratio |
?render=1 HUD off | Nothing; HyperFrames shows no HUD |
window.__hf = window.__hf || {};
window.__hf.buildReady = window.__hf.buildReady || {};
window.__hf.buildReady["<scene id>"] = (async () => {
await document.fonts.load('900 200px "<family>"', "<copy>");
bakeEverything(); // setup(): masks, fields, simulations
const tl = gsap.timeline({ paused: true });
// tweens at absolute seconds ...
tl.set({}, {}, <scene duration>); // gives a renderAt-only scene its length
tl.eventCallback("onUpdate", () => renderAt(tl.time()));
window.__timelines = window.__timelines || {};
window.__timelines["<scene id>"] = tl; // registered last, literal form: the static guard reads it
renderAt(0);
})();
A scene with no async setup (no font load, decode or bake that awaits) may build and register its timeline
synchronously and skip buildReady; references/type-and-fx.md uses that shorter form.
Rules the port must keep (HyperFrames' contract in its runtimes.md applies on top):
t. No Math.random, Date, performance.now, timers, rAF loops, CSS
transitions or repeat: -1. A live SVG filter chain (feTurbulence, feDisplacementMap) whose
attributes change per frame can paint differently by seek order or GPU; bake it, or move the per-frame
part into canvas or array maths, when the check in step 8 differs.t, or use
checkpoints and replay. Never step a simulation by the number of renderAt calls.<hf project>/assets/bake/<id>-* when a bake takes over a few seconds, so
re-renders and other ratios reuse it.hf init writes is
HyperFrames' runtime and stays as it is. Any other library the technique needs (three, gsap plugins, d3,
pixi, matter, rapier, opentype) uses the exact version in L/demos/package-lock.json, with its browser build
copied into <hf project>/assets/lib/ and loaded from there. Prefer rewriting a small library use in
plain Canvas 2D, SVG or WebGL. L/demos/_lib/fonts.css points at node_modules that is not shipped;
never link it.pow with a negative base is NaN on real GPUs (write x * x,
clamp the base with max(x, 0.0)); one NaN pixel spreads through bloom or blur as flicker; a hash grid
sums its 3x3 neighbourhood; do not closePath thousands of subpaths in one big path; reset 2D context
state (lineCap, setLineDash, globalAlpha, globalCompositeOperation, filter, transform) at the
start of every renderAt.brief.md, or download an OFL Korean
font (Pretendard, Noto Sans KR, or a display face such as Jua from github.com/google/fonts ofl/) and
put it with its licence file in assets/fonts/ and declare it with @font-face. Text drawn into a canvas or baked through an SVG
<img> does not see document fonts by itself: await document.fonts.load('<weight> <size>px "<family>"', text)
before drawing, draw the glyphs on a canvas (not inside the SVG string), and keep one hidden DOM element
that uses the family so the font is part of the composition. Check the glyphs on a snapshot.data-var-text that the build reads and splits, so Studio and variables/<lang>.json can change it. Copy that
changes per language is a composition variable, as video-studio stage 9 says.The scene's accents (the stroke that lands, the word that pops, the hit stop) sit on a spoken word or a
music beat, not on round numbers. A beat carries an accent on something already readable; a new line, card or
screen waits for a bar and holds its reading time (references/motion-design.md, timing to speech and shot
length), so a fast track never makes the scene unreadable. When the user gives the moment as a time ("at 2.8 s"), that time is the
word time. The visual lands with the word or slightly before it (about -0.1 s, as
references/review-and-sync.md says): the frame at the word time already shows the action under way (the
release out of a squash), so the read and the word arrive together. references/review-and-sync.md has the
word-time helper (the HyperFrames form of upstream's cue(id).when('phrase')), the fallback when no
transcript exists, and the silence rule, which applies only when the video has narration.
hf check --json on the project: no errors.m in the middle of the scene's busiest moment and two other times a < m < b.
Each snapshot run is a fresh page that seeks in the order given, so this also re-runs the bake:
C=<proj>/.motion-check; rm -rf $C
hf snapshot <proj> --at <a>,<m> --no-end --keep --no-browser-gpu -o $C/fwd
hf snapshot <proj> --at <b>,<m> --no-end --keep --no-browser-gpu -o $C/back
cmp $C/fwd/at-<m>s.png $C/back/at-<m>s.png && echo SAME
--keep names files without trailing zeros (2.0 is at-2s.png). A difference means state leaks
between frames: find what renderAt reads that is not derived from t. This checks the software path
only. For simulations, replays, or when the user asks for identical frames, also render twice on the
default (GPU) path and compare ffmpeg -i <a.mp4> -f framemd5 - with the same for <b.mp4>;
references/review-and-sync.md has that and a shuffled order.hf snapshot <proj> --composition <scene id> --review and read the frames: review-phone.jpg for
phone-width legibility, everything inside the title-safe box, the effect visible at the moment the
narration names it.
Then look at the motion, which stills at one moment cannot show: for the scene's main accent at time
t, hf snapshot <proj> --at <t-0.1>,<t>,<t+0.1>,<t+0.2>,<t+0.4> --no-end --keep and read the five in
order. The move must already be under way before t, land on t, overshoot and settle after it, with
no element appearing whole in one frame and nothing still travelling at t+0.4. A scene whose five
frames look alike has no accent: give it one or tell the caller.hf render <proj> --quality draft --workers 1 -o <tmp>.mp4) and divide the capture time it prints by
the frame count. A snapshot's wall time includes the browser
start and the bake, so it is not a frame cost. Over about 1 s a frame, cut resolution or bake more.video-studio-motion: OK | FAIL <reason>
scene: <id> demo: <id>[, <id>] how: <the one sentence>
files: compositions/<file>.html [assets/bake/<id>-*] [assets/lib/<lib>] [licenses/cokacmotion-LICENSE.txt]
determinism: SAME at <m> s (<proj>/.motion-check) frame: <seconds> s at <w>x<h>
video-studio adds nothing to clips/manifest.json for these scenes: they are HyperFrames scenes and render
with the rest of the project.
Read the one the scene needs; each was ported from kstost/script-to-motion (MIT) and adapted to HyperFrames.
| File | Read when |
|---|---|
| references/motion-design.md | Planning a scene's motion: one primary effect per beat, timing, easing, spacing, pacing, camera, what reads as finished |
| references/type-and-fx.md | Expressive typography and effect kits: split text, Hangul jamo, captions, glows, glitches, transitions, built in GSAP, SVG and canvas |
| references/shader-and-3d.md | Fragment shaders, noise recipes, post chains, Three.js scenes under seek, lighting, when 3D earns its cost |
| references/review-and-sync.md | Syncing to narration words and beats, determinism and capture checks, the visual review list, sound craft beyond video-studio's polish.md |
| references/gsap-api.md | GSAP calls that stay seek-safe: banned APIs, eases, position parameter, utils, and SplitText, DrawSVG, MorphSVG, MotionPath, Physics2D and CustomEase options with how to vendor each plugin (from greensock/gsap-skills, MIT) |
| references/measured-motion.md | Measured defaults for durations in frames, eases as CustomEase curves, transitions, type cadence, UI demo and close beats (from motionmaxxing, Apache-2.0) |
evals/beat-pace-readable/case.yaml (opens in a new tab)evals/beat-pace-readable/graders/01-no-change-under-1s.md (opens in a new tab)evals/beat-pace-readable/graders/02-each-line-1-5s.md (opens in a new tab)evals/beat-pace-readable/graders/03-lines-on-bars.md (opens in a new tab)evals/beat-pace-readable/graders/04-no-per-beat-swaps.md (opens in a new tab)evals/beat-pace-readable/prompt.md (opens in a new tab)evals/ink-title/case.yaml (opens in a new tab)evals/ink-title/graders/01-hf-check-clean.md (opens in a new tab)evals/ink-title/graders/02-seek-determinism-identical.md (opens in a new tab)evals/ink-title/graders/03-no-clock-sources.md (opens in a new tab)evals/ink-title/graders/04-bleed-not-fade.md (opens in a new tab)evals/ink-title/graders/05-mp4-6s-1080p.md (opens in a new tab)evals/ink-title/graders/06-no-copied-demo-scene.md (opens in a new tab)evals/ink-title/prompt.md (opens in a new tab)evals/jelly-hangul-sync/case.yaml (opens in a new tab)evals/jelly-hangul-sync/graders/01-hf-check-clean.md (opens in a new tab)evals/jelly-hangul-sync/graders/02-mp4-5s-portrait.md (opens in a new tab)evals/jelly-hangul-sync/graders/03-pop-at-2-8s.md (opens in a new tab)evals/jelly-hangul-sync/graders/04-deterministic-physics.md (opens in a new tab)evals/jelly-hangul-sync/graders/05-hangul-font.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/toolkit:video-studio-motionfrom toolkit
npx claudepluginhub siu9068/ggyul-skills --plugin toolkit49 skills in this plugin
/artifact-build디자인 소스 링크 하나(Claude 아티팩트, Claude Design 캔버스, Claude Docs, Figma, Open Design)를 받아 앱을 처음부터 완성까지 끌고 가는 오케스트레이터. claude.ai 채팅 링크(`claude.ai/chat/...?artifact=...`)나 아티팩트 링크를 붙여넣고 그대로 만들어 달라는 요청이면 링크가 문서인지 캔버스인지 확인하는 일까지 이 스킬이 맡으니 docs 도구로 먼저 가지 말고 이 스킬을 켠다. 모든 페이지를 읽어 스펙을 만들고, 프로젝트가 아직 없으면 project-setup 질문지만 사용자에게 묻고 세팅한 뒤, 나머지 결정은 자동승인 게이트가 내리며 api-creator, screen-creator, android-screen-creator, ios-screen-creator로 병렬 구현하고, 아티팩트 기준 검증에서 FAIL이 0이 될 때까지 갭을 고치고 다시 검증하기를 반복한다. 트리거: "이 아티팩트 링크대로 앱 만들어줘", "claude.ai/artifact/... 이거 보고 완성까지 자동으로 개발해줘", "피그마 링크 줄게 백엔드랑 안드로이드 iOS까지 다 만들어", "디자인 캔버스에 작업목록까지 있으니 끝까지 구현하고 검증해줘", "Open Design 시안대로 처음부터 끝까지". Do NOT use for: 링크 없이 스택만 세팅 (`project-setup`), 이미 있는 스펙 문서 구현 (`spec-implementer`), 한 줄 요청 구체화 후 구현 (`feature-builder`), 아티팩트에서 스펙만 뽑기 (`artifact-build-ingest`), 검증만 (`artifact-build-verify`), 레퍼런스로 토큰만 (`design-system-import`)./artifact-build-ingest디자인 소스 링크(Claude 아티팩트, Claude Design 캔버스, Claude Docs 문서, Figma 파일, Open Design 같은 웹 디자인 도구)의 모든 페이지를 로컬로 받아, 페이지 묶음마다 서브에이전트를 병렬로 돌려 요구사항을 뽑고, 출처 페이지가 달린 spec-creator 형식의 스펙(`docs/specs/` 아래 마크다운)과 소스 매니페스트로 만든다. 아티팩트에 작업목록 페이지가 있으면 그 목록을 작업 표의 뼈대로 쓴다. 트리거: "이 아티팩트 읽어서 스펙으로 뽑아줘", "피그마 링크 전체 페이지 요구사항 정리해줘", "claude.ai/artifact 링크 화면 목록이랑 작업 표로 만들어줘", "이 디자인 캔버스 모든 페이지 보고 docs/specs에 정리". 링크를 받아 세팅, 구현, 검증까지 끝까지 가는 전체 요청이면 `artifact-build` 경유. Do NOT use for: 인터뷰로 스펙을 새로 쓰는 일 (`spec-creator`), 이미 있는 스펙을 구현하는 일 (`spec-implementer`), 구현이 아티팩트를 충족하는지 판정하는 일 (`artifact-build-verify`), 레퍼런스로 디자인 토큰만 뽑는 일 (`design-system-import`, `native-design-system-import`).Other plugins' skills for the same job