Film assembly
Claude Code assembles. Clips are generated elsewhere (see the film-generate skill). The contract between the two is film.json plus fixed clip names.
Folder layout
project/
film.json shot list (start from film.template.json in this skill)
clips/ A01.mp4, A02.mp4 ... never edit these
graphics/ transparent PNG or WebM overlays
refs/ logo
audio/ music
build/ generated; safe to delete
scripts/film.py in this skill folder does all the work. Run it with the full path to the script and the path to film.json:
python <skill>/scripts/film.py check
python <skill>/scripts/film.py validate project/film.json
python <skill>/scripts/film.py transcribe project/film.json --model medium
python <skill>/scripts/film.py build project/film.json
python <skill>/scripts/film.py qc project/film.json
Rendering and transcription can take minutes: run them in the background.
Order of work
check. Install only what is missing, after telling the user.- Ask only for what you cannot find: length limit, audience, deadline, names and spelling, logo, music, any text that must be on screen.
- Look at frames of every clip before deciding who speaks and what is in shot. A shot list or generation prompt says what was requested, not what came out.
- Fill
film.json, thenvalidate. Check the planned length now, before polishing. transcribe, then correct captions to the words actually spoken.build, thenqc, and read the contact sheets.- Report what you changed, what you checked and what you could not check.
Rules learned on a real project
- Keep each clip's own audio. Add music and effects around it; do not replace or re-voice speech unless asked.
- Captions come from the finished audio, not the script. Generated speech drifts from the script.
- Transcription is a draft. It often mangles names, brands, places and units. Small and medium models can disagree. Never copy it blindly; list doubtful words with timestamps for the user to check by ear.
- Check timing as well as wording. A caption can be correct and still appear a second late. Compare caption start with the first spoken word.
- Use people's names in captions if the user wants names, not job titles. On credit cards give all names the same size and weight unless told otherwise.
- Questions or key messages the audience must read go in persistent numbered
boxesthat appear as each is spoken and stay on screen. - Check every on-screen claim against the source data, including cards and fact boxes: figures, units, thresholds, and which week or date means what. Cards are easy to overlook and reviewers read them. If a reviewer disputes a figure, verify it against the source before changing it.
- Rebuild everything a change touches. A caption change needs that piece re-rendered:
build --only A06also re-assembles. A card change needs the card id. - Trim dead air first when the film is too long, using
segments, e.g.[[1.0, 15.2], [18.2, 26.0]]. Then shorten cards. Do not cut spoken lines without asking. - Look at the result before calling it done. After any visual change, extract a frame from the final film.
Music
Music is ducked automatically under speech. The user may still find it too loud where speech is quiet, the music swells or the scene has other sounds. Add a dip for that scene only:
"dips": [ { "clip": "A08", "from": 0, "to": null, "depth": 0.75 } ]
from and to are seconds within the rendered piece (null = to its end). depth 0.75 is about 12 dB quieter. Prefer a local dip to lowering the whole track when the user likes the rest. You cannot hear the mix: say so and ask the user to listen.
Graphics
graphics entries: {"file": "graphics/chart.png", "at": 2.0, "dur": 5.0, "x": 1265, "y": 140, "width": 600}. x,y place the file's top-left corner (default 0,0); a full-frame 1920x1080 overlay stays at 0,0. Keep faces and captions clear. Make charts from the real data with consistent colours. If the picture is letterboxed, set caption_bottom to place captions in or below the picture.
Final report
State the file path and length, what was checked by frame or transcript, and what was not (full playback, lip sync, faces, how the mix sounds). Confirm the film respects the length limit.
Safety and rights
Use only music, logos, faces and voices the team has the right to use. Do not publish or push the project anywhere unless the user asks.