Edits talking-head videos in one command: joins clips, cuts silences/retakes, transcribes with whisper.cpp or ElevenLabs Scribe, burns word-by-word subtitles, renders 9:16 for TikTok/Reels with split-screen views, title, boards, and end card.
Ships in short-video. 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.
One command, one finished video:
python scripts/edit_video.py CLIP1.MOV CLIP2.MOV --lang fr --title "J'en ai *marre*"
(scripts/ is in this skill's folder; python3 on macOS / Linux if python
is missing; on Windows py if python is missing or opens the Microsoft
Store. On Windows the commands run in Git Bash or PowerShell: write paths
with /, C:/Users/me/Downloads/clip.mp4, quoted when they have spaces.)
It joins the clips in the order given, cuts what is not speech, the false
starts and the retakes, transcribes, and renders, next to -o (default:
~/Videos/edited/<first clip name>.mp4, C:\Users\<you>\Videos\edited on
Windows):
| file | what it is |
|---|---|
<name>.mp4 | the video to post: 1080x1920 for TikTok and Reels, full frame and split taking turns (below), subtitles word by word, the title on top, the boards, the end card on the last seconds, the voice evened out to about -14 LUFS (the loudness the platforms play at) |
<name>.cut.mp4 | the cut alone, as filmed, no text (for someone who finishes in their own editor) |
<name>.srt, <name>.txt | the transcript of the video (the .srt can be uploaded as captions) |
<name>.ass | the subtitles as burned in, plain text, with the title, the boards and the end card when ffmpeg draws them (not Remotion) |
<name>.takes.tsv | every island of sound, kept or cut and why, with its words |
<name>.timeline.json | the kept passages and the words, with their times in the edited video; the views (views) and the boards placed (boards) |
<name>.state.json | this video's state: the clips, the exact command of the last run (command), the steps done (steps.edit, then steps.publish written by the publish skill). The short-video skill reads it to pick the video up where it was left |
*word* in the title = highlighted, " | " = a new line. An iPhone clip
comes out upright, its HDR brought back to normal colours.
The 9:16 has two views, and by default (--scene auto) they take turns:
--fit fill crops it to fill). The title sits
on top in a white box for its first seconds, the subtitles at the bottom of
the middle third.The rule of auto, the one the script applies (plan_views in
scripts/finish.py), and the one to explain when asked:
. ! ? or a
pause; inside a sentence longer than 8 s, after a comma or where a pause
was cut), never under a subtitle line, never once the end card is up, and
a view lasts 2 s at least.--scene split or --scene full keeps one view for the whole video (split:
the title stays at the top between the boards).
A board is a card drawn on the word that says it, in the top zone of the split (over the camera, in a box, in full frame). Three kinds, nothing more:
| kind | text | shows |
|---|---|---|
stat | "150 min | = 3 h of work" | the figure, big, in the accent colour (it counts up when it starts with a number), its caption under it |
list | "Cut | Subtitles | Publish" | a numbered list, one item per part, the items coming in one by one |
text | "What I love: *teaching*" | a sentence, *word* highlighted, " | " = a new line |
They go in a JSON file passed with --boards boards.json:
[
{"say": "90 days", "text": "90 days | one video a day", "kind": "stat"},
{"at": 21.7, "text": "Ten videos | 2.5 to 3 hours | Sunday, 5 pm", "kind": "list"}
]
say = the words that say it, as in <name>.txt (the board comes up on the
first of them, the first time they are said after the previous board); at =
the second in the edited video (<name>.timeline.json, words). A board
stays to the end of its sentence (2.5 s at least), never past the next one;
"until": 30.5 holds it longer. examples/boards.json is a real one, for the
video whose transcript is examples/jen-ai-marre.txt.
When the user says "add boards" / "mets des cartons", or when a first
render has a title but nothing else to show: read <name>.txt and propose
the boards before rendering, as a short list (the words that trigger each,
the kind, the text):
stat for every figure that matters (a duration, a price, a count), a
list when they enumerate (steps, tools, reasons), a text for the one
sentence they would want read; their words, shortened, never a fact they
did not say;say with 2 to 4 words copied from <name>.txt exactly (spelling
included), so the board lands on the word.Write the file next to the video (<name>.boards.json), run again with
--boards: it costs one render, not a new cut. The run lists the boards it
could not place (words not found).
~/Downloads; an
AirDrop from an iPhone lands there), and their order if it is not the
order of their names.--config already shows lang.<name>.txt (a new title costs
one render, not a new cut).An audit of their account (audit-*/AUDIT.md in the current folder, or
one they give, written by the audit skill): read its "For the edit"
block ("Pour le montage") first, to offer a title shaped like hook_style /
hook_example (unless title_on_screen says no) and to give the edited
length next to target_duration_s. Nothing else changes.
The rest has a default: the end card says "Follow for more" in their
language ("Abonne-toi pour la suite" in French); change it only if they ask
(--cta "...", --no-cta).
python scripts/edit_video.py --config
prints every setting, where it comes from (command line, then
~/.config/video-editing/config.json, then the default) and what is
installed. A tool missing (ffmpeg, libass, whisper-cli, the ElevenLabs key
with stt elevenlabs) or no config file yet ((none: defaults)): follow
this line, the one the setup skill (installed next to this one) waits for (it diagnoses,
shows the commands before installing anything, writes the settings):
Il manque un outil, le modèle whisper, la clé ElevenLabs ou un réglage ? Suis la skill
setup, installée à côté de celle-ci (../setup/SKILL.md, son diagnostic :python3 ../setup/scripts/setup.py --json,pysur Windows), puis reprends le montage là où il s'est arrêté.
When one is missing, the script says it and does what it can:
remotion off: ffmpeg draws the title, the boards and the
end card (square boxes, a simple pop, no count-up); the video comes out all
the same (likewise when Remotion cannot render: Windows on ARM has no
Remotion build);stt = elevenlabs without a key: it stops before doing anything.Same output for both (words with their start and end), the cut and the subtitles do not know which one spoke.
--stt elevenlabs, or "stt": "elevenlabs" in the config. The key is
ELEVENLABS_API_KEY, in the environment or in
~/.config/video-editing/env (a line ELEVENLABS_API_KEY=..., chmod
600): the setup skill writes it, or the user does. Never ask for the
key in the chat, never print it, never put it in config.json.to check at 12.3s lines (a repeat it saw
but could not cut: no silence to cut in).<name>.takes.tsv and read the
kept lines in order, as a script. The script only catches a retake
that starts like the next one. Look for what it cannot see: a sentence
abandoned and said again in other words just after ("let me show
you the 5 steps" ... "in fact there are 5 ways, let me show you"), a
lone fragment ("So..."). If you find one, run again with --cut A:B
(the times of the abandoned lines, straight from the file) and the same
-o. In doubt, keep: a repeat left costs a second pass, a sentence
lost costs the video. Never cut something because it is off topic, a
joke or an aside.<name>.txt for misheard words (names, brands, jargon): run
again with --fix "heard=meant" (--fix "clode code=Claude Code"); it
fixes the subtitles, the .srt and the .txt.<name>.mp4
(ffmpeg -ss 1 -i <name>.mp4 -frames:v 1 a.png, with the ffmpeg path
--config prints when ffmpeg alone is not found), one in each view
(views in <name>.timeline.json: the hook, a split, the last second),
then read them: the title, a board, a subtitle on the seam, the end card,
nothing over the face.to check
times if any, the views (how many turns), and the next step: boards if
there are none yet ("mets des cartons"), then publishing with the
publish skill (with Nadia, or a ready-to-post kit).Run edit_video.py again with the same clips and the same -o, and
every option of the previous runs (--cut, --protect, --fix,
--title, --cta, --noise, --boards, --scene...: each run starts from
the clips). The last command is in <name>.state.json (command): start
from it, add the new option. It
re-transcribes nothing, and the cut is not rendered again when it did not
change.
| they say | you pass |
|---|---|
| "cut the part about the price" | --cut A:B (times from <name>.takes.tsv) |
| "keep the pause after the joke" | --protect A:B |
| "cut harder, there is background noise", nothing got cut | --noise 25 (the islands change: the new ones are transcribed) |
| "in the subtitles it's cloud, not clown" | --fix "clown=cloud" |
| "another title", "no title" | --title "...", --title "" |
| "another end card", "no end card" | --cta "...", --no-cta |
| "add boards", "mets des cartons", "show the figures" | --boards <name>.boards.json (section Boards) |
| "full frame only", "no split", "only the split" | --scene full, --scene split |
| "no subtitles" | --no-subtitles |
| "it's slow", a PC without a graphics card | --model small (or large-v3-turbo-q5_0); for every video, the setup skill sets whisper_model |
| "just the cut, I finish it myself" | --rough (-o is then the cut) |
| "bigger subtitles", "another colour", "higher", "one word at a time", "another font" | the style (below) |
Say what you changed for each request; one you cannot place in the takes, ask, do not guess.
style.json (next to scripts/) holds the defaults: Inter ExtraBold
(shipped, SIL OFL), white subtitles with the said word in mint green, an
anthracite top zone. The font and the colour of the said word are chosen at
setup (the setup skill asks for them and writes them); the rest
is set in the JSON. To change the look,
write only the keys that change in ~/.config/video-editing/style.json
(kept when the skill updates), or in a file passed with --style FILE:
{"captions": {"size": 130, "highlight": "#7CFF6B", "y": 0.62, "max_words": 1}}
| key | default | what |
|---|---|---|
font, font_file | Inter ExtraBold (shipped; Anton too) | a font installed on the computer by its name, or font_file = the path of a .ttf / .otf and font = its family name |
captions.size | 86 | px on the 1080x1920 frame |
captions.color, .highlight | white, mint #3DDC97 | the line, the word being said |
captions.outline, .outline_width, .shadow | near black, 6, 2 | |
captions.max_words, .max_chars | 3, 18 | words per line (1 = one word at a time) |
captions.uppercase, .punctuation, .pop | false, false, true | |
captions.y / .y_wide | 0.64 / 0.85 | full frame: height of the text centre, 0 = top, 1 = bottom (9:16 / 16:9); in the split they sit on the seam |
title.size, .color, .box, .highlight | 92, near black on white, green *word* | full frame |
title.duration, .y | 3.5 s, 0.17 | |
end_card.text | "" = "Follow for more" in the language | |
end_card.size, .color, .box, .duration, .y | 80, near black on mint, 3 s, 0.2 | |
split.background | anthracite #17181C | the top zone and around the card |
split.text, .highlight, .title_size | off-white, mint, 120 | the title and the boards on the top zone |
boards.size, .muted | 104, grey | a board's size, the caption of a stat |
wide_scale | 0.72 | sizes in 16:9 |
loudness | -14 | LUFS aimed at, one even gain that never pushes a peak past -1.5 dBTP; null keeps the sound as recorded |
Keep the text away from the bottom fifth and the right edge of a 9:16: TikTok and Instagram put their buttons and the caption there.
| setting | default | when to touch it |
|---|---|---|
--min-sil | 0.22 s | the edit feels breathless: 0.35; pauses left between sentences: 0.18 |
--noise | 32 dB | background noise (street, fan) and nothing gets cut: 25 |
--pad | 0.05 s | a word's ending sounds clipped: 0.08 |
--keep-retakes keeps every take (a deliberate repetition, a chorus),
--keep-fillers keeps the lone "um"s, --no-transcript skips the
transcription (silences only, no subtitles).
concat error: the clips do not share the same format
(an iPhone clip and another camera's): edit each clip alone.nothing kept: a very quiet recording, --noise 40 (25 is for background noise).--config says NO libass: the setup skill
installs an ffmpeg with libass.ElevenLabs refused the key / no credits left: the key or the account;
--stt whisper works meanwhile, free.The review page in the browser with the audio check, the split fitted to your own framing and the scenes measured on what works, the motion design, choosing your style (seven looks or your own, set on your own take): the paid version, https://pifpafcut.com/skill.
README.md (opens in a new tab)examples/boards.json (opens in a new tab)examples/jen-ai-marre.srt (opens in a new tab)examples/jen-ai-marre.txt (opens in a new tab)fonts/Anton-OFL.txt (opens in a new tab)fonts/Anton-Regular.ttf (opens in a new tab)fonts/Inter-ExtraBold.ttf (opens in a new tab)fonts/Inter-OFL.txt (opens in a new tab)remotion/package-lock.json (opens in a new tab)remotion/package.json (opens in a new tab)remotion/src/Overlay.tsx (opens in a new tab)remotion/src/Root.tsx (opens in a new tab)remotion/src/index.ts (opens in a new tab)remotion/tsconfig.json (opens in a new tab)scripts/edit_video.py (opens in a new tab)scripts/finish.py (opens in a new tab)scripts/settings.py (opens in a new tab)scripts/stt.py (opens in a new tab)style.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/short-video:editfrom short-video
npx claudepluginhub vincentventalon/my-claude-skills --plugin short-video8 skills in this plugin
/auditAudits the user's OWN TikTok account (TikTok only, Instagram is not read) to see what already works before editing the next videos - reads the last 30 videos anonymously (yt-dlp, no login, no password, nothing to connect), transcribes locally the hook said in the first 5 seconds of each (whisper.cpp), ranks every video against the account's own median (x median), finds the outliers, the length that works, the real cadence, the hooks of the 5 best against the 5 worst, the hashtags, and writes AUDIT.md with 3 tests to run and a block for the edit. Free, all local. Use when the user says "audit my TikTok", "audite mon compte TikTok", "analyse mon TikTok", "audite mon compte", "qu'est-ce qui marche sur mon compte", "what works on my account", "mes meilleures vidéos", "my best videos", "mes outliers", "pourquoi mes vidéos ne marchent pas", or pastes a link to their own TikTok profile. Given an Instagram account, it says in one line that it reads TikTok only./clipsTurns one long video (a YouTube link, a podcast, a webinar, a live, or a local file) into finished vertical shorts with the `edit` skill. Use when the user says "long to short", "repurpose", "découpe ma vidéo YouTube en shorts", "fais des clips de ma vidéo", "des extraits de mon podcast", "cut my YouTube video into shorts", "clips from my video", "podcast clips", or gives a long video link. Reads the YouTube captions and chapters with yt-dlp (nothing else to install), or transcribes a local file with the `edit` skill (whisper.cpp, free, on the computer). Finds the moments that stand alone (one idea, 20 to 60 seconds), scores them, writes the plan, cuts each one into a take and edits it with edit (cuts, title, boards, subtitles, 9:16), then turns the ideas too spread out to clip into new scripts with script.