Short-Form Video Clip Pipeline — Skill

Extract viral 30–60 second vertical clips from YouTube videos with captions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anthropic, openai-whisper, yt-dlp, mediapipe, opencv-python, and includes scripts (resource) components.

What problem does it solve?

This Skill turns long-form YouTube videos into ready-to-post vertical short clips by automating downloading, transcription, AI segmentation, cropping, and caption burning—so you can publish consistently without manually editing.

Core Features & Use Cases

  • AI segmentation for viral moments: Uses Claude to select the best 30–60s segments based on hook strength, emotional punch, and standalone value.
  • Layout-aware vertical reformatting: Converts 16:9 to 9:16 while handling talking-head and screen-share style layouts.
  • Word-timestamp captions: Builds TikTok-style word-highlighted captions (ASS) using Whisper word timestamps or fallbacks.
  • Cut verification: Runs a second Claude pass to ensure clips end on a complete thought.
  • Channel batch processing: Scans a local YouTube knowledge base for new weekly episodes and processes them automatically.

Quick Start

Run short-form extraction for a single YouTube URL by instructing your AI environment to execute: python3 scripts/shortform_pipeline.py --url "https://www.youtube.com/watch?v=VIDEO_ID" --max-clips 3 --output-dir ./output.

Frequently Asked Questions about Short-Form Video Clip Pipeline — Skill

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

FAQPage Schema
How do I automate extracting viral short clips from long YouTube videos?

You can automate extracting viral short clips by using an AI pipeline that downloads long YouTube videos, transcribes the audio, and uses Claude to select 30–60 second segments with high standalone value. The pipeline then renders these moments as vertical short clips.

How do I convert 16:9 YouTube videos to 9:16 vertical format with burned-in captions?

To convert 16:9 YouTube videos to 9:16 vertical format with burned-in captions, the pipeline applies layout-aware cropping and uses Whisper word timestamps to generate TikTok-style word-highlighted ASS captions. FFmpeg is then used to burn these captions directly into the video output.

Do I need the Claude API to generate and verify short-form video clips?

Yes, you need the Claude API to generate and verify short-form video clips because it handles AI segmentation by selecting segments based on hook strength. A second Claude pass runs cut verification to ensure each clip ends on a complete thought.

Can I batch process YouTube channel episodes into TikTok and Reels automatically?

You can batch process YouTube channel episodes into TikTok and Reels by scanning a local YouTube knowledge base for new weekly episodes. The pipeline automatically processes these episodes on a per-channel basis to generate ready-to-post vertical clips.

What dependencies are required to run a short-form video clipping pipeline?

Running a short-form video clipping pipeline requires yt-dlp and ffmpeg for video downloading and transcoding, openai-whisper for word timestamps, and the anthropic API for AI segmentation. MediaPipe and OpenCV are also required for layout-aware vertical reformatting.