/edit-reel:trim-raw-video <path-to-video.MOV> [extra-clips...] [--aspect keep|9:16|1:1|16:9] [--lang en|el|...]from edit-reel
Trims raw talking-head footage (retakes, chatter, false starts, dead air) into a clean cut using Whisper transcription. Splices best takes with matched loudness and optional re-crop to 9:16, 1:1, or 16:9.
Ships in edit-reel. 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 are a senior video editor. The input is super-raw talking-head footage: the speaker says things multiple times, the crew talks over them, there are false starts, fumbled sentences, "okay okay let's go", jokes, long dead air. Your job is to find the real message buried in it and splice the best takes into one clean, watchable video. This is a pure trim, no effects.
Input: $ARGUMENTS, one or more raw video files (later files often hold the
parts the speaker recorded separately, e.g. the ending). Treat them as one project.
If the user wants karaoke or animated subtitles instead of a plain trim, use the
edit-reel skill in this plugin. This skill is trim-only.
ffmpeg and ffprobe on PATH (brew install ffmpeg, apt install ffmpeg, or choco install ffmpeg)openai-whisper and numpy: pip3 install openai-whisper numpymedium, about 1.5 GB). A GPU helps but is not required.In ${CLAUDE_SKILL_DIR}/scripts/:
analyze.py: probe + silence + volume + Whisper transcript. Default mode
analyses whole files; --regions mode re-transcribes exact windows for precise cuts.render.py: renders a finished video from a cut-list JSON (splice +
loudness-match + optional re-crop + fades + concat).All work goes in ./_trim_work/ in the current directory.
Phone footage is almost always stored landscape with a rotation flag. ffprobe
stream width/height reports the stored size (e.g. 3840x2160) but the video
actually displays rotated (e.g. 2160x3840 portrait). ffmpeg auto-rotates on
decode, so your filters see the display size.
Consequences:
analyze.py prints both.render.py handles this automatically; just don't fight it.Before any work, confirm (one AskUserQuestion round):
en, el, es, ...Tell the user you will show a proposed cut list for approval before rendering.
python3 ${CLAUDE_SKILL_DIR}/scripts/analyze.py <video> [<video2> ...] --lang <lang>
This writes _trim_work/report.txt (read it) and <tag>.transcript.json per file.
The report gives: stored vs display size + rotation, fps, duration, the
voiced median level and loud spikes, silence gaps, and the full transcript with
each segment's avg_logprob.
The model defaults to medium.en for English and medium for every other language.
Override with --model large-v3 (or any Whisper model name) when the language is
less common or the audio is noisy.
Read the transcript and label each segment:
Write out the intended message as an ordered list of beats (lines). Under each beat list every take with its timecode and source file. Material is often spread across files: one clip has the intro, another the ending.
You usually cannot hear the audio, so judge from signals:
avg_logprob: closer to 0 = clearer; very negative = mumbled or noisy.Full-file timestamps drift. For each chosen take, re-transcribe its window:
python3 ${CLAUDE_SKILL_DIR}/scripts/analyze.py --regions "<video>@<start>-<end>" --lang <lang>
Use the printed word timings to set cuts: start ~0.12-0.18s before the first word, end ~0.12-0.18s after the last word. If a boundary is ambiguous (is that first blip real speech or a breath or noise?), extract a tiny clip and transcribe just that to settle it. Keep natural sentence pauses inside a beat; only split a beat if there is a flub mid-beat. For "tighten pauses", trim internal silences over ~0.6s down to ~0.3s at sentence boundaries, never mid-word.
Write _trim_work/cutlist.json (schema in render.py's header). segments is the
ordered keep-list of {src, start, end}. Set aspect ("keep" unless re-cropping),
fps/scale only if changing them, and loudness (-16, important: it matches
levels across source files recorded at different gains).
Show the user the reconstructed script, the segment list with timecodes, and the estimated final length. The clean assembly is however long it is. Never promise a target length you can only hit by cutting real content. Get a yes (and any take swaps or order changes) before rendering.
python3 ${CLAUDE_SKILL_DIR}/scripts/render.py _trim_work/cutlist.json
It frame-accurately seeks each segment, loudness-matches, applies any crop or scale,
adds gentle in/out fades, and concatenates into the output file.
analyze.py on the finished file (or transcribe its audio) and confirm it
reads as the intended script with no chatter leaked in.condition_on_previous_text=False in Whisper stops hallucinations bleeding
across the messy retake regions (analyze.py already does this).loudnorm per segment fixes it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub artemisln/edit-reel --plugin edit-reel6 skills in this plugin
/demo-reel-captureProduce a short-form reel that demos a live web product. Claude drives Chrome with Playwright in macOS fullscreen and records the screen itself, so there is no extension overlay, no AI cursor, no Dock, no tabs and no address bar. Plans beats from the script first, records only those, pulls full-resolution assets out of the page, and assembles the screen footage with a talking head without breaking lip sync. Use when someone wants a product demo reel, a sponsored or brand video that shows a web app working, or clean screen footage of a website. Usage - /demo-reel-capture <product name or URL>/edit-reelEdit a raw talking-head video into a polished short-form reel (Instagram Reels, TikTok, YouTube Shorts) with word-by-word karaoke subtitles in any language, including English and Greek. Trims silence and retakes, crops to 9:16, adds subtle zooms, sound effects and image overlays. Use when someone wants to edit a reel, add subtitles to a talking-head video, or turn raw footage into a short. Usage - /edit-reel <path-to-video> [options]/playback-captureBuild one continuous playback video from raw screen recordings, so the creator plays it fullscreen and films their screen in a single phone take instead of start-stopping through a live product demo. Black head and tail act as sync markers, every beat is padded so a long voiceover still has screen under it, and a beatmap gives exact timestamps for the edit. Use when someone wants to film their screen with a phone, record a "phone pointed at laptop" demo, or turn screen recordings into footage for a reel. Usage - /playback-capture <folder-of-screen-recordings> [approved-script.md]Other plugins' skills for the same job