agentleFS
mneves75mneves75/skills/skills/mneves-motion-film/SKILL.md

mneves-motion-film

Skill3 starsChanged 39 days agoApache-2.0View on GitHub

Make or update a short product film from a brief, with checked facts, music and a Remotion render. Use when asked to make, update or redo a product video.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Timing and copy: Put scenes, cues and the music sections in timing.json: every scene starts on a beat and carries a swish cue on that frame.

    line 50
  2. Very specific:

    Look at stills (npx remotion still) at frame 0, at every key press and at the last frame before the first full render.

    line 56
  3. Distinctive:

    When the product's real screen differs from what the film needs to show (a row left out, a state after a key), capture that real screen …

    line 118
  4. Very specific:

    Put key presses on a kick or a quiet eighth: a click on an open hat is masked by its noise, and check_sync.py cannot measure it in the mix.

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Motion film

Turn a brief into a delivered film and the evidence that it is right. Every line on screen is quoted from the product's own pages, every cut and key press has its sound on the same frame, and a reviewer who sees only the film and the facts says ship. The scripts here do the measuring; you make the picture.

Inputs

The brief: product, URL, audience and what they should do at the end. Every other field (length, format, platform, brand, music, voice, reference video) is yours to decide when the user leaves it blank. Decide it, then log the choice and the reason in brief.txt (assets/brief.template.txt). Ask only when two readings of the brief would make different films.

Layout

In the Remotion project (reuse one the repository already audits; otherwise create one):

film/            brief.txt, facts.json, copy.json, timing.json, theme.json, ledger.txt, capture/
film/scripts/    a copy of this skill's scripts/
src/film/        theme.ts, one component per scene

Copy assets/remotion/ to start src/, the *.example.json files to start film/, and add assets/eslint.film.mjs to the ESLint config.

Steps

  1. Capture. capture.py <url> film/capture for brand and hierarchy references; copy the logo file path for path. Take colours from the product's own styles into theme.json (six at most). Done when check_contrast.py film/theme.json passes.
  2. Facts. facts.py <site-url> <page.html>... > film/facts.json. It reads the local page files you pass and uses the URL only to build each fact's link, so fetch the served pages fresh first; --check compares those local copies, not the live site. Ids are text digests, so editing one page line breaks only the copy that quotes it. Done when every claim you intend to show is a fact.
  3. Storyboard. For a new or redone film (an update edits the existing shot table), a planner in a fresh context drafts three directions (references/storyboard.md, which also holds the picture and sound rules). Choose one and log the strongest rejected alternative. Done when the shot table names every shot, line (as fact id), key press and what the viewer learns.
  4. Timing and copy. Put scenes, cues and the music sections in timing.json: every scene starts on a beat and carries a swish cue on that frame; clicks and hits sit on eighth notes. Put each on-screen line in copy.json as {text, fact}. Done when every shot in the table has its scene and cues in timing.json and every line has a copy.json entry.
  5. Build the scenes. One component per scene, every string through line(), every timing from timing.json. Rebuild the product's screens as live UI with its real text. Look at stills (npx remotion still) at frame 0, at every key press and at the last frame before the first full render. Done when check_facts.py film/facts.json film/copy.json src passes and the stills show every line.
  6. Build and check. python3 -B film/scripts/build.py --composition <id> --site <url> --page <page.html>... runs, in order: facts freshness (the pages still give facts.json), facts trace, the project's ESLint (JSX literals), contrast, music, loudness (mix and music alone), render, mux, muted copy, media checks, sync, contact sheets. Done when it exits 0. Read every contact sheet yourself: overflow, clipped text, a still hold, a key press with no visible change.
  7. Review rounds. For a new or redone film, or an update that changes picture, timing or music (other updates get one round), each round a new reviewer on the reviewer seat (never the model that built it) sees only film.mp4 and facts.json; the same round, a muted test retells the film from 2 fps sheets (references/review.md holds both briefs and the dispatch). Fix the worst problem first, rebuild, and give the next reviewer the earlier problems to recheck. Done when a reviewer's last line is ship, at most five rounds; after five, deliver with the open problems listed.
  8. Ledger. Record every round in ledger.txt (assets/ledger.template.txt): the numbers the scripts printed, before and after each fix, and the reviewer's verdict. A number nobody measured stays out.

Scripts

Standard library and ffmpeg only; each prints its usage when run without arguments and exits 1 on a failed check.

ScriptChecks or makes
capture.pyheadless Chrome stills: hero, full page, phone
facts.pyfacts.json from the product's pages; --check refuses one the pages no longer give
check_facts.pyevery copy line a verbatim substring of its fact; every line shown; no unknown line() id
check_contrast.pyat most six colours; every text pair at least 4.5:1
music.pymusic and effects from timing.json, fixed seed
loudness.pytwo-pass loudnorm to -14 LUFS, true peak at most -1 dBTP, measured after
check_media.pysize, frame rate (timestamp base, counted frames, an even presentation interval), duration, H.264 yuv420p, AAC 48 kHz, faststart
check_sync.pycuts on the beat with a swish; every kick, click, hit and final chord within one frame; --sfx finds each cue in its own stem
contact.pytimecoded contact sheets
build.pyall of the above in order, stopping at the first failure

tests/test_pipeline.py proves each check passes on a good film and refuses its own planted violation.

Deliver

film.mp4, the music alone (music.wav), the 15-frame thumbnail sheet, brief.txt, facts.json, timing.json and ledger.txt. Name the seconds the user should watch and listen to themselves: the first second (the thumbnail), each key press, the loudest section and the end card. A site that embeds the film also gets its poster from frame 0 and captions that describe the sound.

Gotchas

  • Remotion's headless Chrome does not resolve -apple-system; put system-ui first.
  • Render with --image-format=png: JPEG frames come out yuvj420p, which some players reject.
  • Six colours means six solid colours on screen: borders take a palette colour rather than ink at low opacity, panels take no grey fill, nothing is dimmed for long, and a logo's near-white is drawn in the palette's ink.
  • Phone players shrink a 1920 px frame about five times: terminal type under about 70 px becomes unreadable. Show a prefix of each line (still a substring of its fact) in a close-up rather than the whole line small. The same holds for titles, dialogs and captions: a dialog line too long for 70 px goes on two lines, each a substring of its fact, and a box title shows its key substring large.
  • Reviewers time reading, not only cuts: words enter at least 0.3 s apart with a longer pause between phrases, and anything that leaves (a row moving out) is readable for 0.7 s first, counted from the cut that brought it in.
  • When the product's real screen differs from what the film needs to show (a row left out, a state after a key), capture that real screen into the product's pages first, so it becomes a fact; never compose a line from permitted pieces.
  • Put key presses on a kick or a quiet eighth: a click on an open hat is masked by its noise, and check_sync.py cannot measure it in the mix; the per-kind stems (--sfx) prove the click is there.
  • Codex refuses to start outside a Git repository without --skip-git-repo-check; a review that exits at once has not reviewed anything.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.