/video-editing:clean-transcriptionfrom video-editing
Cleans raw Whisper transcripts (SRT or TXT) by stripping filler words, fixing stutters, applying a per-project glossary of mistranscriptions, and optionally polishing with LLM. Use before burning subtitles.
Ships in video-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.
None: SKILL.md is the whole skill.
Two-stage cleanup:
Output is a parallel file: <basename>.clean.srt (or .clean.txt). Original is never modified.
| Field | Default |
|---|---|
| Source | required (.srt or .txt) |
| Mode | heuristic (default) / llm / both |
| Glossary | <project>/subtitles/glossary.json if present; or path supplied inline |
| Output | sibling <basename>.clean.<ext> |
Default list (case-insensitive, word-boundary):
um, uh, erm, ah, like, you know, sort of, kind of, basically, literally, I mean, right
Don't blanket-strip — like and right have legitimate uses. Strip only when surrounded by sentence-internal commas / mid-cue ("..., um, ..."). For SRT input, operate per-cue text without touching the index or timing lines.
# Per-cue text only — preserve "N\n00:00:01,000 --> 00:00:03,000\n..." structure
awk 'BEGIN{RS="\n\n"; ORS="\n\n"} {
n=split($0, lines, "\n");
for(i=3;i<=n;i++) {
gsub(/\<(um|uh|erm)\>[ ,]*/, "", lines[i])
gsub(/ +/, " ", lines[i])
}
for(i=1;i<=n;i++) printf "%s%s", lines[i], (i==n?"":"\n")
}' "$SRC" > "$OUT"
Collapse adjacent identical short tokens: the the cat → the cat. Only collapse 1–4 character tokens (don't merge really really good).
glossary.json is a list of {wrong, right} pairs. Apply as literal substitutions (not regex) unless explicitly marked.
{
"substitutions": [
{ "wrong": "claud", "right": "Claude" },
{ "wrong": "ml flow", "right": "MLflow" },
{ "wrong": "kdenlive", "right": "Kdenlive", "case_insensitive": true }
]
}
Walk the array and apply with sed. For SRT, again confine to text lines.
When mode is llm or both, ask Claude to rewrite cue text in place. Constraints:
Process cues in batches of ~30 to keep context tight. After each batch, validate that cue count and timestamp lines are unchanged before writing.
Show before/after stats and a small sampled diff (5 random cues):
Source : in.srt — 142 cues, 8.2 KB
Output : in.clean.srt — 142 cues, 7.4 KB
Heuristic: removed 38 fillers, 6 stutters, applied 12 glossary subs
LLM polish: 142 cues rewritten
Sample diff (cue 27):
- Um, so the the thing is, you know, we want to..
+ The thing is, we want to..
Always validate cue count is unchanged. If it isn't, abort and keep .tmp for inspection.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
transcript-cleaning, subtitle-editing, whisper, srt, filler-removal
Other plugins' skills for the same job
41 skills in this plugin
/agentic-editRun an agentic / LLM-driven cut-down on a long video — "make a 60-second highlight reel of this hour-long stream", "cut the boring parts from this lecture", "find the best moments in this footage". Wraps `video-use` (browser-use) by default; falls back to `VideoAgent` (HKU) for research-grade understanding. Both come from the shared uv venv set up by `deps-setup`. Outputs a cut-list (timestamps + reasons) and an optional rendered preview./audio-analysisExtract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target like YouTube (-14 LUFS) or broadcast (-23 LUFS). Use when the user says "check loudness", "is this normalized", "extract the audio", "audio analysis", or "what LUFS is this". Read-only on the source — does not normalize./audio-to-music-videoTurn an audio file into a music video by compositing a waveform / spectrum / circular-CQT animation over cover art or a background. Templates (waveform-bottom, spectrum-bars, circular-cqt-cover, etc.) are saved in preferences.json so the user can pick by name. Use when the user says "make a music video from this audio", "audio to video with waveform", "render this song with a visualizer", "spectrum animation over cover art"./auto-cut-silencesRemove silent / dead-air segments from a video or audio file using auto-editor. Use when the user says "cut the silences", "remove dead air", "tighten this up", "auto-edit this", "trim the gaps". Requires auto-editor installed via deps-setup (lives in the plugin's shared uv venv). Outputs a tightened copy alongside the source; original is preserved./burn-graphicsOverlay graphics onto a video — lower thirds, watermarks/logos, image overlays, or text titles — at specified timestamps. Use when the user says "add a watermark", "put my logo in the corner", "burn in a lower third", "add a title card", "overlay this PNG at 0:30". Multiple overlays in one pass; each can have its own time range and position./burn-subtitlesGenerate subtitles (whisper.cpp / faster-whisper) for a video and either save the SRT alongside or burn them into the picture. Use when the user says "subtitle this", "add captions", "burn subtitles", "transcribe and caption this video", "generate SRT for this". Accepts an existing SRT instead of regenerating. Picks the user's preferred whisper backend from preferences.json (set via onboard).video-editing@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin video-editing