/vibe-editing:script-cutfrom Vibe Editing
Cuts talking-head clips by forced-aligning a clean script to audio, keeping only the desired words and cutting silence, fillers, and false starts between them. Solves clipped words, dead air, and scrambled order.
Ships in Vibe Editing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You edit in Premiere by looking at the audio track and the words. This automates exactly that:
"Everything in between" is silence AND junk (fillers, false starts, restarts). Junk is never in the script, so it lives in the gaps between kept words and gets cut automatically. You never surgically remove errors after the fact — you only keep the words you chose, so errors can't leak through.
This is text-based editing (how Descript works), done with a real forced aligner so it's frame-honest.
A forced aligner cannot skip unscripted audio — it absorbs a stumble into a neighbouring word's boundary, inflating that word's span so the stumble rides along in the cut. So: align the faithful transcript (every word, incl. fillers/restarts), then KEEP only the curated subset and cut the rest. The kept words land on their true positions; the junk stays in the cut gaps.
# 1) one-time: install the toolchain (MFA + a python venv with numpy + num2words)
bash ${CLAUDE_PLUGIN_ROOT}/skills/script-cut/scripts/setup_toolchain.sh
# 2) cut: produces <out>/cut_spec.json (precise, in SOURCE seconds)
"$VENV/bin/python" ${CLAUDE_PLUGIN_ROOT}/skills/script-cut/scripts/script_cut.py \
--source SOURCE.mp4 \
--transcript words.json \ # word-level transcript: {"segments":[{"words":[{word,start,end}]}]} etc
--spec structure.json \ # {"segments":[{"in":sec,"out":sec, "n":1?, "cat":"LABEL"?}]} = rough marks
--out OUTDIR \
--gap 0.20 # cut any inter-kept-word gap >= this; bigger = keep longer pauses
# 3) render cut_spec.json with whatever renderer you use, e.g. for a numbered listicle short:
python ${CLAUDE_PLUGIN_ROOT}/skills/listicle-short/scripts/build_short.py \
--source SOURCE.mp4 --spec OUTDIR/cut_spec.json --music TRACK.mp3 \
--res 1080 --grade --per-seg --eye-lock --out RENDERDIR/
# 4) EAR-TEST IT YOURSELF (never hand QC to the user):
"$VENV/bin/python" ${CLAUDE_PLUGIN_ROOT}/skills/script-cut/scripts/qc_ears.py --clip RENDER.mp4 --spec OUTDIR/cut_spec.json
"$VENV/bin/python" ${CLAUDE_PLUGIN_ROOT}/skills/script-cut/scripts/qc_clips.py --clip RENDER.mp4 --spec OUTDIR/cut_spec.json \
--transcript RENDER_words.json # the render's OWN transcript = ground truth of what it actually says
--spec in/out are only the editor's rough marks that choose which words belong to each chunk;
the actual cut is defined by the script. n/cat pass through (e.g. listicle numbered category tabs).
qc_clips.py).qc_ears.py scans residual dead air and draws a spectrogram of every seam.hides_speech().true_end().[false-start] [silence] [restart]), MFA can place a script word inside the silent gap. Caught one in the
EndurePainLonger clip: MFA put "can" at 2121.046–2121.256 in a −60 dB dead zone (waveform was
unambiguous — see [Lesson: silence-validate kept word onsets]). The aligner has no acoustic-gate on the
label, so the cut spec includes 210ms of silence. Fix: validate every kept word's first ~50ms — if
its mean dB is below word_body_dB − 16, treat it as a ghost and drop that span. Until that lands in
code, manually scan the cut_spec for any sub-300ms segment whose _frames_db() mean is < −45.out= extends past the last complete sentence in the chunk, the opening words of the NEXT sentence leak
in. The script then ends with "…this season. And so it hasn't just been me" instead of "…this season."
The cleanup loop won't catch it — "And", "so", "it" are valid words from a valid sentence that just
shouldn't be in this clip. Heuristic: if the LAST sentence-start in the chunk lands after the last
period/question mark, those trailing words are an orphan head — tighten out= back to just after the
period. (Caught on MoveTheMountain 2026-06-08.)[CAT] says: …. Eyeball each one — if the first words don't form a clean sentence opener, or if
there's a tangent / orphan tail mid-line, STOP, tighten the window, re-run. Rendering a clip with a
busted opening word is the most common avoidable failure of this pipeline (Operator caught "not dead",
"weirdly enough", and "And so it hasn't just been me" leaking through on 2026-06-08 — none of which
the cleanup catches automatically, all of which the printed script showed plainly).out= of that chunk further until the final word is a real terminal (period / question mark / a
fully-resolved noun phrase). Verify the LAST word in says: … is the word you want the viewer to hear last.in/out (e.g. chunk_n out=1888.5, chunk_n+1
in=1886.5) produce TWO span sets that include the same words — and the renderer plays both, so the audio
repeats a phrase. ("…and to me that gives the hardship | and to me that gives the hardship memory dividends…")
Always make chunk ranges disjoint, or merge them into one chunk if they belong together.out set too low. If qc-tail scan shows the last seg's edge dB > −30
(still loud) AND the dB post-cut > edge − 6 (jumps into next-segment audio rather than tapering), the
chunk's out= cut the final word mid-syllable. Bump out= past the word's full release into silence —
use the next sentence-end's start time as a safe upper bound.# Validate rough windows (pre-script-cut):
python3 ${CLAUDE_PLUGIN_ROOT}/lib/_shared/window_validator.py \
--transcript words.json --spec structure.json --rough [--source VIDEO.mp4]
# Validate cut_spec (post-script-cut, before rendering):
python3 ${CLAUDE_PLUGIN_ROOT}/lib/_shared/window_validator.py \
--transcript words.json --spec cut_spec.json --rough [--source VIDEO.mp4]
--rough = multi-segment-per-clip (rough windows OR cut_specs). Checks opener on first chunk,
payoff on last, downgrades overlap to WARN. Omit for a flat list of independent single-clip entries.
--source = enables energy-based rules (clipped-tail, ghost-silence). Slower but catches more.
All 9 lessons from this skill are coded into that validator as automated rules. Use it in ANY
pipeline (script-cut, clip-miner, precision_cut) — it's in _shared/ so everyone can call it.
--gap (default 0.20s): the only dial. Smaller = tighter (cuts shorter pauses too, can feel rushed);
bigger = keeps Speaker's natural beats. Stumbles are removed regardless (they're not in the script).
numpy, num2words, soundfile, matplotlib (for QC), run the scripts with it.ffmpeg on PATH.
Paths are overridable by env: MFA_MAMBA, MFA_ENV, MFA_ACOUSTIC, MFA_DICT.Generic skill — no brand baked in. "Speaker" is just the canonical example. Per-brand vocab / music / reframe presets live in that brand's own folder and are passed by path, never hardcoded here.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/audit-audioDedicated audio auditor. Receives a rendered clip and checks ONLY audio quality: word clipping, pops/clicks at splice points, level consistency, buzz/hum, music bed balance, clean open/close. Runs in fresh context — audio only, no video. Returns structured pass/fail per check with timestamps for failures. Part of the post-render audit fan-out at edit step 9.
/audit-captionsDedicated caption auditor. Receives a rendered clip and checks ONLY caption quality: accuracy vs spoken audio, speaker color attribution, timing sync, formatting, emphasis, and positioning. Runs in fresh context with NO knowledge of how the clip was made. Returns structured pass/fail per check with specific timestamps for failures. Part of the post-render audit fan-out at edit step 9.
/audit-scriptDedicated editorial/script auditor. Receives ONLY the transcript text of a rendered clip (no video, no audio). Checks logical flow, context-before-payoff, cold viewer comprehension, one-arc structure, hook quality, brand safety, and SOP compliance. Uses all editorial SOPs (post bible, scorecard, Q&A SOP, hooks taxonomy). Runs in fresh context with NO knowledge of how the clip was made or what footage it came from. Returns structured pass/fail per check with specific line references. Part of the post-render audit fan-out at edit step 9.
/audit-visualDedicated visual auditor. Receives a rendered clip with audio STRIPPED and checks ONLY visual quality: face tracking stability, framing consistency, jump cuts, frozen frames, black frames, rendering artifacts. Cannot see captions (they're burnt in — use audit-captions for that). Runs in fresh context with NO editing knowledge. Returns structured pass/fail per check with frame numbers for failures. Part of the post-render audit fan-out at edit step 9.
/caption-clipsTHE single caption skill. There is ONE caption style for ALL footage — "spice" (the locked the reference editor look). Burns it onto any short-form clip via ONE engine. Default and only style. Use whenever the user says "caption this", "add captions", "pro/speaker/spice/montserrat captions", "caption these clips", "split this reel and caption each one", or "/glow" (glow is retired → produces spice). Trigger keywords caption this clip, add captions, pro captions, spice captions, speaker captions, montserrat captions, caption these, reel captions, subtitle, burnt-in captions, word-by-word captions, glow./editOrchestrate raw footage into short-form clips: ingest, source inspection, moment selection, cutting, reframing, captions, music, rendering and checks. Use for make clips, make shorts, cut clips, mine clips, podcast clips, Q&A clips, hotline clips or multicamera edits. Connect the current editing providers through onboarding before first production use.
npx claudepluginhub maddexritter-rgb/vibe-editing --plugin vibe-editingOther plugins' skills for the same job