/motion-pack:motion-stackfrom Motion Pack
Recommends and validates frame-exact animation libraries for AI-generated video. Covers 20 motion tools (GSAP, three.js, Remotion, etc.) with version pins, adapter code, and determinism verdicts.
Ships in Motion Pack. 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; scripts run unread.
Agents make video by rendering web pages frame by frame. The renderer seeks: frame 0, frame 1, sometimes frame 90 before frame 12, sometimes one worker per chunk.
Most web animation libraries assume live playback instead: a clock, a requestAnimationFrame loop, a simulation that integrates, sound played into the speakers. Each of those breaks a seeked render in its own way:
On 13 Oct 2026 we installed 20 popular motion repos, built the same shots with each, and measured them:
This skill is the result: what to use, at which version, how to wire it, and what bites.
story-script → frame-design → motion-pack (+ spec-to-loop, Blender plates) → motion-stack → social-video
seekcheck/<label>/report.json proving the page is seek-safe;Every pixel at time t is a pure function of t. scripts/seekcheck.mjs proves it with three gates:
Passing the gates proves repeatability, not correctness. Content with a source timeline (video, Lottie, baked tables) also needs an identity check, such as a frame-index barcode read back from the frame. Read references/determinism.md before wiring anything new.
| job | use | pin | why (measured) | detail |
|---|---|---|---|---|
| 2D motion in a composition | GSAP (SplitText, MorphSVG, MotionPath, CustomEase, all free) in HyperFrames | gsap 3.15.0, HyperFrames 0.8.142 | bit-exact after force3D: false + a warm pass; native adapter; 33-line shot | references/2d.md |
| Shared components, reference stills | plain pure functions of t through hf-seek | none | bit-exact on the first run, zero dependencies | references/2d.md |
| Small MIT-only flourish | Anime.js v4 via window.__hfAnime | animejs 4.5.0 | passes after four rules | references/2d.md |
| CSS-only spring | motion package's spring → CSS linear() at dev time | motion 13.x | 2.7e-3 max error vs closed form | references/2d.md |
| 3D plates | three.js with your own supersampled post chain | three pinned per project (r160 here) | the pmndrs/addons chains cost 20–55% more and needed re-tuning to match | references/3d.md |
| One extra grade or effect on 3D | pmndrs postprocessing as a single tail EffectPass | 6.36.7 (for three < 0.174) | bit-identical when idle, seek-safe if time = t, render(0) | references/3d.md |
| Multi-body physics (scatter, pile, drop) | Rapier, baked at build time, then a table player | @dimforge/rapier3d-compat 0.21.0 | one SHA-256 across Node 21/22/25 + Chrome; passes G1–G4 on a real set | references/3d.md |
| Lottie in a composition | lottie-web, SVG renderer, via HyperFrames' native adapter; dotLottie (ThorVG) through an hf-seek bridge for .lottie, effects or byte-identical renders across workers | lottie-web 5.13.0; dotlottie-web 0.80+ | 3 script lines; gates pass (one 85 dB hairline aside); HyperFrames' adapter renders dotLottie blank, so bridge it | references/vector.md |
| Icons and logos for draw-on | SVGO with a draw-on-safe config (mergePaths, convertShapeToPath, makeArcs off; prefixIds on), once per set at import | svgo 4.1.0 | −30.7% over 498 icons, draw-on frames bit-identical; the default preset broke the stagger on 70 of 111 icons | references/vector.md |
| Covers and thumbnails | HTML + headless Chrome screenshot | puppeteer-core 25, Chrome stable | the fidelity reference, 202 ms, byte-identical with --disable-gpu | references/output-tools.md |
| Final encodes and upload copies | ffmpeg x264 two-pass, -preset slow -tune animation | ffmpeg 8.x | +1–3 dB over WebCodecs H.264 at equal size | references/output-tools.md |
| Video inside a composition | the renderer's own <video> (HyperFrames pre-extracts frames) | HyperFrames 0.8.142 | 300/300 frames exact; plain currentTime = N/fps was wrong on 11/24 | references/output-tools.md |
| Sound | declared audio (<audio id data-start>) or an offline master mix | — | sample-accurate; live playback never reaches the MP4 | references/output-tools.md |
| Terminal/ASCII b-roll, flock transitions, "the flock writes a word" | cbirds, baked (terminal/bake-plate.sh) → 30 fps MP4 as a <video> layer | cbirds @ fe6f9f1 (1.7.0), -O2 -ffp-contract=off | byte-identical bakes; 300/300 frame identity through HyperFrames; live terminal capture fails G1 | references/verdicts.md |
| repo | verdict | one line |
|---|---|---|
| GSAP / GSAP Skills | ADOPT (4 of the 8 skills) | default engine; skills need the render-safe addendum in 2d.md |
| three.js | ADOPT, pinned | upgrading r160 → r186 mid-project darkened every lit surface by about 7/255 |
| FFmpeg | ADOPT | x264 two-pass for finals; the standalone vmaf CLI covers VMAF |
| Rapier (vanilla) | ADOPT, baked | under React Three Rapier, the live version fails G2 |
| pmndrs postprocessing | ADOPT-FOR a tail stage | not as a replacement chain |
| Anime.js | ADOPT-FOR flourishes | four rules, explicit registry |
| Drei | ADOPT-FOR two vanilla ports | SoftShadows, MeshReflectorMaterial; several helpers fail G3 |
| Mediabunny | ADOPT-FOR canvas/WebGL video plates and in-browser drafts | not inside HyperFrames; not for finals |
| Satori | ADOPT-FOR browserless covers | ignores or throws on 22 of 50 CSS features (tested 0.33.5) |
| lottie-web / dotLottie Web | ADOPT / ADOPT-FOR | lottie-web SVG is the default; dotLottie for .lottie, effects, cross-worker byte identity (needs a bridge) |
| Rive Web | REJECT for a code-first pack | linear animations seek deterministically; state machines are step-size dependent; authoring needs the Rive editor |
| SVGO | ADOPT with the safe config | the default preset fuses strokes and breaks draw-ons |
| React Three Fiber / React Postprocessing | REJECT for offline plates | identical pixels, 6x the dependencies, a bundler |
| React Three Rapier | REJECT | live stepping fails G2; pins an older Rapier |
| Remotion / Remotion Skills | KEEP-CURRENT / REJECT skills | deterministic but heavier; paid above 3 employees; the skills had wrong advice |
| Motion Canvas | KEEP-CURRENT | renders well, adds a second world; maintenance slowing |
| Motion / Motion AI Kit | REJECT for video | built for live UI; the kit needs a hosted server and paid Motion+ |
| Howler.js | REJECT for video | its sound never reached the render |
| cbirds | ADOPT-FOR, baked | terminal/flock plates and word titles via terminal/; never screen-record the live terminal |
The full table, with the numbers behind each verdict, is in references/verdicts.md.
2d.md, 3d.md, vector.md, output-tools.md). Drive everything from t: no clocks, no rAF loops, no unseeded randomness, no live audio.window.__ready and window.__seek(t), then run node scripts/seekcheck.mjs page.html --w 1080 --h 1920 --fps 30 --frames 120 --stills 0,60,119.python3 scripts/sheet.py makes a contact sheet.references/output-tools.md.| tool | what to do |
|---|---|
| Remotion | Fine for evaluation and small teams (licence: free up to 3 employees). Render with its CLI and bring the MP4 in as a clip: it is lossy and has no HyperFrames adapter. Fix its skills' easing map: cubic is power2. |
| React Three Fiber | Make it seekable: frameloop="never", store-driven t, advance(0) (never advance(t)), dpr={1}, preserveDrawingBuffer. Or port the scene to vanilla three. |
| Live physics | Bake it (references/3d.md). |
| Howler or any live audio | Replace it with declared audio or an offline mix; the render cannot hear it. |
| Motion | Use its spring generator only, or wrap every property in full-span function segments (about 40 lines). |
| A CSS transition | Convert it to a keyframe animation (WAAPI/CSS animations are seekable; transitions are not). |
| A terminal toy (cbirds, asciinema, cmatrix) | Never screen-record it. If it has a headless recorder that steps on its own clock (cbirds --record), bake it into a plate; a .cast needs a renderer and carries a wall-clock header. |
scripts/seekcheck.mjs: the determinism harness (G1–G3, PSNR on mismatches, ms per frame, stills, optional preview MP4). It finds Chrome on macOS, Linux and Windows; --software runs on CI without a GPU.scripts/sheet.py: contact sheets of stills with captions.references/determinism.md: the contract, the adapters per runtime, the traps, and how to test any library.references/2d.md: GSAP, Anime.js, Motion, Motion Canvas, Remotion, pure functions; adapter code and gotchas.references/3d.md: three.js post chains, version pinning, React Three Fiber, Drei, Rapier baking.references/vector.md: Lottie players, Rive, SVGO.references/output-tools.md: covers (Chrome, Satori, PIL), encoding (x264, WebCodecs, AV1), video layers, audio, ffmpeg builds.references/verdicts.md: every variant measured, with numbers.references/learnings.md: production lessons beyond the libraries (audio true peak, upload caps, platform traps).references/2d.md (opens in a new tab)references/3d.md (opens in a new tab)references/determinism.md (opens in a new tab)references/learnings.md (opens in a new tab)references/output-tools.md (opens in a new tab)references/vector.md (opens in a new tab)references/verdicts.md (opens in a new tab)scripts/seekcheck.mjs (opens in a new tab)scripts/sheet.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub anveai/motion-pack --plugin motion-pack6 skills in this plugin
/frame-designArt-direct every frame of a video before it is built - a tone cell and motion personality, a palette measured for WCAG contrast, a free OFL type pairing, grid and platform safe zones, one hero per frame, the look and grain, and the special frames (title cards, lower thirds, end cards, covers and thumbnails) in 16:9, 9:16 and 1:1. Use this skill whenever the user asks how a video, title card, thumbnail, cover, end card or lower third should look, wants a palette, font pairing, colour grade or look, needs on-screen text to read on a phone or stay inside platform safe zones, or wants real UI screenshots placed into a generated scene, even if they never say art direction. It reads shotlist.json and writes design.json, whose fields map onto real motion-pack template CONFIG keys. It bundles scripts/contrast.py, a WCAG checker and palette linter that also proposes the nearest passing colour./motion-packMake finished, platform-ready videos with an AI agent from motion-pack, an open-source kit of deterministic, seek-safe parts rendered with HyperFrames - transitions, kinetic type and captions, synthesised sound and music, overlays and film looks, camera moves, three.js objects, Blender plates and genre templates - steered by a playbook of graded rules learned from studied films. Use this skill whenever the user wants to make or edit a video of any kind - an ad, launch film, product promo, explainer, reel, short or TikTok, short film, character spot, talking-head edit, beat-synced edit, kinetic title or sonic logo - even if they never mention motion-pack. It picks a format from the brief, writes a plan that already carries the learnings (mp brief, mp plan), renders, then lints the plan and the delivered file against every enforceable rule (mp lint, mp study) until nothing fails. For outside libraries (GSAP, three.js, Lottie, Rapier, Remotion), load motion-stack alongside./social-videoPublish and grow finished videos on YouTube (Shorts and long-form), Instagram Reels, X, LinkedIn and TikTok - per-platform specs, titles, descriptions, captions, first comments with UTM links, hashtags, covers, AI-content disclosure, upload copies under a size cap, scheduling, and measurement that fixes the hook before scaling volume. Use this skill whenever the user wants to post, schedule, cross-post, caption, title or describe a video, write a first comment or pinned comment, choose hashtags, set the YouTube altered-or-synthetic or Instagram AI label, make a browser upload copy, plan a release, or work out why videos get no views or engagement, even if they only say post this or why is nobody watching. It reads the rendered MP4 plus script.md, shotlist.json and design.json and writes a post/ folder (copy per platform, covers, upload copies, checklist, log). It drafts first; the user posts or approves every post, and no number is invented./spec-to-loopWrite a binding, frame-keyed motion-and-sound spec from a one-line brief, then build it as a seamless, deterministic generative 3D loop (three.js, WebGL or raymarched) with a synthesized Web Audio score, GPU-rendered with 4x supersampling and checked by measurement. Use this skill whenever the user wants a seamless loop video, a liquid-chrome or metallic type loop, a logo or wordmark loop, an abstract 3D motion piece or background plate, a motion prompt or motion spec written or built, or a score whose hits land on exact frames, even if they only say make a loop. Covers the spec format, the renderAt(t) page contract, streaming GPU render to MP4, hits on sample (F+1) x (sample rate / fps), measured correction rounds (-14 LUFS, true peak, hits 3 to 6 dB over the bed) and seam QA. For edits of footage, captions or multi-shot ads use motion-pack instead./story-scriptWrite the story and script for a short video before any frame is made - logline, stake, beat sheet, shot list, three hook variants and a scored review. Use this skill whenever the user wants to write, outline, punch up or fix a script, concept, treatment, storyboard, hook or shot list for an ad, launch film, animated short film, wordless character spot, chat-skit comedy, explainer, reel, Short or TikTok, or says a video has no story, reads like a feature list or loses viewers in the first seconds, even if they only ask to make a video about something. It turns brief.md into script.md and shotlist.json, the files frame-design and motion-pack read next. It encodes the craft that held up in production - a protagonist with a real stake, one turn, the product as the quiet turn, a payoff that pays off the stake, honesty labels in frame, and references used as craft, never copied.