Write talking-head scripts and produce Instagram reels and YouTube shorts
96%
Does it follow best practices?
Impact
98%
1.07xAverage score across 8 eval scenarios
Low
Low-risk findings worth noting
Process steps in order. Do not skip ahead.
A human-in-the-loop pipeline turning raw clips into platform-ready reels. ffmpeg-based; Whisper and Gemini optional.
1.BRIEF+FORMAT ─▶ 2.PROBE ─▶ 3.INSPECT+SELECTS ─▶ 4.NORMALIZE ─▶ 5.BEATS (montage only)
─▶ 6.PLAN + DRAFT ─▶ ⏸ GATE 1 ─▶ 7.MASTER + QC ─▶ ⏸ GATE 2 ─▶ 8.EXPORTThe brief and format come first, never assumed. Only beat detection and how the plan is built differ between formats.
Two mandatory human review gates: cut plan approval (Gate 1 — always present the plan together with a cheap 540p preview) and final approval (Gate 2 — graded render before export). Never skip either.
Never plan blind. View every contact sheet (Step 3) before proposing a cut plan — a clip named "nyc iceberg.mp4" can be a 44-minute conference talk, and fitness clips can carry burned-in captions that disqualify them.
Required: ffmpeg + ffprobe (brew install ffmpeg); for music-video, a .venv with librosa + soundfile (macOS refuses system pip, PEP 668). Text goes through subtitles/libass; ffmpeg capabilities are checked at preflight.
Optional: auto-editor, deepfilternet, Node 18+ for Remotion cards or Node 22+ for Hyperframes motion graphics, moviepy, yt-dlp, mlx-whisper, a Gemini API key — each named with its cost in references/dependencies.md.
Never silently substitute a lesser tool for a missing one — name the loss and let the user choose. Scripts record what ran (source, engine_requested, substituted); report a substitution, never pass its output off as the preferred tool's.
One project folder per reel:
mkdir my-reel && cd my-reel
python3 "$REEL_BUILDER/scripts/pipeline.py" init --target-duration 30 --mode music-video --resolution 1080$REEL_BUILDER is the installed skill directory. init links scripts/ to it, so every later python3 scripts/… command resolves. It scaffolds raw/ music/ work/ plan/ preview/ exports/ plus project.md (why — settled decisions) and state.json (where — stage state, gates, and the four Step 1 answers, which route every later status / next). Layout, flags, gate bookkeeping: references/project-setup.md.
Existing footage is symlinked into raw/ with an absolute target, never copied — and raw/ (link included) is never deleted. Procedure and checks: references/project-setup.md.
pipeline.py is the state machine. Stage completion is read from disk. Each render records what it was made from, so editing the plan or replacing a clip, VO, music or LUT flips it to stale. A gate decision binds to the exact file reviewed and voids when that file or its inputs change.
Session-start ritual — MANDATORY, in this order, before touching any media:
python3 scripts/pipeline.py status — where the project stands; run next whenever unsure.project.md — the human's settled decisions; never re-ask them.pip3 install into system Python (macOS refuses it, PEP 668):
python3 -m venv .venv && .venv/bin/pip install librosa soundfiledetect_beats.py with .venv/bin/python3 from then on. Talking-head reels cut to speech and skip this.python3 scripts/check_deps.py --mode "$(python3 scripts/pipeline.py mode)"During the session, pipeline.py gate 1|2 presented|approved|nle-wait|reopen records every human decision the moment it happens.
Brief first. Who it is for, their need, the one promise, the evidence that shows it, the response wanted, platform, structure (opinion / demonstration / story / comparison / montage), and a duration with its reason — into plan/brief.json (scripts/brief.py init --from <last reel's brief> carries the series answers). Ask only what is still empty; never invent evidence. Fields, good vs weak answers: references/creative-brief.md.
Then the four settings — ask explicitly, before touching any media — never infer them from the footage. A folder of action clips is just as plausibly b-roll for a talking-head reel, and every one of these choices is expensive to change after normalize.
--target-duration well above the 30s montage default.9:16 reel/short (default). If it isn't going out as a reel or short, ask whether they want 16:9 — a landscape YouTube cut is a different deliverable and exports one youtube.mp4 instead of the three vertical targets.1080 (default) or 4k — 4K for an archival or YouTube-primary master; 4K normalize/render is markedly slower.Trade-offs behind each: references/project-setup.md.
If the user already settled something ("cut this to the beat", "make it landscape for YouTube"), don't re-ask — state what you're proceeding with. If they're unsure on format, ask what the reel is for: a mood piece is music-video, an explanation or opinion is talking-head.
Record all four before probing:
python3 scripts/pipeline.py init --target-duration 75 --mode talking-head \
--aspect 9:16 --resolution 4k --captions yesstatus then shows them ([talking-head · 9:16 · 4k · captions]) and adds --aspect/--resolution to the commands it emits, so the choices can't drift apart. Record them in project.md too. Proceed to Step 2 — the next three steps are the same for every combination.
python3 scripts/probe_clips.py raw/ --target-duration 30 --out work/clips.jsonProduces work/clips.json with duration, resolution, fps, codec, rotation, and color transfer (detecting iPhone HDR/HLG and DJI D-Log) per clip. Still photos (jpg/png/webp/heic) are inventoried too and become Ken Burns clips at normalize time (--still-duration 8; for HEIC ffmpeg can't read, sips -s format jpeg first). Clips longer than 10× --target-duration are flagged as duration outliers. Don't normalize one whole — extract the usable segment (ffmpeg -ss START -to END -i clip -c copy work/extracts/name.mp4, bounds from its Step 3 sheet) and re-probe.
Summarize to the user: total clips, runtime, outliers, problem files, and which look log/HDR. Ask what story/order they have in mind if filenames don't say — filenames are hints; Step 3 verifies them.
python3 scripts/contact_sheet.py work/clips.json --outdir work/sheetsOne dense frame grid per clip across its full duration (--interval 1.0 for denser). Clips run concurrently; the sampler picks decode or keyframe-seek by measured cost. View every sheet (Read the PNGs) before planning. Look for:
references/talking-head.md). Intermittent text is the classic trap — it appears mid-clip only and sparse sampling misses it; re-run a borderline clip at --interval 0.5.build_cut_plan.py --hook/--close.pan values (Step 4) aren't guesses.Report rejects and picks with reasons; record them in project.md and remove rejected clips from clips.json.
Then write the selects — plan/selects.json: each moment worth keeping (range, what happens, purpose, value), in story order, judged against the brief's promise; validate with selects.py check. Format: references/selects.md. Moments from earlier projects: library.py search (references/footage-library.md).
Mixed sources can't be concatenated directly. Normalize to a uniform intermediate:
python3 scripts/normalize_clips.py work/clips.json --outdir work/mezz --profile autoDefault mezzanine: 1080x1920 (9:16), 30fps, H.264 high-bitrate, BT.709 SDR, stereo 48kHz. The script auto-crops landscape footage to center-cut vertical; pass --pan left|center|right per clip in clips.json if the subject is off-center (the contact sheets from Step 3 show you where the subject is). Camera-specific color handling (HLG→SDR tonemap, D-Log→Rec709) is applied automatically based on probe data.
--aspect and --resolution set the frame (see Step 1); pass the same values at init, here, and at render. Cropping across aspect throws away one axis — a landscape source cut to 9:16 yields only ~1215px of width and upscales to fill — so the script names each affected clip on stderr.
Still photos become Ken Burns clips here (kb: auto/in/out/left/right; in for a centred subject). D-Log conversion applies only to dlog-profile clips, never SDR (--dlog-lut official.cube for DJI's exact LUT) — references/ffmpeg-recipes.md.
Outputs are atomic (.tmp.mp4, renamed on completion), but still gate on the process exiting, not on files appearing. Slow on 4K sources — if backgrounded, wait for exit before rendering.
Talking-head reels skip this step entirely — cuts land on speech, not on a grid, and pipeline.py drops the stage from status in that mode. If the user wants a quiet music bed under the VO, drop the file in music/ and go straight to Step 6; no beat analysis is needed for a bed. Proceed to Step 6.
python3 scripts/detect_beats.py music/track.mp3 --out work/beats.jsonOutputs BPM, beat timestamps, and detected downbeats (stronger cut candidates). No librosa? Use --bpm 120 (or the track's known BPM) for a fixed grid.
No music in music/ yet? Stop and ask the user — a file, a YouTube link (fetch_music.py, with a music-rights reminder), or a fixed --bpm grid as a last resort. Options in references/montage-cuts.md.
Both formats produce the same artifact — plan/cut_plan.json — but reach it differently. Take the branch matching the mode from Step 1, then rejoin below.
Music video: build_cut_plan.py --selects plan/selects.json arranges the selects on the beat grid — each once, in story order — with a phase-based pacing structure deciding how many beats each holds (2-beat minimum, never longer than the moment). --score-in-points keeps only in-points that contain a person (Apple Vision, macOS) — worth it on footage with a subject, pointless on POV. Read references/montage-cuts.md for the command, the phase table, and the two known weaknesses worth checking by hand.
Talking-head: author the plan from the selects; read references/talking-head.md first. Face segments keep their true source in-points (lip-sync). The structure's defaults (references/formats.md, plan_broll.py --brief) set b-roll share and beat length. Say where the speech comes from: "vo": {"file", "start", "words"} lays the continuous take under every cut, so b-roll never drops a word; "audio": "segments" declares an intended audio edit, which then owes verify_cut.py. pipeline.py blocks a multi-clip plan with neither.
Motion graphics: Hyperframes clips (references/hyperframes.md) or, on a Resolve-mastered reel, the same title as a Fusion comp (references/fusion-titles.md) — offer both, never switch a project silently.
Long recordings: references/long-form.md (talks with slides: "Talk layout"); shortlist → user pick → three hook previews: references/shortlist-and-hooks.md.
Audit the plan's content first — python3 scripts/audit_plan.py plan/cut_plan.json --out work/plan_audit.png renders one labeled thumbnail per segment. An in-point landing on empty track or sky is dead space; check_cuts.py samples across cuts for defects, this samples within segments for content.
Then render a cheap draft and QC it before the human sees anything:
python3 scripts/render_reel.py plan/cut_plan.json --preview --out preview/draft_v1.mp4
python3 scripts/check_cuts.py plan/cut_plan.json preview/draft_v1.mp4 --out work/qc_v1--preview renders fast at low res. check_cuts.py writes a frame-pair sheet across every cut plus a report JSON, flagging black frames, frozen cuts, and duration drift. View it and fix what it finds first. Gate 1 refuses until check_cuts has passed on that exact draft.
Present Gate 1 as plan + preview together — the readable timeline and the draft video. Record it (pipeline.py gate 1 presented), then ask which way they want to go:
pipeline.py gate 1 approved (it refuses a stale draft or one without passing QC), proceed to Step 7.cut_plan.json, re-render the draft (bump versions), return to Gate 1.Hook advice: the first 1.5–2s decides scroll-past.
Option 3 — NLE round trip. Export FCPXML, pause while they edit, re-import the cuts. Procedure and the mandatory gate 1 nle-wait rule: references/nle-round-trip.md.
Run the render and QC that pipeline.py next emits — the grade comes from pipeline.py config grade (default gritty for montage, clean for talking-head). qa_render.py checks every frame, not just cuts: black frames, unplanned flashes, 12+ frame freezes, single-frame pops, mid-reel audio gaps, each with a contact-sheet cell to open. Run it on the master before burning captions; card entrances read as pops. Gate 2 refuses until check_cuts and qa_render pass on this master, plus verify_cut.py --out work/verify_master.json when the plan's speech comes from the segments. A SKIPPED speech check approves only with --accept-unverified "why", which is recorded.
Grades: gritty, rapha, cine, punch, clean, none, or --lut file.cube (references/ffmpeg-recipes.md). Undecided? compare_grades.py tiles the same frames under every grade — pick from the sheet. --natural-audio -18 keeps ambient clip sound under the music. Captions: gen_captions.py (review the transcript first; --animate highlight|reveal for word-by-word) — references/talking-head.md.
Talking-head: honor the Step 1 caption answer. Recommend captions (most viewers watch muted), never impose them. Time them against the final cut. The voice stays at 0 dB. A bed is the plan's music key, ducked under "vo".words (or --duck), never the voice lowered under music.
resolve_render.py (Resolve Studio) and render_moviepy.py take the same plan (references/render-engines.md); ask before switching engines. --crf 12 --audio-bitrate 320k renders an archival master.
QC the master, show it (pipeline.py gate 2 presented), and export only when they say ship it (gate 2 approved).
python3 scripts/export_variants.py work/master.mp4 --outdir exports/ --thumb-at 1.5 \
--thumb-text "HOOK LINE" # optional: magazine-cover text on styled thumbnailsProduces:
export_variants.DELIVERABLES): 9:16 and 1:1 → tiktok.mp4, ig_reels.mp4, yt_shorts.mp4, linkedin.mp4; 16:9 → youtube.mp4, linkedin.mp4 — H.264, platform-tuned bitrate/loudness (specs in references/ffmpeg-recipes.md), plus manifest.json tying them to this mastercheck_export.py): a format FAIL is mechanical — fix and re-export; a judgement FAIL (duration, aspect, fps, loudness) changes content — put it to the userthumbnail.jpg at --thumb-at, plus Gemini-styled variants when a key is set (references/captions-and-gemini.md)The user picks the cover — check styled thumbnails for face fidelity and spelling, and mention AI-imagery disclosure once per project.
Before upload, check captions against each app's UI with safe_zones.py preview (phone-size frames). With captions on, --captioned/--srt ship clean + captioned cuts and a sidecar. Offer caption + hashtags per platform (references/brand-style.md). Deliver exports/, then log the post with publish_log.py — references/publishing-feedback.md.
One project folder per reel: Steps 1–6 for all reels, one review sitting for every plan + preview, then render and export the approved ones.
references/creative-brief.md, references/selects.md, references/formats.md — brief fields, selects, defaults per structure. Read at Steps 1, 3, 6.references/montage-cuts.md / references/talking-head.md — the two plan branches. Read for the project's mode.references/long-form.md, references/shortlist-and-hooks.md — longer videos; shorts shortlisted from them.references/publishing-feedback.md — safe zones, sidecars, the publishing log and comparing posts.references/project-setup.md, references/state-schema.md, references/dependencies.md — layout, gates, state records, tool costs.references/ffmpeg-recipes.md — camera profiles, grades, export specs, troubleshooting.references/nle-round-trip.md — FCPXML round trip; read when Gate 1 feedback turns frame-level.references/render-engines.md, references/hyperframes.md, references/fusion-titles.md — other engines and motion graphics.references/look-match.md — match a reference reel's look by the numbers.references/captions-and-gemini.md, references/brand-style.md — captions, AI copy and thumbnails, brand voice.pipeline.py status over memory. Record gate decisions the moment they happen.raw/ — including the symlink itself, which survives cleanup. Extracted segments go in work/extracts/; disposables live only under work/.ffprobe) before declaring success.references/ffmpeg-recipes.md) only when they fail.repository in the plugin manifest, or publish from a GitHub Action to verify it.