Extreme Motion Design
A motion design skill for coding agents (Claude, Claude Code, Codex and anything that reads SKILL.md). The agent writes the video as code with Remotion and React, with voice, licensed music and synced sound effects, and it is not allowed to deliver until the frames have been measured.
Leia em português
The film above is the 2.0 presentation, made with the skill. Every number on screen was measured and the imagery is public domain or CC0 (NASA, USGS, NPS and The Met), fetched by the skill with the licence checked per file.
What is new in 2.0
- Reference mode. Hand it a video and
reference.py breaks it into measured structure (shots, camera moves, palette, where the visual mass sits, audio), writes a script skeleton with the same timings, and scores the new piece from 0 to 100 against the reference. Calibration: the piece against itself scores 100, using the score boundaries as cuts 86, a reel made from the same request without the reference 38, unrelated videos 23 and 24. It copies structure, rhythm and technique. It never copies frames, assets, text or sound.
- A design meter.
design.py counts the signals of the frame a model produces with no direction: near black with one accent, a giant condensed face on the left margin, decorative mono, everything in caps, the same composition in every scene. It flagged my own 1.3 reel (4 signals) and the template example (3). The 2.0 film scores 0.
- A design reference.
references/design.md covers composition, type, colour, texture, real imagery and launch film structure, each rule with its source, plus six named art directions to propose from.
- Real imagery with the licence checked.
stock.py fetches photo and video from Wikimedia Commons (CC0 and public domain only), NASA, Openverse and The Met, and records the evidence read from the API for every file.
- Face and hand tracking in
track.py, for graphics pinned to a body.
Why it exists
An agent writing video code cannot see what it renders. Left alone it ships text cut by the frame edge, captions over a face, the same card sliding into every scene, and audio that clips. I built the skill around that blind spot:
- The audio is the clock. One
roteiro.json produces the voice phrase by phrase, the score and the named cues. No scene holds a hand typed frame number.
- The direction is a contract. Before any scene exists the piece declares its concept, its visual law, its motif and the layout and entrance of every scene. The lint rejects a project without it, and rejects one where every scene is laid out the same way.
- The text is measured, not eyeballed. A probe reads every text box from the DOM of each still and the background from the pixels. Cut off, overlapping, too small, low contrast or outside the safe area fails.
- Someone else reviews. The contact sheet goes to a reviewer with a clean context that never saw the code.
- The final file passes a numeric gate. Codec, loudness, true peak, flashes per second, one frame pops, loop seam, contrast against the stills.
What the gates caught while making this reel and a second one built on phone footage
These are real lines from the session, not examples I wrote for the README.
| Gate | What it said | What was wrong |
|---|
layout.py | "renderizando 90%" x "milho": dois textos sobrepostos | A label sat on top of the captions |
layout.py | letra de 9 px: mínimo legível é 20 px neste formato | A chip was captured while scaling in from zero |
layout.py | "Extreme": texto cortado pela borda do quadro | A 300 px headline ran off the right edge |
layout.py | "Cor,": contraste 2.9:1 (texto #ff4b1f sobre #f3eee5) | Orange type on cream paper |
qa.py | true peak: -0.1 dBTP (máx -1.0) | AAC encoding raised the peaks of a boosted voice |
qa.py | flashes por segundo <= 3: pior janela: 4 | A five colour burst flickered |
| reviewer | "FAIL turns into PASS with the same measured value" | The checklist scene contradicted itself |
| reviewer | "EDIÇAO is missing its tilde" | The reveal mask clipped accents in a condensed font |
Every one of them was fixed before delivery, and four of them became fixes in the skill itself.
The same request without the skill
I ran the same request through the same model with the skill forbidden, plain Remotion only, and no paid voice. It is the honest comparison, so here it is with what I measured.