Content-aware video editor skill for Claude Code.
Transcribes speech with Groq Whisper (word-level timestamps), Claude reviews cuts by context and meaning, ffmpeg applies them preserving audio quality.
/smart-cut <video_path> [language]
- Transcribe — Groq Whisper
whisper-large-v3extracts word-level timestamps - Auto-segment — script groups words by silence gaps, removes fillers, generates keep segments
- Contextual review — Claude reads the transcript and fixes semantic issues the script can't detect
- Apply cuts — ffmpeg encodes each segment and concatenates with no re-mux artifacts
| Mode | Description |
|---|---|
| Automatic | Claude decides all cuts and applies them directly |
| Editable | You review the segment list, mark what to remove, confirm before cutting |
| Level | Gap threshold | Use when |
|---|---|---|
| Normal | > 1.0s | Natural pacing, conversational videos |
| HARD | > 0.5s | Fast-paced Reels / short-form content |
Both levels still respect speech context — no cut breaks a sentence.
ffmpegin PATHpython3withrequests(pip install requests)GROQ_API_KEYin~/.config/watch/.env
SKILL.md # Skill instructions loaded by Claude Code
scripts/
transcribe.py # Calls Groq Whisper, outputs word-level JSON + gap report
auto_segment.py # Builds keep-segments from transcript JSON
cut.py # ffmpeg encode-per-segment + concat
# Clone into your Claude Code skills directory
git clone https://github.com/josephcribeiro/smart-cut \
~/.claude/skills/smart-cutClaude Code picks it up automatically via the /smart-cut trigger in SKILL.md.
/smart-cut /path/to/video.mp4
/smart-cut /path/to/video.mp4 en
Claude will ask for mode (automatic/editable) and cut level (normal/HARD) before processing.
<video>.transcript.json— full transcript with word timestamps<video>.segments.json— final keep-segments after review<video_name>_edited.mp4— H.264 + AAC 192kbps, ready to publish