/animation-skills:lab-explainerfrom animation-skills
Creates frame-exact 3D explainer videos with live formula-driven animations, glowing overlays, and camera cuts. Renders 1080p60 MP4 with depth of field and bloom for physics, optics, or engineering concepts.
Ships in animation-skills. 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.
A film is a studio set: a dark room, a console with a steep control panel, and on it an apparatus the viewer learns from. A title card at the top left carries live stats and one sentence that is rewritten from the numbers every frame. A control panel at the top right shows buttons being pressed and sliders moving. Part labels float on the model. The film cuts between four or five camera setups while the controls change, and the scene answers each change the way the real equation says it should.
The formula decides everything the viewer reads. The one file you write, film.js, holds the parameters, a derive() function that turns them into every derived number, the timeline of control changes, the UI, and a build(kit) function that makes the set and poses it from those numbers each frame. derive() is plain JavaScript, so scripts/check.mjs can print the whole film's numbers and sentences in Node before a single frame is rendered.
Run every command from this skill's directory.
node scripts/setup.mjs
Installs three and playwright-core here, finds or downloads Chromium, checks ffmpeg, then checks and renders a frame of an example. Rendering uses the GPU (--use-angle=metal on macOS).
1. Pin down the model and the moment. Write down the parameters the viewer controls, the numbers the film shows, and the one thing the formula does that people don't expect: a threshold (total internal reflection), a crossover, a limit, a non-linearity (sharp zone growing with distance squared). The story is built around that moment. If there is a reference video with numbers on screen, fit the model to them before anything else. The plane-of-focus reference's "1.5 cm at 54 cm, 3.9 cm at 86 cm, 12 cm at f/16" pinned it to a 50 mm lens with a 0.035 mm circle of confusion.
2. Write film.js in a project folder outside any repo. Copy the closer example: examples/plane-of-focus/ has an instrument, a scene it looks at, a second camera and a field blur; examples/refraction/ has a single mechanism with beams and no secondary view. references/film.md is the file format; references/kit.md lists the building blocks build(kit) receives.
3. Check the numbers.
node scripts/check.mjs <project>/film.js --every 0.5
This prints every parameter, stat and sentence through the film. Read it all. Wrong numbers and clumsy sentences are cheap to fix here and expensive after a render.
Write the captions with the story. The corner UI is small detail for anyone who pauses; the captions are the one large, timed sentence per beat that most viewers will actually read (references/film.md, captions).
4. Look at stills, then the blur.
node scripts/capture.mjs <project>/film.js <project>/sheet.png --stills 2,10,16,22,28 --cols 3
node scripts/capture.mjs <project>/film.js <project>/frame.png --at 16
node scripts/capture.mjs <project>/film.js <project>/coc.png --at 16 --coc
The stills command prints each shot's start time. --coc shows the blur-size pass (white is more blur); use it when something should be soft and isn't. Check every shot against references/look.md before the full render.
5. Render.
caffeinate -dimsu node scripts/capture.mjs <project>/film.js <project>/film.mp4 --video --fps 60
On an M1 Pro a simple 20 second film takes about a minute at 30 fps, and a 30 second film with a secondary view about seven at 60 fps. caffeinate keeps a Mac awake; a sleeping machine stalls the render and the page times out. The film has no soundtrack; bring music if the brief wants one and mux it with ffmpeg. For sharing through chat or email, also make a copy under 30MB: ffmpeg -i film.mp4 -c:v libx264 -crf 23 -preset slow film_share.mp4.
6. Hand over the MP4, a stills sheet, and the live page from node scripts/serve.mjs <project>/film.js, where the film plays in real time and space pauses it.
Every number comes from derive(). Never type a value into the story, a label or a sentence. If the film needs a number to land somewhere, move the control until the formula gives it. When the reference shows numbers the model can't reproduce, say so instead of faking them.
Draw what the formula means. Overlays come from the same model as the numbers. Blur discs on a screen are sized by the same blur formula that softens the picture, and a beam's brightness is the transmitted share. That consistency is what makes the film teach.
Every change in the film is a control being moved. Parameters only change through story.tracks, and the panel's buttons light up from those same tracks, so the scene, the numbers and the UI can never disagree. Anything that accumulates over time, like a gear's angle from its speed, comes from kit.integrate, because frames are rendered out of order.
When something moves too fast to read at the frame rate (a gear at 120 rpm strobes backwards at 30 fps), draw it slowed and say so on screen, and keep the numbers at real speed.
For a remake, take the structure and the look, not the author's identity. Write your own title and copy, and leave out their handle, logo, watermark and "follow" buttons.
references/film.md: the film.js format: params, derive, story (tracks, shots, cursor), ui, blur, look, build, and the state object.references/kit.md: what build(kit) gets: materials, round parts along an axis, the bench and its panel pieces, room and lights, low-poly scenery, the slice glow, overlays, secondary views.references/look.md: the look to match, composition that works, blur and bloom tuning, and the checks to run on stills before rendering.examples/plane-of-focus/film.js: focus and depth of field on a lens, 32 s. examples/refraction/film.js: Snell's law and total internal reflection, 28 s.engine/fonts/OFL-jetbrains-mono.txt (opens in a new tab)engine/fonts/OFL-outfit.txt (opens in a new tab)engine/fonts/jetbrains-mono.woff2 (opens in a new tab)engine/fonts/outfit.woff2 (opens in a new tab)engine/index.html (opens in a new tab)engine/src/kit.js (opens in a new tab)engine/src/main.js (opens in a new tab)engine/src/pipeline.js (opens in a new tab)engine/src/textures.js (opens in a new tab)engine/src/timeline.js (opens in a new tab)engine/src/ui.js (opens in a new tab)examples/plane-of-focus/film.js (opens in a new tab)examples/refraction/film.js (opens in a new tab)package-lock.json (opens in a new tab)package.json (opens in a new tab)references/film.md (opens in a new tab)references/kit.md (opens in a new tab)references/look.md (opens in a new tab)scripts/capture.mjs (opens in a new tab)scripts/check.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub misbahsy/claude-horizon-animation --plugin animation-skills3 skills in this plugin
/horizon-reelMake short launch videos (8-20s, 1920x1080 MP4 plus a GIF) in the collage "horizon" style of Anthropic's Claude model-launch films. The video cuts fast through dome-shaped horizons made from public-domain museum photos, microscope slides, NASA planet limbs and hand-drawn canvas shots (chalk, crayon, ink scribble, compass lines, paper cutouts), with film grain and a serif line of copy riding each curve. It signs off on a glowing planet-limb card with your brand lockup. Use this whenever someone wants a launch video, announcement reel, teaser, day 0 video, sizzle clip or animated social clip for a model, product or feature launch, especially when they share a reference video and say "make one like this", mention the Claude or Anthropic launch video, or want something more cinematic than a static card./sketch-to-simTurn a pencil sketch of a simple machine into a short film where the drawing is read, measured, lifts off the paper into a 3D wooden model, and runs under real physics, then an interactive "Build it yourself" sandbox, in the style of the paper trebuchet demo. The machine is described once as a small JS file of parts, hinges, parameters and a story; the engine draws the sketch, builds the model, bakes the physics with Rapier, renders a 1080p60 MP4 frame by frame, and synthesises a soundtrack from the actual collisions. Use this whenever someone wants a sketch-to-simulation or "sketch comes to life" video, a Rube Goldberg machine, trebuchet, catapult, domino run, marble run, seesaw, pendulum or lever animation, a physics explainer that starts from a drawing, or shares a photo of a machine sketch and asks to animate it, even if they only say "make it like the trebuchet video".Other plugins' skills for the same job