Long-Form Video Clip Pipeline

Convert long-form YouTube videos into highlight clips via transcription, segmentation, and FFmpeg cutting.

3.3k|656|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/ericosiu/ai-marketing-skills --skill long-form-video-clip-pipeline
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: Long-Form Video Clip Pipeline
Source: https://github.com/ericosiu/ai-marketing-skills/tree/main/video-clip-pipeline
Command: npx skills add https://github.com/ericosiu/ai-marketing-skills --skill long-form-video-clip-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires anthropic, openai-whisper, requests.

What problem does it solve?

This Skill reduces the manual effort of turning long-form YouTube episodes into publish-ready highlight clips by automating the end-to-end pipeline from download to segmentation, cutting, and optional upload.

Core Features & Use Cases

  • Episode-to-clip automation: Downloads YouTube videos, obtains transcripts, selects 3โ€“5 best standalone segments, and cuts clips using FFmpeg.
  • AI segmentation with quality guardrails: Uses Claude to choose viral-worthy segments (hook strength, narrative completeness) and verifies cut endpoints with an additional LLM check.
  • Scored โ€œwinners onlyโ€ mode: Optionally scores candidates with a 10-expert rubric and cuts only segments above a minimum threshold for fewer, higher-quality clips.
  • Ideal use cases: Repurposing podcasts/interviews/talks into a clips channel, scaling a back-catalog into many shareable assets, and maintaining consistent clip selection quality over time.

Quick Start

Run the full pipeline on a single YouTube URL with: python3 longform_pipeline.py --url "https://www.youtube.com/watch?v=VIDEO_ID" --max-clips 3.

Frequently Asked Questions about Long-Form Video Clip Pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate repurposing long YouTube videos into short clips?โ–ผ

To automate repurposing long YouTube videos into short clips, you can run a pipeline that downloads the video, transcribes it locally with Whisper, and uses Claude to select viral-worthy segments. This end-to-end process automates download, transcription, AI segmentation, and FFmpeg cutting.

How does AI segmentation select the best sections for content repurposing?โ–ผ

AI segmentation evaluates hook strength and narrative completeness to select the best sections for content repurposing. It uses Claude to choose 3โ€“5 standalone segments, verifies cut endpoints with an LLM check, and optionally scores candidates with a 10-expert rubric to output only high-quality clips.

Do I need FFmpeg and yt-dlp installed locally to cut video clips?โ–ผ

Yes, you need FFmpeg and yt-dlp installed locally to cut video clips from YouTube. The pipeline requires yt-dlp for downloading source episodes and FFmpeg for accurately cutting the selected highlight clips, along with local Whisper for transcription.

What is the best way to scale back-catalog video clipping for a podcast?โ–ผ

The best way to scale back-catalog video clipping for a podcast is using an automated pipeline with a scored winners-only mode. This approach processes many episodes into shareable assets, cutting only segments above a minimum quality threshold to maintain consistent clip selection over time.

Can I use OpenAI Whisper for local transcription of YouTube videos?โ–ผ

Yes, you can use OpenAI Whisper for local transcription of YouTube videos within this pipeline. Whisper handles the local transcription of downloaded audio, which is then passed to the Claude API for AI-based segment selection and cutting verification.