Docs

Install the skill, point it at a library folder, and run each workflow. Everything is plain files: markdown your agent reads, and a few scripts it runs.

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

ToolUsed for
ffmpegFrames, scene changes, contact sheets, loudness
yt-dlpFetching a source film at 480p or below
Python 3 with numpy, librosaSound 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.md before 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

FileWhat's in it
SKILL.mdWhen to use the skill, and which file to open for each job
references/principles.mdTen principles with how many breakdowns show each, plus the remix operators
references/technique-families.md45 families grouped by use, with After Effects, Blender and code recipes
references/premium-sound.mdWhat brand mixes measure like, and how to build premium sound
references/sound-from-references.mdPicking each sound from what references play on the same event
references/reference-to-film.mdThe end-to-end way a film is built from references
references/preflight-checklist.mdThe checklist to run before every board or render
references/breakdown-template.mdThe breakdown file format
brand/The skill's own logo, colours and type

Scripts

ScriptDoes
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 outA full-screen gradient light-band wipe between two clips
blender_xfx.pyBlender 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.