Claude Code for editing

Claude Code skill: /cut-silences

You record talking head videos and want one command that finds the pauses, shows you the cut list, and exports a tighter version

Tags

Claude CodeSkillFFmpegWhisper

Save it as

.claude/skills/cut-silences/SKILL.md

.claude/skills/cut-silences/SKILL.md · 23 linesDownload .md
---
name: cut-silences
description: Find pauses and dead air in a talking head video with ffmpeg silencedetect, propose a cut list, and export a tightened version. Use when the user asks to cut silences, tighten a take, or make a jump cut edit.
argument-hint: <video file> [min pause in seconds, default 0.6]
---

# Cut silences

Input: $ARGUMENTS

1. Run `ffprobe` on the file and report duration, fps and audio channels.
2. Detect silence on the first audio stream:
   `ffmpeg -hide_banner -i INPUT -map 0:a:0 -af silencedetect=noise=-35dB:d=MIN_PAUSE -f null - 2> work/silence.txt`
   If no audio stream exists, stop and tell the user.
3. Parse `silence_start` and `silence_end` pairs. Keep 0.12 s of padding on each side of every kept segment so words are not clipped.
4. Never cut a pause shorter than MIN_PAUSE. Never leave a kept segment shorter than 0.4 s, merge it with its neighbor instead.
5. Write the plan to `work/cutlist.csv` with columns: keep_start, keep_end, length. Show the user a summary: number of cuts, old duration, new duration, the 3 longest removed pauses with timestamps.
6. Wait for the user to say go.
7. Export with frame accurate cuts (re-encode) to `out/<name>_tight.mp4`, keeping source fps and resolution. Use the select and aselect filters or a concat list, whichever is simpler for the number of segments.
8. ffprobe the result, confirm the new duration matches the plan within 0.2 s, and list 3 cut points worth checking by eye.

Rules: never write into `raw/`. Never overwrite an existing output. If the user is in Premiere, Resolve or CapCut, offer to write the cut list as markers instead of exporting a file.

Before you run it Fill in anything in [brackets]. If it edits a project, use a duplicate and read the agent's plan before you say go

Sources and credit

The prompt text is written by AgentCut. These sources informed it and are worth reading in full

More in Claude Code for editing

All 39 prompts →

The AgentCut weekly

New AI connectors for After Effects, Premiere, Resolve and CapCut, tested setup notes, and what broke after app updates. One email a week