Cut Silences
Remove silence and dead air from video recordings using word-level transcripts.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/cut-silences-nateherkai/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Agent 1 of the video editing pipeline. Removes silences and dead air from a talking-head recording. Use when asked to cut silences, trim pauses, remove dead air / gaps, or tighten the pacing of a raw video, given a word-level transcript. Produces an edit list (EDL), a re-timed transcript for downstream agents, and optionally the cut video via ffmpeg. Does NOT cut mistakes, repeats, or false starts β that is the cut-mistakes agent.
What this skill does
Cut Silences (Pipeline Agent 1)
First step of the automated edit. Takes a raw recording + its word-level transcript and removes only silence: dead air before the first word and after the last word, plus inter-word pauses longer than a threshold (trimmed down to a natural breath, never a hard zero-gap). It leaves the speaker's words untouched β false starts, retakes, and stutters are the cut-mistakes agent's job (Agent 2).
This agent is deterministic and transcript-driven, so its output (*.silence-transcript.json) feeds cleanly into the next agents and the beat-sync validator.
When to use
- "cut the silences", "trim the pauses", "remove dead air", "tighten the pacing"
- As the first stage of the master edit workflow, right after transcription.
Prerequisites
A word-level transcript JSON. Either the ElevenLabs Scribe shape
({ words: [{ text, start, end, type }], audio_duration_secs }) or a generic
{ words: [{ text, start, end }] }. Generate one with the workspace transcriber:
node scripts/transcribe-elevenlabs.mjs path/to/raw.mp4 # -> path/to/raw.json
Usage
# 1) Plan only β compute the cut, write EDL + re-timed transcript (no video touched)
node .agents/skills/cut-silences/scripts/cut-silences.mjs <transcript.json> \
--out-dir video-projects/<slug>/assets
# 2) With a video β also write the ffmpeg command (still does not render yet)
node .agents/skills/cut-silences/scripts/cut-silences.mjs <transcript.json> \
--video video-projects/<slug>/assets/raw.mp4 --out-dir video-projects/<slug>/assets
# 3) Render the cut video (local ffmpeg, re-encode, A/V kept in sync)
# add --apply to actually run ffmpeg
node .agents/skills/cut-silences/scripts/cut-silences.mjs <transcript.json> \
--video video-projects/<slug>/assets/raw.mp4 --apply \
--output video-projects/<slug>/assets/edited-silenced.mp4
Options
| Flag | Default | Meaning |
|---|---|---|
--video <path> | β | Source video; enables the ffmpeg command / render |
--out-dir <dir> | next to transcript | Where outputs are written |
--output <path> | <video-stem>.silenced.mp4 | Cut-video path |
--gap <s> | 0.55 | Minimum pause treated as trimmable silence |
--head-pad <s> | 0.22 | Silence kept before the first word |
--tail-pad <s> | 0.34 | Silence kept after the last word |
--apply | off | Actually run ffmpeg to render the cut |
How it decides (the silence rules)
- Pauses below
--gap(0.55s) are left alone β natural speech rhythm. - For a trimmed pause, a natural breath is kept, scaled by context:
0.24sfor long pauses (β₯2s),0.20safter a sentence ender (. ! ?),0.14sotherwise. The kept breath is biased slightly toward the end of the previous phrase. - Head/tail dead air is trimmed to
--head-pad/--tail-pad. - Delete ranges are merged; keep ranges are the complement. The cut is rendered with an ffmpeg
trim/atrim+concatfiltergraph (written to a*.silence-filter.txtscript and passed via-/filter_complex), so video and audio stay in sync.
Outputs (written to --out-dir)
| File | Purpose |
|---|---|
<stem>.silence-edl.json | Keep/delete ranges, durations, params β the edit list |
<stem>.silence-transcript.json | Words re-timed onto the edited timeline (feeds Agent 2 + beats) |
<stem>.silence-decisions.md | Human-readable summary + largest pauses trimmed |
<stem>.silence-filter.txt | The ffmpeg filtergraph (only with --video) |
<video-stem>.silenced.mp4 | The cut video (only with --apply) |
The JSON summary printed to stdout includes removed, removedPct, range counts, and output paths β useful for the master workflow to log and chain.
Tuning notes
- Talking-head YouTube default (
--gap 0.55) removes roughly 15-20% of a typical raw take as pure silence. Lower--gapfor a punchier, faster cut; raise it to preserve more natural breathing room. - If a cut feels too aggressive at sentence boundaries, raise the sentence-break breath, or raise
--gap.
Hand-off to the next agent
Pass <stem>.silence-transcript.json (and the silenced.mp4 if rendered) to the cut-mistakes agent. Because timestamps are already on the edited timeline, downstream beat timing and scripts/validate-beat-sync.mjs work without further adjustment.
Related skills
Skill Builder & Optimizer
anthropics
Create, edit, and optimize Claude skills with performance testing and benchmarking.
Org Change Management
alirezarezvani
Guide teams through organizational changes using the ADKAR model and communication strategies.
Audio/Video Transcription
daymade
Transcribe audio and video files to text with fast local or remote processing.
Claude Export Conversation Fixer
daymade
Repair broken line wrapping in Claude Code exported conversation files.