claude-motion
ASecurityMake polished, continuously moving short films in code (product launch films, UI walkthroughs, animated explainers, motion-design reels and sizzles, kinetic typography posters, app and brand promos, 3D product and character scenes, data stories) and export frame-exact MP4 with an original score. Use when asked to make an animation, motion graphic, promo, teaser, launch video, demo video, explainer, showreel or animated chart, to edit one, or to critique one. Asks style, colours and length up ...
- 5 stars
- 0 votes
- 1 copy
- 24 views
- Added October 25, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 16 files and shows the line behind each finding
npx -y skills add TheOnlyFusionCube/claude-motion --agent claude-codeAre you the author of claude-motion?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/theonlyfusioncube-claude-motion)---
name: claude-motion
description: Make polished, continuously moving short films in code (product launch films, UI walkthroughs, animated explainers, motion-design reels and sizzles, kinetic typography posters, app and brand promos, 3D product and character scenes, data stories) and export frame-exact MP4 with an original score. Use when asked to make an animation, motion graphic, promo, teaser, launch video, demo video, explainer, showreel or animated chart, to edit one, or to critique one. Asks style, colours and length up front; offers six style presets. Built on a deterministic DOM + Three.js stage with camera, cursor, typing, hand-drawn marks and a synth, and a direction method that produces films rather than animated slideshows.
---
# Claude Motion
You are directing a short film, written in code. A film here is `film.js`: an `init` that builds a
stage once and a `render(t)` that sets everything on it as a pure function of time. The stage is
real DOM (crisp type, real UI), with Three.js when the subject needs depth. `scripts/` renders exact
stills, checks, scores and exports.
**The bar** is the kind of film a product team puts in a launch: a camera that travels through one
world, a subject that something happens to in every shot, transitions that carry the eye, type that
moves with meaning, and sound timed to the picture. The usual failure is an **animated slideshow**:
a title card, then a panel that fades in, then another panel, each with a little entrance animation.
It can have perfect type and still fail. This skill exists to prevent that.
> **The slideshow test.** Take a still every 2 s. If they look like different slides (new layout,
> new heading, same static framing), it's a slideshow. If they look like frames from one continuous
> camera move over one world, with the subject visibly changing state, it's a film.
## Read before your first film
1. `references/upstream/motion.md`: the original craft rules and the numbers that review taught.
Read all of it. Skip what's specific to its private player (Artifact, `kit.module`, check.ts).
2. **The reference film for this genre.** Copy its techniques, never its look, story or words. Each has a
`BEATS.md`: read the sheet, then the code. Pick by the brief:
| The brief | Read | What it shows |
|---|---|---|
| product launch, feature film, UI walkthrough | `examples/launch/` (34 s) | app → chart → push into a 3D city → replay, with score |
| an idea, a process, "what it's like to be…" | `examples/journey/` (22 s) | one physical subject, finger scale → map scale → back, almost no words |
| sizzle, showreel, brand sting, "what this can do" | `examples/reel/` (13.6 s) | 3D letters, squash and stretch, editor reveal, flood, whips, motion blur |
| kinetic typography, poster/Swiss look, music-driven | `examples/poster/` (12.5 s) | scrolling type walls, slammed type, chrome 3D, particles that form a word, a block field |
| 3D product scene, mascot or character, "made with" | `examples/tabletop/` (11 s) | real UI as plates on a desk in CSS 3D, a box character that walks, depth of field |
| app promo, App Store / mobile launch | `examples/app-promo/` (12.6 s) | icon → store page → field → home screen tap → glossy word pills → logo |
| brand promo, fintech / web3 / SaaS hype | `examples/brand-promo/` (14 s) | glossy 3D coins, rays, icons inside sentences, tilted dashboard, ✕ pills, URL end |
For a mix (most briefs), read the two closest. The genre changes the pace and the toolkit, not the method.
3. `references/intake.md` (the opening questions), `references/recipes.md` (the specific moves you'll use),
`references/kit-api.md` (the API) and, if a preset is picked, `references/styles.md`.
## The deck trap
Strong models rarely make frozen slideshows any more. They make **animated decks**: every beat is a
label ("02 / CONTEXT"), a headline in the same place, and a diagram or card centred on an empty
ground. Something small moves inside it, then it dissolves into the next one. Each frame looks
designed, but the whole reads as a presentation. The signals:
- **The same composition beat after beat**: headline top-left or top-centre, a centred block below,
60% of the frame empty.
- **Headlines that explain** what the picture should be showing ("Every word shifts the rest.").
- **Frame furniture**: header bars, chapter numbers ("03 / 07"), timecodes, progress bars, footers and
disclaimers on every frame. A concept label belongs once, on the end card.
- **A camera that never changes scale**: everything stays at 1×, and motion stays local to one widget.
- **Cross-dissolves, iris wipes and "next card" transitions** between ideas.
- **A silent export.**
The fix is the method above, not more animation: **one world** the camera travels through, **one
subject** that carries from beat to beat, **framing that changes** (wide, working, close-up, full-bleed),
**words that arrive and leave** instead of a headline per beat, and transitions made by the subject
moving. `scripts/review.mjs` measures the deck signals on any MP4, so use it on your own export.
For an abstract story (an idea, a process, "what it's like to be…"), the same rules apply. Turn the
idea into one physical subject in one world, the way `examples/journey/` turns a message into an
object that travels. Then let the camera follow it. Don't turn each idea into a titled panel.
## Reels and sizzles
A motion-design reel (a sizzle, a showreel, a brand sting, a "what this can do" opener) is a different
genre from a launch film: there's no story to follow, and the pleasure is the **craft of the moves** and how
each one **turns into the next**. The deck trap still applies, so a reel is never a run of titled cards.
Its own rules (all used in `examples/reel/`):
- **Every move hands off.** No cut between ideas without a carry. A letter becomes a ball, the ball becomes a
knob, the knob's click floods the frame, the flood is one tile of the next world. Write the "carries into
next by" column first. Use **match cuts** (same shape, same place, new thing) and **morphs** (`kit.morph`).
- **Pace is ~1–1.5 s per idea**, with a breath (a held, drifting second) every 4–5 s. Fast camera is allowed
from the start, but every whip lands on something.
- **Weight and physics everywhere:** squash and stretch on anything that lands (`kit.bouncer`), overshoot on
arrivals, springs on UI, letters that fly in from depth with rotation (`kit.letters` + `kit.extrude`).
- **Real motion blur.** Set `motionBlur: { samples: 8, shutter: 0.5 }` on the film, and list whip pans and smash
moves in `fast` (16–32 samples) so they smear instead of ghosting. Stills and exports both include it.
- **Texture is allowed here:** a soft glow under the subject, depth of field (`kit.focus`), grain
(`kit.grain`), a gradient studio ground. Still one accent colour.
- **Words: one at a time, one or two words** ("Weight.", "Timing."). Numbers roll (`kit.odometer`).
- **Sound is cut to the picture:** a hit on every landing (`thud`, `pop`), a `swipe` under every whip, a `riser`
into a flood or smash, an `impact` on the cut it lands, a groove under the fastest section.
The same rules carry the other fast genres:
- **Kinetic posters** (`examples/poster/`): type is the picture. Walls of scrolling rows (`kit.marquee`), letters
slammed in with overshoot (`TextFx.in` mode `chars`, `eob`), hard cuts on the beat, one acid accent, chrome or
glass objects (`three-kit.js`). Small HUD labels (corners, a frame counter) are allowed here as the poster's
texture, never as slide headers.
- **Promos** (`examples/app-promo/`, `examples/brand-promo/`): one object carries the film (the app icon, the brand
coin) and becomes each next thing. Sentences can carry icons inside them (`<span class="kit-unit">` animates as
a word). Claims come as pills (✕ for what it isn't, ✓ for what it is), numbers flip or roll, and it ends on a URL
or store badge, then the logo.
- **3D product and character scenes** (`examples/tabletop/`): put real UI on planes in CSS 3D (`kit.space`), so it
stays sharp and stays the real UI; build a character from boxes (`kit.box3d`, `kit.gait`), and use depth of field.
Use Three.js (`three-kit.js`) for what DOM can't do: chrome, glass, particles, thousands of instances.
## Workflow
### 0. Tools
`<skill>` below means this file's folder. Run `node <skill>/scripts/doctor.mjs` once: it checks Node ≥ 22,
Playwright + Chromium, WebGL and FFmpeg, and prints the exact fix for anything missing (usually
`npm i -D playwright && npx playwright install chromium`, plus FFmpeg). Without a browser you can still write
the film, but say you couldn't look at it.
### 1. Ask the three questions: style, colours, length
Take the story, product, copy and facts from the request and the user's material. Never invent claims
about a real product. If the subject is missing, ask for it and stop.
Then, for a **new film**, ask **Style, Colours and Length once, together, before the beat sheet**. These
are the choices people most regret leaving vague. Follow `references/intake.md`:
- **Use the host's question tool** (`AskUserQuestion` in Claude Code), all three in one call, your pick first
in each row. Without such a tool, send one short message with numbered options and wait.
- **Style:** three looks invented for this film (a name plus one line you can picture), optionally with the
best-fitting **preset** (`references/styles.md`: sketch, bubbles, editorial, bold, midnight, showcase) as the
last option.
- **Colours:** their brand first if you can find it (request, files, the codebase's theme or tokens), then
two or three palettes of your own, checked with `scripts/palette.mjs`.
- **Length:** three that suit the film.
- **Skip any row the request already answers.** Skip all three for edits, or when nobody can answer
("just make it", autonomous runs): take the first options and say what you chose in a line.
Whatever look you end up with:
- **Colour:** a ground, an ink, a muted grey and **one accent doing one job** (a second colour only if data
needs it). Flat colour, soft real shadows, no gradient soup, glows, lens flares or emoji. A preset
brings its own treatment, and a reel may use one soft glow, grain and a studio gradient (see "Reels and sizzles").
- **Faces:** pick for this film rather than by habit. Bundled (no network needed): `Inter`, `Inter Tight`,
`Fraunces` (+italic), `Instrument Serif` (+italic), `Space Grotesk`, `Manrope`, `Bricolage Grotesque`,
`Shantell Sans` (hand-drawn), `JetBrains Mono`, `DM Mono`. Usually a display face over a text face that
differs in kind. Their own font files go in `assets/` with an `@font-face`.
- **A preset is a look, not a film.** It still needs the beat sheet, the camera, actions and transitions.
### 2. Write the beat sheet before any code
This is where films are won. Write it as a table and keep it in `BEATS.md` beside the film:
| t | subject | action (a verb that changes it) | framing (scale, where it sits) | words on screen | carries into next by | sound |
|---|---|---|---|---|---|---|
| 0–2.4 | the question | words rise, creep | wide, centred line | "Where do the bikes go at 8 a.m.?" | the line shrinks into the app's field | pad, one mallet note |
| 2.4–5 | composer | cursor arrives, clicks Ask | 1.6× on the field, lower third | (UI only) | answer streams where the eye is | click; groove starts on the bar |
| 7–11 | Harbor's line | still drawing as we arrive; dips | 2.3× close-up, line fills the frame | "Harbor is empty by 8:40" | we push through the dip | ding on the circle |
| … | | | | | | |
Rules for the sheet:
- **Every beat has a subject and a verb that changes its state**: types, fills, drains, counts,
travels, splits, morphs, lands. "Appears" and "fades in" are not actions. A beat whose only motion
is an entrance animation is a slide.
- **One world, one spine.** Pick the thing the camera travels over (an app, a desk of cards, a
map, a 3D city, a single object) and a subject that carries through. New ideas arrive in the same
world, or by a transform out of the old subject. A cut to a fresh layout is the exception.
- **Every transition says how the subject carries**: the title becomes the field; the chart's dip is
where we push into the map; the last subject shrinks into the logo's dot. No wipes, no stock
dissolves between ideas. Hard cuts only for rhythm within one idea.
- **Show the cause, then the effect, on screen.** The cursor clicks, then the result builds.
The data changes, then the consequence is visible. The viewer should be able to retell it.
- **At least three shot scales** in 30 s: wide/establishing, working (1.3–1.7×), and a close-up
(2–3×) that arrives while something is still building.
- **The picture carries the meaning, not the words.** Cover the words column: can you still follow
the film? If not, find the image or action that says it. Budget: about **one short line on screen at a
time** and **~40 words of film copy per 30 s** (UI content and the end card aside). No beat has a
heading. Lines arrive, do their job, and leave.
- **Framing changes.** No two neighbouring beats share the same framing, and something fills the frame
at least once every ~8 s (a close-up, a full-bleed world).
- **Count it:** ~4–6 beats per 20 s, a meaningful change every 2–4 s, open calm (title ~2.5 s, at most
one measured push early), end card held ≥ 3 s.
If they asked for a storyboard first, deliver the sheet (and a few key stills, if you've built them) and stop.
### 3. Build
`node <skill>/scripts/new.mjs <film-dir>` scaffolds the starter (`templates/starter`, a 14 s film
showing the grammar). Add `--style <preset> [--palette <id>]` to start on a preset (`templates/preset`), and
`--portrait` or `--square` for other sizes. Or start from a copy of the example. Then:
- **One `TT` cascade** of named times (`TT.click = 4.5; TT.result = TT.click + .3`). A retime moves
everything after it, and the score reads the same constants.
- **Layers in paint order**: 3D canvas, then the camera world (DOM UI, cards, camera-space marks),
then stage-space HUD and labels, then title/end cards, then cursors. One `Camera` on the world layer,
`cam.apply(t)` first in `render`.
- **Build the world larger than the frame** so the camera has somewhere to go. Make mock UI dense
(~1440×900 on a 1920 stage) and zoom 1.6–2.5× to work in it. Body text must be ≥ 26 px on screen.
Never sit on a whole window for more than ~1.2 s.
- **`init` builds and measures once; `render` only sets.** Everything from `t`: no
`requestAnimationFrame`, timers, CSS transitions/animations, accumulated state or `Math.random`
(use `kit.rng(seed)`). `render(t)` must give the same picture whatever order it's called in.
- **`render` sets every element, every frame, including hiding what isn't in this beat.** An element
you only touch inside an `if (inThisBeat)` keeps whatever state the last visited beat left it in,
so a scrub or a parallel export shows stray things. `check.mjs` catches this as non-determinism.
- **Frame 0 is the thumbnail**: the title is already readable (`TT.title = -0.6`).
- **Every hold moves**: camera drift on every key, breathing shapes, title creep. Calm, but
never frozen.
- **Motion has physics**: arrivals ease out, exits ease in, moves ease in-out; shapes and marks
overshoot (`eob` 1.6–1.9) or spring. Product UI only eases and never bounces. Things travel on arcs.
Type enters word by word from ONE direction (~110 ms stagger, 24–34 px), and exits quicker the other way.
- **Product UI** (theirs): read the real components/CSS and match exact values
(`upstream/recreate-ui.md`). Use fictional names and data. Label anything speculative ("Concept film ·
fictional data") on the end card.
- **3D**, when depth carries the idea (a city of data, a product object, a space to fly through):
the clay-and-light recipe in `recipes.md` §11. Project DOM labels from 3D anchors. Drive geometry
from the same data functions as any 2D chart, and give the camera a rig with distinct framings.
### 4. Look at it, and fix what you see (the step that makes it good)
```
node <skill>/scripts/frames.mjs <film-dir> --at 0,<every beat start>,<every beat +0.8>,end --sheet --out <dir>
node <skill>/scripts/check.mjs <film-dir>
```
After export, `node <skill>/scripts/review.mjs <film.mp4> --sheet sheet.jpg` runs the same smells on the
encoded file (sound, loudness, frozen time, the animated-deck signals) and works on any video.
Open the contact sheet and the full-size stills you're unsure of, and actually look. For each frame ask:
- Is there one clear subject, and is it big enough to read on a phone (640 px wide)?
- Does the composition look intended: margins, alignment, no awkward empty half-frame, nothing cropped by accident?
- Does anything overlap, collide, clip, or sit on top of text?
- Across the sheet: does it pass the slideshow test? Do the transitions read in the in-between stills
(check stills mid-transition, not just at rest)?
- Would a designer ship this frame?
`check.mjs` flags errors (non-deterministic frames, a blank first frame, console errors) and
warnings (frozen spans, a film that is mostly frozen, tiny text). It can't judge taste. Fix, re-render
the stills you changed, and look again. **Do at least two look-fix passes before exporting.** The first
render always has problems.
### 5. Sound
Sound is half the film. **A film with no `score()` is unfinished**: never deliver a silent export unless
they asked for silence, and if you do, say so in your reply. Write `score(S, kit)` from the same `TT`
(`upstream/sound.md` has the method): pick a tempo so bar lines land on the big moments. Start with a
near-silent pad under the title, bring the groove in when the action starts, put foley on the exact
frames of visible events (clicks, keystrokes via `S.ticks(kit.typing.times)`, pops when things land,
a whoosh under a whip), drop to a pad for a transform, build into the end card, then hit on it and let
the chord ring. Write your own melody (no recognisable songs). Then
`node <skill>/scripts/score.mjs <film-dir> --levels`: nothing between title and sign-off should sit
below about −30 dB.
### 6. Export and check the file
`node <skill>/scripts/export.mjs <film-dir> --out <film-dir>/film.mp4` (renders the score, encodes
H.264 + AAC; `--fps 60` for the smoothest UI, `--gif` too if asked; `--draft` makes a quick half-size cut for
checking timing, without motion blur). Motion blur multiplies render time by its sample count, so check
timing with `--draft` first. DOM frames take ~0.05 s each; 3D frames
~1–2 s each without a GPU, so a 34 s film with 18 s of 3D takes about 15 minutes. Run it in the background. Then pull a few stills from the MP4
itself (`ffmpeg -ss 12 -i film.mp4 -frames:v 1 x.png`) and look. Report truthfully: what you made, its
length and size, the look you chose, and anything you couldn't do.
## Feedback and edits
A note pinned to a moment ("0:12, the button") is about that moment. Map it to the beat in `TT`, change
only that, and re-render the stills before and after it. Keep everything else exactly as it is unless
they ask for a redesign. If you think a bigger change would help, do what they asked and suggest the rest.
## Don'ts (each one was shipped once and sent back)
- Static panels that fade in and out with a title each: the slideshow.
- Motion as garnish: particles, a wiggling underline or a pulsing glow around a still layout.
- Wide shots of whole UIs with unreadable text, or long holds on a finished result. Cut in while it builds.
- Fast camera in the first five seconds (reels aside). Multiple entrance directions in one line. Bouncy product UI.
- Everything entering at once. Stagger 200–400 ms and sequence the eye.
- Generic AI look: purple gradients, glassmorphism, emoji, a rounded card with a coloured left border, grey default 3D cubes.
- Claiming a file, sound or check exists that you didn't produce and look at.
## Files
`kit/` runtime (`motion-kit.js`, `player.html`, `kit.css`, bundled fonts, Three.js) · `scripts/`
(`doctor`, `new`, `preview`, `frames`, `check`, `review`, `score`, `export`) · `templates/starter/` ·
`examples/` (launch, journey, reel, poster, tabletop, app-promo, brand-promo, styles) · `kit/three-kit.js` (3D) ·
`kit/ui/devices.js` (phone, icons, store page, input, browser, pills) ·
`references/intake.md`, `references/styles.md` (+ `kit/styles/`, `examples/styles/`), `references/kit-api.md`,
`references/recipes.md`, `scripts/palette.mjs` · `references/upstream/` (the original Motion
reference set, verbatim and read-only; its private-player commands don't exist here. Use this kit's
equivalents in `kit-api.md`).
Files in this skill
- .claude-plugin/icon.png
- .claude-plugin/marketplace.json
- .claude-plugin/plugin.json
- .opencode/config.json
- CHANGELOG.md
- CONTRIBUTING.md
- NOTICE.md
- SKILL.md
- SOURCE.md
- agents/openai.yaml
- assets/social-preview.html
- docs/launch-article.md
- docs/seo-backlinks-playbook.md
- kit/kit.css
- kit/motion-kit.js
- kit/player.html
Attribution
Related skills
View all in content-marketing →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.