Communitygithub.com

op7418/youtube-clipper

A smart YouTube video clipping tool: download videos and subtitles, AI generates fine-grained chapter timestamps (minute-level), user selects segments to automatically clip, translate subtitles into bilingual Chinese-English, burn subtitles into videos, and generate summary text.

What is youtube-clipper?

op7418/youtube-clipper is an intelligent YouTube video clipping tool designed for developers and AI agent users who need to efficiently process YouTube content. It downloads both videos and subtitles, then uses AI analysis to generate fine-grained chapter timestamps at the minute level. Users can select specific segments to automatically clip, translate subtitles into bilingual Chinese-English, burn these subtitles directly into the video, and generate a summary text. This tool is particularly useful for creating short video clips, producing bilingual subtitle versions, or repurposing YouTube content for different platforms. It supports YouTube as the primary platform and works as a skill within AI agent environments like Claude Code, leveraging shell commands (e.g., yt-dlp, ffmpeg) and AI models to automate the entire workflow from downloading to final output. The skill's markdown provides a clear step-by-step guide on installation (using npm pipx), configuration (setting up environment variables for AI API keys), and usage commands, making it self-contained and actionable for technical users.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/op7418/youtube-clipper-skill/tree/main/skills/youtube-clipper

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does youtube-clipper do?

A smart YouTube video clipping tool. Downloads videos and subtitles, uses AI to generate fine-grained chapter timestamps (minute-level), then lets users select segments to automatically clip, translate subtitles into bilingual Chinese-English, burn subtitles into the video, and generate a summary text. Use case: when users need to clip YouTube videos, create short video clips, or produce bilingual subtitle versions. Keywords: video editing, YouTube, subtitle translation, bilingual subtitles, video download, clip video

Related Skills