/master-skills:editfrom master-skills
Edits talking-head and short-form video end-to-end: cuts dead space, ums, and retakes; adds word-timed captions, dynamic visuals, and stop motion; normalizes audio to -14 LUFS; exports for Reels, TikTok, and Shorts using local ffmpeg tools.
Ships in master-skills. 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.
You are the editor. This skill is an opinionated workflow plus small local tools (Python 3 standard library + ffmpeg). The tools do the measurable work: dead-space cuts, caption files, stop-motion timing, probing. You do the judgement: what to cut, what to show, when. For motion graphics you route to HyperFrames (default), Remotion, or video-use.
You cannot watch or listen. Measure, extract stills, read the transcript, and say plainly what you checked and what you could not.
Tools live in tools/ next to this file. Below, T means that folder:
python3 "$T/deadspace.py" --help works for every tool. All tools exit 0 on success, 1 on an
ffmpeg/runtime failure, 2 on bad input, 3 when a program or feature is missing.
| Tool | Does | Writes |
|---|---|---|
probe.py | media facts (rotation, VFR, HDR, audio layout, loudness); --doctor checks the machine | stdout / JSON |
deadspace.py | cuts silences, plus fillers and retakes with a transcript; frame-accurate, crossfaded joins | <name>.cut.mp4, .edl.json, .words.json |
captions.py | transcribes (faster-whisper, optional) or reads word timings; 1-3 word phrases | .srt, .ass, .cues.json, .words.json, .phrases.txt |
stopmotion.py | frames folder or live clip to stop motion: 8/10/12 drawings/s, holds, seeded jitter | .mp4 |
python3 "$T/probe.py" --doctor
It reports: ffmpeg filters (is ass/subtitles there for burned-in captions?), encoders,
faster-whisper, and Node (HyperFrames needs Node 22+). Do not install anything without asking.
Put every output in <footage folder>/edit/, never inside this skill's folder.
Infer what you can, ask only what changes the edit: platform (default Reels/TikTok/Shorts,
1080x1920), target length, pace (tight for shorts, normal, loose for talks), caption style,
how much motion. Then state the plan in 3 to 6 lines (what gets cut, caption style, which beats
get visuals, the engine) and wait for an OK before rendering, unless the user said "just do it".
python3 "$T/probe.py" take.mov --loudness
Note the display size after rotation, fps and VFR, HDR, channels and loudness. The tools handle rotation (ffmpeg autorotates), VFR (deadspace renders constant frame rate), mono/stereo (kept as recorded) and HDR (kept as 10-bit HEVC with its tags). If there is no audio stream, dead-space cutting is impossible: say so and cut by hand from stills.
python3 "$T/captions.py" take.mov --words-only --verbatim -o edit/
edit/take.words.json (cached: reruns reuse it unless the file changed) and
edit/take.phrases.txt, one timed line per phrase. Read phrases.txt; it is your view of the
take at a fraction of the tokens.--verbatim nudges Whisper to keep "um/uh" so they can be cut. Whisper still drops some, so
never promise every filler is caught.--model small is the default; use --model medium or large-v3 when words matter (finals,
accents). --prompt "Claude, HyperFrames, Remotion" helps with names and brands.--words
(ElevenLabs Scribe, Whisper, whisper.cpp, Deepgram, AssemblyAI, HyperFrames transcript.json),
and SRT/VTT works with approximate word times.python3 "$T/deadspace.py" take.mov -o edit/take.cut.mp4 --transcript edit/take.words.json --dry-run
# read the printed cuts and edit/take.cut.edl.json, then:
python3 "$T/deadspace.py" take.mov -o edit/take.cut.mp4 --from-edl edit/take.cut.edl.json
How it decides:
--threshold.tight 0.25 / 0.06 / 0.10 s, normal 0.35 / 0.08 / 0.14 s, loose 0.60 / 0.12 / 0.22 s.
A cut pause leaves about 0.2 s of air at normal: tight, never breathless.--retakes exact for stutters and false starts only, fuzzy (default) also catches a
re-said sentence with small changes, off). Silence cuts never pass through a transcribed word
that has real energy.Review before rendering. The tool is mechanical: you read phrases.txt and also cut semantic
retakes it missed (a line said twice with different words, a restart after "wait, let me redo
that"). The EDL's cuts[] is the source of truth: set "apply": false to veto a cut, append
{"start": s, "end": e, "reason": "manual"} to add one, then render with --from-edl. Keep
the speaker's best delivery, keep laughs and reactions after punchlines.
After rendering, edit/take.cut.words.json holds the words on the cut timeline. Use it for
captions and visuals; never re-transcribe the cut.
ffmpeg -i final.mp4 -vf "select='gt(scene,0.25)',showinfo" -f null - 2>&1 | grep -o "pts_time:[0-9.]*"
lists cut times; compute the median gap.python3 "$T/captions.py" edit/take.cut.mp4 --words edit/take.cut.words.json -o edit/
. ! ?, after commas once a phrase has 2 words, on
pauses of 0.3 s or more, and at 18 characters. A phrase never ends on a weak opener ("the",
"to", "a"), and a phrase too quick to read grows by a word.--accent), fillers hidden. The text bottom sits at y 1440 of 1920 (chest or collar) with
140 px side margins, so it stays inside the safe zone. --position seam --y 960 centres the
captions on a split-screen seam, and --position top puts them under the header.ffmpeg -ss 3 -i edit/take.cut.mp4 -frames:v 1 edit/check.png. If the chin sits low, move the
captions with --y.--burn edit/captioned.mp4 works only when ffmpeg has libass. Without it, the tool
exits 3 with the routes. HyperFrames route: render the captions in HyperFrames
(/embedded-captions). Copy take.cut.words.json into that project as transcript.json; it
uses the same {text, language_code, words[{text, start, end}]} shape, so the proofread words
are reused instead of re-transcribed. For custom kinetic captions in any engine, feed
take.cut.cues.json (phrases, per-word times, size, safe area). On macOS, an ffmpeg with
libass comes from the homebrew-ffmpeg tap: brew uninstall ffmpeg, brew trust homebrew-ffmpeg/ffmpeg,
brew tap homebrew-ffmpeg/ffmpeg, brew install homebrew-ffmpeg/ffmpeg/ffmpeg.| Situation | Engine | Install (verified from each repo's README) |
|---|---|---|
| Default: overlays, kinetic type, b-roll cards, zooms, captions on footage | HyperFrames (HTML to video, deterministic render) | claude plugin marketplace add heygen-com/hyperframes then claude plugin install hyperframes@hyperframes, or standalone npx skills add heygen-com/hyperframes (agents: npx hyperframes skills update). Needs Node.js 22+ and FFmpeg. |
| The user already has a Remotion project or React brand components | Remotion agent skills | npx skills add remotion-dev/skills |
| Many takes, transcript-driven selection, a self-checking render loop | video-use | git clone https://github.com/browser-use/video-use ~/Developer/video-use, ln -sfn ~/Developer/video-use ~/.claude/skills/video-use, then in that folder uv sync (or pip install -e .). Needs an ElevenLabs API key in .env (cp .env.example .env). |
In HyperFrames, start at /hyperframes. It routes designed overlays on footage to
/talking-head-recut, plain captions to /embedded-captions, short motion graphics to
/motion-graphics, and re-cuts or reframes to /general-video. Hand every engine the same data:
the cut video, *.cut.words.json (output timeline), *.cues.json, the EDL.
House rules for visuals:
python3 "$T/stopmotion.py" frames/ -o edit/stop.mp4 # 12 drawings/s on twos, 24 fps
python3 "$T/stopmotion.py" frames/ -o edit/loop.mp4 --fps 8 --hold 3 --pingpong --loop 2
python3 "$T/stopmotion.py" --from-video edit/take.cut.mp4 -o edit/take.stop.mp4 --fps 12
--fps sets drawings per second (8 for chunky, 10, 12 for smooth). --hold sets frames per
drawing (2 means "on twos"). Output fps = fps x hold.--jitter px, default 0.5% of the short
side) and rotation (--rotate deg, default 0.5). It is seeded: the same --seed gives an
identical render, and each loop pass wobbles differently. --flicker 0.01 adds exposure drift;
it is off by default. --end-hold 1 holds the last pose.--size 1080x1920 --fit cover|contain).
Transparent PNGs go on --bg. From-video mode keeps the original audio in sync.Making the frames, any style:
<g> groups and
move only transforms between frames. Add 1 to 2 px random offsets to path points for line
boil. Rasterize with what exists (rsvg-convert, ImageMagick, headless Chrome screenshots) or
build it as a HyperFrames composition with stepped timing. Then run stopmotion.py on the PNGs.Rules: never compress, gate or AGC the voice (it lifts room echo between words and chops word
tails). Never use single-pass loudnorm, which is dynamic and acts as an AGC. Apply one fixed
gain to -14 LUFS integrated, then a look-ahead limiter at -1.5 dBTP oversampled for true peak.
A music bed sits about 15 dB under the voice at a fixed level.
# 1) measure (same pre-filter as the master)
ffmpeg -hide_banner -nostats -i edit/final.mp4 -map 0:a:0 -af "highpass=f=75,ebur128=peak=true:framelog=verbose" -f null - 2>&1 | grep -E "^\s+(I|Peak):"
# 2) G = -14 - I (example: I = -21.3 gives G = 7.3)
ffmpeg -i edit/final.mp4 -map 0:v -map 0:a -c:v copy \
-af "highpass=f=75,volume=7.3dB,aresample=192000,alimiter=limit=0.841:attack=5:release=50:level=false:latency=true,aresample=48000" \
-c:a aac -b:a 256k -movflags +faststart edit/final.master.mp4
# 3) measure again: I within 0.5 LU of -14, Peak at or under -1.5 (AAC can add a few tenths)
level=false matters: the limiter's default auto-level raises everything. latency=true
removes its 5 ms delay. Older ffmpeg builds lack it: check probe.py --doctor.I_v - 15 - I_m dB and mix with amix=inputs=2:duration=first:normalize=0, then master the
mix as above. Fade the bed out about 1 s before the end. Use a bed at least as long as the
video; a looped file with a faded ending dips every loop.-ac 1 sums stereo without scaling (+6 dB). Downmix with pan=mono|c0=0.5*c0+0.5*c1.Reels / TikTok / Shorts: 1080x1920 (9:16), H.264 High yuv420p, 30 fps (or the source rate up
to 60), AAC 48 kHz, -movflags +faststart, -14 LUFS, -1.5 dBTP. Platform limits change, so
check length limits when they matter.
-vf "scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920".
With bars: -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2".-c:v libx264 -crf 18 -preset slow -profile:v high -pix_fmt yuv420p -r 30.Before you show the user, check:
probe.py final.mp4: right size, fps and duration, audio present, video and audio durations
within a frame.probe.py --doctor says ffmpeg is missing: give the install command and stop.--transcript, or set
--threshold from the printed levels.--pace loose or larger --pad-before/--pad-after. Too
little: use --pace tight.--words or the venv
install it prints. Node under 22: HyperFrames will not run; use Remotion if installed, or ship
captions + cuts without overlays and say so.Credits and licenses for the merged upstream skills: CREDITS.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/buildTakes someone with no technical skill from "I want a website or app that does X" to a live, working, great-looking product. Merges the best design skills (impeccable, Anthropic's frontend-design) with the best engineering discipline (gstack, superpowers). Covers a one-page plain-English spec, the simplest stack that works, a committed design direction before any code, small verified build steps, real-browser QA at 375/768/1440 with runnable checks, then deploy and a handoff note. Use when the user says "build me a website", "make an app", "landing page", "portfolio", "booking page", "turn this idea into a site", "make my site look good", "fix my site", "is my site ready to launch", or "deploy this"./viralityFind what is already working in a niche, then rewrite it in the user's own voice for their audience and hand back a shoot-ready short-form video script (Reels, TikTok, Shorts), with a LinkedIn post or long-form version as a secondary output. Ranks posts by how far each beat its creator's own median, names the hook formula, scores hooks, and strips AI tells. Use when the user says "make me a viral video", "write a reel/TikTok/short", "what's working in my niche", "find viral videos", "rewrite this in my voice", "give me a hook", "script my next video", or wants content that performs. Fuses Jake's LinkedIn and YouTube agent skills.npx claudepluginhub jakeschincariol/master-skills --plugin master-skillsOther plugins' skills for the same job