Video editing skill
A video supplied with this skill is the brief. Produce a verified local MP4, including any revisions needed for quality. Make the editorial decisions below without a questionnaire, A/B vote, or render confirmation. An explicit request to review a script, preview alternatives, or stop at a plan takes precedence. For a revision, use the selected cut and preserve earlier choices outside the requested change.
Start with the recording
Use the attachment or named path. Keep the original and write to a fresh output directory. Default to source framing, normal playback speed, clean leveled audio, and the smooth style. Keep screen shares readable. Honor explicit format, protected ranges, captions, chapters, and pacing requests. Ask only if something essential is genuinely unresolved, such as which of several unrelated recordings to edit.
Run python3 scripts/check_setup.py from the skill directory (use py on Windows). Reuse a word-timed transcript of this exact recording if available. Otherwise run:
python3 scripts/transcribe.py VIDEO --engine local --out WORK
Use --terms for names. A cached OpenAI Whisper checkpoint can be supplied with --model /path/to/model.pt. An existing subtitle file can be supplied with --from FILE; its word timings are estimates. Use a hosted transcription engine only when authorized. Check for a usable local interpreter, model or transcript before treating setup as a blocker.
Choose what the viewer hears
Read the whole transcript. Use it to locate candidates, then compare their audio and several frames from each take. Record decisions in source time for the actual input.
- Whole takes. Keep the complete, fluent delivery with natural engagement. Prefer it over a visible script-reading rehearsal even when it came earlier. Looking at a repository, diagram or demo while explaining it is useful context. Preserve the only complete delivery of a unique point when the alternative would lose it.
- Restarts and pronunciation. Look inside sentences as well as across them. When the speaker corrects a word or starts a phrase over, keep the second, corrected delivery and its continuation. Splice at the shared grammatical boundary. For “this system sits inside the dot Claude, inside the dot Claude directory,” the result should be “this system sits inside the dot Claude directory.” Verify the spoken take using isolated playback or acoustic inspection. A spelling fix only affects captions. Preserve intentional emphasis.
- Repeated explanations. Compare passages by meaning, including repeats several minutes apart. Keep the clearest complete explanation and the strongest closing statement. Preserve unique examples, caveats and context from the other passage when they add something. Check the join for dangling references or transitions. If two versions differ in substance and the distinction is uncertain, preserve the distinct information and proceed. For a requested script review, supply a timestamped reading script and quote the competing lines with a recommendation. Pause if the user wants to choose.
- Fillers. Remove audible standalone “uh,” “um,” “ah,” elongated variants, and hesitation sounds between words. A transcript often drops these or assigns the sound to an adjacent word. Recheck suspect gaps and restarts using short audio excerpts, word timings and the waveform. Preserve soft consonants, word tails, affirmative “mm-hmm,” and habit words that carry meaning.
- Pacing. Aim for one sentence flowing into the next. Preserve the time needed to see a demo action, read a question card, or understand a deliberate pause.
Plan, render and check the joins
Write a spec with an absolute video path. See the schema at the top of scripts/edit_video.py. Use cut for word-based ranges, exact_cut for a verified source-time interval that the transcript missed, and keep for protected footage. Both cut fields take entries of the form [start_seconds, end_seconds, reason]. With music under speech, set voiced_gaps to false and verify manual cuts against the speech.
python3 scripts/edit_video.py SPEC --transcript WORK/transcript.json --out EDITED --plan
python3 scripts/edit_video.py SPEC --transcript WORK/transcript.json --out EDITED
Between these commands, review the plan internally, including each possible retake. Correct wrong-take heuristics with explicit ranges or protection. Set retakes or stutters to false if handling those decisions manually. When an example needs moving, assemble it next to the retained explanation and map captions and chapters to the final order.
The smooth preset measures quiet on both sides of every planned join, including the first. It trims the combined quiet to a brief beat on frame boundaries, retaining speech edges and protected time. Captions, chapters and picture use the resulting timeline. For an already-edited input, inspect its existing cuts and interior dead air too. Mark verified residual gaps with exact_cut. Use short audio fades to prevent clicks.
Check the opening, transitions, corrected names, examples, and sign-off in sequence. Inspect the biggest joins in cuts.jpg for flashes or abrupt framing, and check manifest.json for warnings. If a splice still sounds like two clips waiting on each other, tighten the quiet tail and lead-in together. If a consonant is clipped, restore its audio. Correct the source-time decision and re-render. Verify the final MP4 decodes and its audio and video durations agree within a frame. Return the finished video, runtime, and any meaningful editorial uncertainty.
Optional delivery
The renderer also supports SRT captions, chapters, burned captions, vertical output and alternate pacing presets. See editing rules. Publishing is a separate request. Use the WoopSocial workflow only when asked to publish. Confirm the account, post and visibility before sending it.