youtube-clipper
Installation
Summary
Intelligent YouTube video clipper with AI-powered chapter analysis, subtitle translation, and batch processing.
- Downloads videos and English subtitles, then uses Claude to generate fine-grained chapters (2–5 minute segments) by analyzing subtitle semantics and identifying natural topic transitions
- Supports bilingual subtitle generation (English + Chinese), subtitle burning to video with styled overlays, and social media summary generation for each clip
- Handles environment detection for yt-dlp, FFmpeg with libass support, and Python dependencies; provides clear installation guidance if tools are missing
- Optimizes subtitle translation with batch processing (20 subtitles per API call) to reduce costs by 95% while maintaining consistency and accuracy
- Organizes output into per-chapter directories with multiple file formats: raw clips, hardcoded subtitle versions, SRT files, and markdown summaries
SKILL.md
YouTube 视频智能剪辑工具
Installation: If you're installing this skill from GitHub, please refer to README.md for installation instructions. The recommended method is
npx skills add https://github.com/op7418/Youtube-clipper-skill.
工作流程
你将按照以下 6 个阶段执行 YouTube 视频剪辑任务:
阶段 1: 环境检测
目标: 确保所有必需工具和依赖都已安装
- 检测 yt-dlp 是否可用
yt-dlp --version