Install
The skill is one folder. Put it where your agent loads skills from.
Claude Code
cp -r motion-library ~/.claude/skills/
Codex
cp -r motion-library ~/.codex/skills/
Any other agent
Point it at motion-library/SKILL.md. That file says which reference to open for each job, so the agent only reads what it needs.
Start a new session after installing, so the agent picks the skill up. Then ask for something motion-related and it loads on its own.
What it needs
| Tool | Used for |
|---|---|
ffmpeg | Frames, scene changes, contact sheets, loudness |
yt-dlp | Fetching a source film at 480p or below |
Python 3 with numpy, librosa | Sound analysis, beat grids, sound-hit scans (scripts/requirements.txt) |
| Blender (optional) | Staging films built from references |
pip install -r motion-library/scripts/requirements.txt
The library folder
Your studied films live apart from the skill, so the skill stays small and your library stays yours. Point the scripts at it with --library or the MOTION_LIBRARY variable. The default is ./motion-library.
export MOTION_LIBRARY=~/motion-library
motion-library/
videos/ # fetched films (deleted once framed)
info/ # source metadata from yt-dlp
frames/<slug>/ # interval/, scene/, review grids
sheets/ # 24-frame contact sheets
breakdowns/ # one markdown file per film
Grow the library
Prefer the brand's own uploads and the most-saved motion posts on X. Skip live action, talking heads and screen recordings.
# 1. fetch (480p or below, first 150 s)
scripts/fetch.sh pixel-pullback "https://www.youtube.com/watch?v=…"
# 2. frames, cuts, contact sheet, loudness
scripts/extract.sh pixel-pullback
# 3. optional: tempo, onsets, how often cuts land on sound
scripts/analyze_sound pixel-pullback
Then write the breakdown from references/breakdown-template.md: overall feel, a shot-by-shot table, why it works, sound, and a techniques table tagged by use. Delete the raw video once the frames exist, and keep the source link in the breakdown.
Use it on a brief
- Name the use of each beat: hook, feature, explainer, social proof or end card.
- Pick one or two technique families per beat and read why they work.
- Run the invention prompts and remix operators until you have a move no reference made.
- Storyboard each beat with timing, visual, move, on-screen text and sound cue.
- Run
references/preflight-checklist.mdbefore every storyboard or render.
For a product launch, board it first with the companion skill launch-storyboard, then run these steps on the board.
Build a film from references
The default way a whole film gets made. It is written up in references/reference-to-film.md.
- Pick references by beat, not by brand.
- Study each reference frame by frame.
- Build assets first, separately, from real sources.
- Stage everything in Blender, one script per scene.
- Make every seam a move, never a plain cut.
- Pace it readable first, then on the beat.
- Take the sound from the references:
references/sound-from-references.md. - Assemble, check and deliver.
Files
| File | What's in it |
|---|---|
SKILL.md | When to use the skill, and which file to open for each job |
references/principles.md | Ten principles with how many breakdowns show each, plus the remix operators |
references/technique-families.md | 45 families grouped by use, with After Effects, Blender and code recipes |
references/premium-sound.md | What brand mixes measure like, and how to build premium sound |
references/sound-from-references.md | Picking each sound from what references play on the same event |
references/reference-to-film.md | The end-to-end way a film is built from references |
references/preflight-checklist.md | The checklist to run before every board or render |
references/breakdown-template.md | The breakdown file format |
brand/ | The skill's own logo, colours and type |
Scripts
| Script | Does |
|---|---|
fetch.sh <slug> <url> | Downloads a source film into the library |
extract.sh <slug> | Interval and scene frames, review grids, contact sheet, cut count, loudness |
analyze_sound <slug> | Tempo, onsets, and how often cuts land on sound hits compared with chance |
scan_sfx_refs.py refs.txt out/ | Finds sound hits in reference windows and saves the frame at each one |
beat_grid.py <audio> | Tempo and first beat of a music window, so scenes sit on whole beats |
gradient_wipe.py a b frames out | A full-screen gradient light-band wipe between two clips |
blender_xfx.py | Blender helpers: gradient text sweep, and retiming a whole scene |
Rules it follows
- Learn why a move works, then invent. Never copy a reference.
- Only claim what was seen or measured, and say when a claim comes from frames rather than listening.
- Never post or publish anything. Concepts and renders go to you for review.
- Keep your revision notes as rules, and apply them next time.
Contribute
The library is open source. The most useful thing you can add is a new film, studied properly.
- Fork the repo and add your breakdown under
breakdowns/using the template. - Add each move to its family in
technique-families.md, with the source link and timestamp. - Keep the measurements: cuts per 10 s, loudness, and cuts on sound hits.
- Open a pull request. Only claim what you saw or measured.
Don't have time for a full breakdown? Add a film and someone else can study it.