Documentary reel
Make a short documentary that is accurate first and gripping second: every figure, date and quote on screen comes from a cited source, contested numbers are labelled, nothing is invented, and the film still works with the sound off. The pipeline is deterministic where it can be (Python + Remotion + FFmpeg), so your judgement goes into the research, the writing and the checking.
A finished film from this skill is in examples/ikeja-2002/ ("The Night Lagos Shook", 2:59): its research,
script, narration text, edit plan, score cues and bespoke scenes. Read it when you need a concrete model.
What you produce
A project folder (one per film), built by scripts/new_project.py:
production.json everything story-specific: story text, photos, map, narration, score cues
edit_plan.py scene, shot and cut layout around the narration lines
research/ sources.md, fact-check.csv, script.md (script + shot list), narration_tts.txt
tools/ the pipeline scripts (copied from this skill's scripts/)
remotion/ the Remotion project (scenes, components)
assets/, attribution/credits.csv, previews/, output/
Delivered: output/<title>_1080x1920.mp4 (H.264 High, yuv420p, 30 fps, AAC 48 kHz, -14 LUFS) and a contact
sheet of every shot.
Stages
Work through these in order. Stages 1-3 are cheap and catch most problems, so get them right before building anything heavy. Stop for the user's approval after stage 3 (script + previews): rendering is the expensive part and changing the script afterwards means re-timing everything.
0 · Set up
- Check tools: Python 3.10+ with
numpy scipy pillow soundfile, Node 20+, FFmpeg on PATH, and for a recorded voicefaster-whisper(seereferences/render-and-qa.md-> Environment). python -P <skill>/scripts/new_project.py <project_dir>(add--example ikeja-2002to start from the worked example). It copies everything, generates textures and sound effects, an estimated timeline and the Remotion data files. Thennpm installinremotion/.- Run Python with
-P(keeps the current directory offsys.path).
1 · Research and fact-check
Read references/research-and-sourcing.md before you search. In short: find the strongest true hook,
build a dated timeline, mark each fact CONFIRMED (two or more independent outlets) or REPORTED/UNCONFIRMED
(with outlet and date), keep a "Not used, and why" list, and record everything in research/sources.md and
research/fact-check.csv. Never invent quotes, names, survivors, ages or statistics; an unverifiable point
is cut or shown as an open question. Images: Wikimedia Commons with a verified free licence only, fetched
by tools/fetch_commons.py so author and licence are read from Commons, never typed by hand.
2 · Script and shot list
Write research/script.md: the on-screen text per scene (each fact with its outlet and date and fact ID)
and a shot list (shot id, scene, narration line, motion, cut sound). The usual shape for a 2-3 minute reel:
content note (5 s) -> cold open with the hook -> 3-6 acts -> closing/dedication -> sources and credits.
A sensitive subject gets a content note, no gore, no dramatised reconstruction of violence, and people we
do not depict appear as empty frames. See references/visual-style.md for what each scene type can show.
3 · Previews (approval gate)
Fill production.json -> story and an edit_plan.py, run tools/timeline.py --estimate and
tools/sync_public.py, render a few stills (node scripts/stills.mjs), and show the user the script, the
look and the estimated running time. Wait for their go-ahead.
4 · Narration
Read references/narration-and-voice.md. Write research/narration_tts.txt: one paragraph per line
(N01, N02, ...), one or two sentences each, written exactly as spoken (numbers and dates spelled out, names
respelled phonetically, "..." for pauses), every claim already on screen. Then either the user generates it
in a TTS service or a person records it. Voice cloning needs the speaker's own consent, and realistic
synthetic voices must be disclosed when posting. With the recording:
tools/prepare_narration.py (speed, 48 kHz) -> tools/transcribe_narration.py (word timings, local).
5 · Edit plan and timeline
Read references/edit-and-timeline.md. Write edit_plan.py with the helpers (E.fixed, E.cold_open,
E.act) or the low-level API, then tools/timeline.py. It aligns the transcript to the script lines,
snaps every line to the real pauses, lays out scenes/shots/cuts/marks, and writes the narration master.
Check the printed boundaries and the total against max_seconds; tighten holds rather than speed up speech.
6 · Sound
tools/sound.py generates every effect; tools/score.py renders the score from production.json -> score -> cues (drones, braam + boom on the title, a pulse per act, heartbeat, closing pad). Every cut in
edit_plan.py names its sound; the only silent cut is a deliberate one (the black beat before the title).
Details and mix targets: references/sound-and-score.md.
7 · Scenes
Build each scene in remotion/src/scenes/ and register it in scenes/index.ts. Most acts can be the
data-driven SheetScene (typed pages described in production.json -> story.sheets); charts, maps and
document pairs are bespoke (copy from examples/ikeja-2002/scenes/). references/visual-style.md covers
the components, the safe area, flash safety and the layout traps found in production.
8 · Visual QA
tools/qa_sheets.py jobs -> node scripts/stills.mjs <dir> <jobs.json> -> tools/qa_sheets.py sheets,
then look at every sheet for overlaps, text cut off by the frame or by another element, anything below
the safe line, credits hidden, empty or top-heavy frames. Fix, re-render the affected stills, look again.
Repeat until clean. references/render-and-qa.md lists what to check.
9 · Render, mix, deliver
node scripts/render_chunks.mjs (chunked render with a progress log; resumes after a failure), render the
SFX stem, tools/mix.py, tools/finalize.py, then tools/qa_video.py and tools/qa_audio.py. Send the
MP4 and the contact sheet. Tell the user what was verified (specs, flashes, loudness, sync, silent beat) and
what was not (nobody has watched it with sound: ask them to).
Principles that matter most
- Accuracy beats drama. If the strongest hook is contested, say "reported" and name who reported it. If sources disagree, show the disagreement (it is often the most interesting beat).
- The voice drives the picture. Time shots to the real recording, not to estimates: key visuals land on the word that names them (a point plots on "February third", glows follow "armoury").
- Every cut has a sound, chosen for what is on screen (paper slap for a document, shutter for a photo, whoosh for a scene change), and the score ducks under the voice.
- Check by looking. Render stills and read them. Most defects (a credit behind a sheet, a stamp on text, a close-up cropping a heading, a glow invisible on pale paper) only show up in pictures.
- Report honestly. If a render is still running, say so; if you could not verify something, say that. Do not describe a process as stalled without checking timestamps against the current time.