Edit the user's OWN raw footage (talking head, interview, podcast, tutorial, vlog, multi-take recordings) into a finished video by its words - local transcript, a cut list (EDL) the agent writes from the transcript, one-pass render with every cut on a word boundary, captions and overlays, then verified (every word heard whole at every join, duration, loudness, cut strips). Use when the user hands over recordings and says "kurgula / edit this / cut the silences / make it tighter / remove the r...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vidbucks Footage Edit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/eynalliomer-vidbucks-footage-edit)
---
name: vidbucks-footage-edit
description: Edit the user's OWN raw footage (talking head, interview, podcast, tutorial, vlog, multi-take recordings) into a finished video by its words - local transcript, a cut list (EDL) the agent writes from the transcript, one-pass render with every cut on a word boundary, captions and overlays, then verified (every word heard whole at every join, duration, loudness, cut strips). Use when the user hands over recordings and says "kurgula / edit this / cut the silences / make it tighter / remove the retakes / add captions". Not for building a video from a reference (that is vidbucks-reference-to-video).
---
# vidbucks-footage-edit
Audio is primary; picture follows. The agent reads the words, not the video; it looks at frames only at decision points and after the render.
## Flow
1. **Inventory**: put the recordings in one folder (`core/videos/edits/<name>/`). `python tools/footage.py transcribe <dir> [--lang tr]` (faster-whisper, local, verbatim incl. fillers, cached per source) -> `python tools/footage.py pack <dir>` -> read `edit/takes_packed.md` (phrases with `[start-end]`, broken at silences >= 0.5 s).
2. **Converse, then propose**: say what you see (content type, takes, slips, length). Ask only what the material leaves open: target length / aspect, must-keep and must-cut moments, caption style. Propose the plan in 4-8 sentences (shape, take choices, cut direction, captions, overlays, length). **Wait for the user's OK before cutting.**
3. **Draft EDL**: `python tools/footage.py tighten <dir> [--fillers] [--retakes]` writes `edit/edl.json` (phrases kept, dead air removed, standalone filler phrases and restarted takes dropped). Then edit it by story: reorder/drop segments, add `"beat"` and `"why"`. Structure ideas (pick or invent): launch HOOK-PROBLEM-SOLUTION-BENEFIT-EXAMPLE-CTA; tutorial INTRO-SETUP-STEPS-GOTCHAS-RECAP; interview Q-A-FOLLOWUP; documentary THESIS-EVIDENCE-COUNTERPOINT-CONCLUSION.
4. **Render**: `python tools/footage.py render <dir> [--preview]`. The renderer snaps every edge onto a word boundary (never inside a word), pads 50 ms before / 80 ms after without entering a neighbouring word, adds 30 ms audio fades at every join, encodes the WHOLE cut in one pass (per-segment encodes drift lip sync), loudness-normalises to -16 LUFS, and writes `cut.json` (output-timeline words).
5. **Verify** (before showing anything): `python tools/footage.py verify <dir>`: the cut is transcribed again and every word is matched; a word missing at a join is re-heard in a 4 s window and only then reported as `CHECK` (likely clipped). Duration vs EDL, loudness, and `review_sheets.py` (contact, cut strips, first 2.5 s, phone width). Look at the cut strips. Fix -> re-render -> re-verify, at most 3 passes, then tell the user what is left.
6. **Finish**: overlays in `edl.json` -> `"overlays": [{"kind": "title"|"lower"|"punch", "at": s | "word": "Fred", "nth": 0, "dur": s, "text", "sub", "scale", "x", "y"}]`; motion-graphic cards from the card library (`python tools/cards.py list` / `gallery`): `{"kind": "card", "card": "stat|thesis|section|quote|label|list|lower|versus", "style": "ink-editorial|swiss-paper|neon-tech|warm-doc|pop-print", "word"|"at", "dur", "data": {...}, "item_words": [...]}` (tier 1 covers the frame, tier 2 keeps the speaker visible; one style per video); `python tools/footage.py finish <dir> --captions sentence|bold|none` renders the `FootageEdit` composition (muted picture + captions chunked from the cut's own words + overlays) and muxes the cut's sound back with ffmpeg.
7. **Iterate + remember**: notes become EDL changes (never re-transcribe); every note that is a rule goes into this skill or `docs/motion-rules.md` (CLAUDE.md section 6).
## B-roll (cutaways over the talk)
1. Ask the density once if the user has not said it (light ~1 per 20 s, medium ~1 per 12 s, heavy ~1 per 8 s; heavy is easier to cut down than to add to).
2. `python tools/footage.py broll <dir> [--density medium] [--mode auto|full|panel|split] [--era 1950s] [--type image|video]`: one slot per phrase that names a concrete thing or place (spaCy noun phrases; people, quantities and abstractions are skipped: B-roll shows things and places, not private faces), anchored 0.1 s before its word, 2.5-4 s long, never in the first 2 s, never over a card / name / title, at least 2 s of face between cutaways. Writes `edit/broll.json` + `edit/broll_visuals.json`.
3. Media, in this order: the user's own footage or screen recordings; licensed period footage for period talk (`tools/archive_clips.py`, PD only) - modern stock for an old claim is wrong; licensed photos/documents via `python tools/media_hunt.py hunt --visuals <dir>/edit/broll_visuals.json` then `pick --line <slot> --index <n>`. Own or archive files: `python tools/footage.py broll-pick <dir> --slot N --src <file> [--at in_s] --license "..."`. LOOK at every candidate sheet; leave a slot empty rather than fill it with something generic.
4. `finish` lays every picked slot over the cut: `full` = cutaway with a slow push (clips play muted from their in-point), `panel` = picture in the side/top zone with the speaker visible, `split` (9:16 default) = B-roll top 46 %, speaker pushed down; documents (light, paper-like pictures) are shown whole on a blurred backdrop. `edit/CREDITS.md` lists every B-roll source for the description.
## Music and the beat
- Only the user's own or licensed music (or `make_pulse_track.py`, our own synthesis). Put it in the EDL: `"music": {"src": "...", "start": 0, "bpm": null, "snap": true, "music_db": -14}`. `finish` maps its beats with `tools/beatmap.py`, moves cards / B-roll / titles onto the nearest beat or hit (big moments <= 0.15 s, panel cards <= 0.10 s; nothing moves when no beat is near: the words win) and mixes it ducked under the voice at -16 LUFS. `beats.json` is kept in `edit/`.
- `python tools/beatmap.py analyze <track>` alone gives bpm, beats, downbeats, hits (where the big moments go), the loudest moment, quiet drops and an intensity curve. Confidence `low` = weak pulse: pass `--bpm`. Tempo can come out at half or double (an octave): if the user knows the BPM, pass it.
## Every format from one edit
`python tools/footage.py formats <dir> [--aspects 9:16,4:5,1:1,16:9] [--times 8,26,54]` renders the same EDL (cuts, cards, B-roll, music, captions) once per shape and writes `edit/cut_<aspect>_final.mp4` + `edit/formats.jpg` (every format side by side at the same moments: LOOK at it). Nothing is cropped blindly: the speaker is reframed per shape (face / active-speaker camera), captions sit at a height per shape (9:16 70 % clear of the platform UI, 4:5 76 %, 1:1 80 %, 16:9 84 %), panel cards move to a top band on narrow shapes, full-frame B-roll becomes split (B-roll top, face below) on 9:16 and 4:5. Each output runs the text gate.
## Long -> short (and vertical)
- `python tools/footage.py highlights <dir> --duration 45 [--aspect 9:16] [--count 3]`: every run of 1-5 phrases (4-15 s) is scored (picture motion, loudness against its surroundings, sharpness, no dark frames, a little for questions/numbers and speech rate), never across a picture cut; the best moments become `edit/edl_short.json` (more with `--count`), the strongest one first (`--no-hook-first` keeps story order), and `edit/highlights.md` lists the top 30 so you can swap picks by meaning. One topic per short: if the picks wander, split rather than compress.
- Reframe: an EDL with `"aspect": "9:16"` (1:1, 4:5) gets a virtual camera per segment: faces from YuNet (`core/models/yunet/face_detection_yunet_2023mar.onnx`, MIT, from the OpenCV model zoo; without it, motion + detail), a dead zone (8 % of the crop) and a pan limit (about half a frame width per second); the keys are written to the cut's json (`camera`).
- Render/verify/finish the short with `--edl edit/edl_short.json --out edit/short.mp4`, `verify --cut edit/short.mp4`, `finish --edl ... --cut ... --captions bold` (vertical captions sit at 70 % height, clear of the platform UI).
- Active speaker: with several faces the camera follows the one TALKING: per frame each face scores 0.5 x (its mouth motion correlated with the voice envelope over 2 s) + 0.5 x (mouth motion minus head motion, counted only when the motion is concentrated in the mouth; camera moves are cancelled first); scores are smoothed over 1 s and Viterbi picks the sequence with a cost per switch; no speaker shot under 1.2 s; a switch between faces far apart is a cut, not a pan. Regression set: `core/videos/edits/duo` (left talks 0-4 s, right 4-8 s; expected switch ~4.2 s) and the panel shots of `long1` (presenter held). `SPK_DEBUG=1` prints per-face scores.
- Still limited: a speaker who turns to profile loses mouth evidence and the camera may move to a listener; off-screen speakers keep the last face. Look at the contact sheet of every multi-face segment.
## Cut craft (starting points, not law)
- Cut between phrases (silences >= 0.4 s are cleanest; 0.15-0.4 s usable after a look; never < 0.15 s, that is mid-phrase). Keep natural beats after a comma or "First,". A filler inside a phrase stays: cutting it clips the words around it.
- Keep the LAST clean take of a restarted line; join two takes only where both sides are silent.
- Laughs, punchlines and reactions are the beat: extend past them.
- Speaker hand-offs breathe 400-600 ms; tighter for social, looser for documentary.
- Captions: one look for the whole video (dark box, thin light edge), never over a mouth or a name card, >= 0.35 s per cue, <= ~17 characters a second; `bold` = 1-3 words for fast social, `sentence` = 4-7 words for narrative.
## Honesty
Say what was checked (words re-heard, durations, loudness, sheets looked at) and what was not (you cannot hear pops or tone; lip sync only from frames). Never invent quotes or captions that were not said.