youtube-chapter-clipper
Installation
SKILL.md
YouTube Chapter Clipper
Overview
Generate chapter clips from a YouTube video by downloading MP4 + English subtitles, segmenting content, cutting clips, and producing per-chapter English SRTs. Chapter length is user-selectable (1-2, 2-3, or 3-4 minutes).
Workflow
1) Use the automation script to reduce tokens
- Prefer
scripts/smart_edit.pyfor end-to-end runs (download, chaptering, clip cut, subtitle slicing). - The script uses heuristic chaptering to avoid AI token usage.
- Create and use a local venv (no external packages required):
python3 -m venv .venvsource .venv/bin/activatepython scripts/smart_edit.py --help- Speed-focused default:
--mode fast(approximate cuts, faster encode, optional downscale). - Use
--mode accuratewhen you need precise boundaries.