
Video Clip Extractor
This is a full pipeline for turning long videos into shareable clips. Point it at a YouTube or Bilibili URL (or local file), and it transcribes with Whisper, runs LLM analysis to score engaging moments, then cuts highlights with ffmpeg. You get clips with custom cover images and optional artistic title overlays in ten different styles. The user intent flag lets you steer what counts as interesting, like "funny moments" or "technical explanations." It handles speaker diarization if you provide reference audio, burns subtitles with optional translation, and splits long videos into segments for parallel processing. Worth knowing it needs ffmpeg and an API key for Qwen, OpenRouter, GLM, or Minimax. Good for anyone processing streams or lectures who wants more than random timestamps.
- GitHub stars
- 516
- last updated
- May 19, 2026
Install
$ npx -y skills add linzzzzzz/openclip --skill video-clip-extractor --agent claude-codeInstalls into .claude/skills of the current project.
Files
Video Clip Extractor Skill
Run the video orchestrator to process videos and extract engaging highlights.
When Triggered
- Get the source — if the user didn't provide a video URL or file path, ask for it.
- Clarify intent (optional) — if the user wants clips focused on a specific topic, capture it for
--user-intent. If unclear, ask: "Any specific topic or moments to focus on? (e.g. 'funny moments', 'key arguments')" - Check environment — does
video_orchestrator.pyexist in the current directory? If yes, run directly. Otherwise use the global install at~/.local/share/openclip. - Verify prerequisites — check ffmpeg is installed and at least one API key is set. Warn if missing before running.
- Run the command and stream output to user.
- Report results — after completion, list the generated clips with timestamps and titles.
Setup (first use only)
Before running, determine the execution context:
- Inside openclip repo — if
video_orchestrator.pyexists in the current directory, skip setup and run directly. - Global install — if
~/.local/share/openclipdoes not exist, run these steps:
Sponsors
Details
- Repository
- github.com/linzzzzzz/openclip
- Categories
- Documentation, Automation & Workflows, Generative Media, Video & Audio Editing
- License
- MIT
- First seen
- Jun 11, 2026