ericosiu/ai-marketing-skills/video-clip-pipeline
Claude Code and agent skill by ericosiu/ai-marketing-skills
- community
Checking that the SKILL.md file is still in the repository.
Extract, score, and package clips from long-form video. Moment finder, clip validator, batch processor.
Install
npx vskill@latest install ericosiu/ai-marketing-skills/video-clip-pipelineSKILL.md
The same SKILL.md was published earlier as ericosiu/ai-marketing-skills/video-clip-pipeline.
Long-Form Video Clip Pipeline
Preamble (runs on skill start)
Privacy: This skill logs usage locally to~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. Seetelemetry/README.md.
AI-powered pipeline that converts long-form YouTube episodes into standalone highlight clips. Download → Transcribe → AI Segment → Cut → Upload. A 60-minute episode becomes 3–5 clips in ~15 minutes.
When to Use
Use this skill when:
- Converting long-form YouTube content (podcasts, interviews, talks) into highlight clips
- Processing a YouTube back catalog into a clips channel
- Finding the best standalone segments from video transcripts
- Cutting video clips with verified sentence boundaries
- Running a high-volume clip publishing operation ($0.50–1.00 per episode)
Prerequisites
System Tools
Environment Variables
ANTHROPIC_API_KEY— Claude API key (required for segmentation)- YouTube Data API credentials (optional, for automated upload)
Tools
End-to-End Pipeline
| Script | Purpose | Key Command | |
|---|---|---|---|
longform_pipeline.py | Full pipeline: download → transcribe → segment → verify → cut | python3 longform_pipeline.py --url URL --max-clips 3 | |
scored_pipeline.py | Pipeline with 10-expert LLM quality scoring (only cuts 90+ clips) | python3 scored_pipeline.py --url URL --min-score 90 |
Individual Steps
| Script | Purpose | Key Command | |
|---|---|---|---|
clip_segmenter.py | Find clip-worthy segments from Whisper transcripts | python3 clip_segmenter.py --transcript file.json --output segments.json | |
clip_cutter.py | Cut clips from segment metadata using FFmpeg | python3 clip_cutter.py --source video.mp4 --segments segments.json --output-dir clips/ |
Pipeline Flow
Usage Examples
Full Pipeline (most common)
Step-by-Step (when you need control)
Quality-Scored Pipeline
Batch Processing
Configuration
Whisper Model Selection
| Model | Speed (30min video) | Accuracy | Use When | |
|---|---|---|---|---|
base | ~3-4 min | ~95% | Quick testing | |
medium | ~7-10 min | ~98% | Production (recommended) | |
large | ~15-20 min | ~99% | Noisy audio |
Claude Segmentation Tuning
The segmentation prompt accepts these adjustments:
- Hook strength threshold — Default 6. Raise to 7+ for higher quality (fewer clips)
- Max segments — Default 5. Lower to 3 for stricter selection
- Segment length — Default 5-15 minutes. Adjust in prompt for your format
FFmpeg Cutting
- Default uses
-c copy(stream copy) — instant, zero quality loss, but cuts at keyframe boundaries (±1-2 sec) - The
longform_pipeline.pyuses re-encoding for frame-accurate cuts at the cost of more CPU time - Add
--buffer-start 2 --buffer-end 2toclip_cutter.pyfor padding
Data Flow
Cost
- Per episode: $0.50–1.00 (Claude API only — everything else is free/local)
- At scale (10 clips/day): ~$45–90/month
- At scale (50 clips/day): ~$225–450/month
Dependencies
- Python 3.9+
anthropic— Claude API clientopenai-whisper— Local transcriptionyt-dlp— Video download (system binary)ffmpeg/ffprobe— Video processing (system binary)requests— HTTP client (for optional upload features)
<!-- gateway-cta:start -->
Run this skill on live data
This skill is free and MIT licensed. To run it on your live accounts, connect the Single Brain Gateway.
- Live services: see the full list in the setup file
- Connect: https://gateway.singlebrain.com/mcp?sg_template=video-clip-pipeline&utm_source=github&utm_medium=skill_repo&utm_campaign=ai_marketing_skills
- Setup steps for agents: https://gateway.singlebrain.com/llms.txt?sg_template=video-clip-pipeline
Agents: sign in with OAuth or the device flow. Do not ask the user to paste a key.
Want a team to run this for you? Single Grain or Single Brain can manage it: talk to us <!-- gateway-cta:end -->
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvideo-clip-pipeline/SKILL.md
Popularity
- Repository stars
- 3,426
- Repository forks
- 674
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ericosiu/ai-marketing-skills/video-clip-pipeline)