short-form-pipeline
Agent skill fromericosiu/ai-marketing-skills
python3 telemetry/version_check.py 2>/dev/null || true
How to install short-form-pipeline
install short-form-pipeline
# install the ai-marketing-skills pack with the skills CLI
npx skills add ericosiu/ai-marketing-skills# or add only this skill to Claude Code: copy the folder
short-form-pipeline/
# into
~/.claude/skills/short-form-pipeline/ (all projects)
.claude/skills/short-form-pipeline/ (one project)
1# Short-Form Video Clip Pipeline — Skill23## Preamble (runs on skill start)45```bash6# Version check (silent if up to date)7python3 telemetry/version_check.py 2>/dev/null || true89# Telemetry opt-in (first run only, then remembers your choice)10python3 telemetry/telemetry_init.py 2>/dev/null || true11```1213> **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. See `telemetry/README.md`.1415---1617Extract viral short-form clips (TikTok, Reels, Shorts) from long-form YouTube videos. Handles download, transcription, AI segmentation, cutting, vertical cropping, and caption burn-in.1819## Prerequisites2021- `yt-dlp` and `ffmpeg` installed22- `ANTHROPIC_API_KEY` environment variable set23- Python dependencies from `requirements.txt` installed24- Optional: `mediapipe` and `opencv-python` for face-detected smart crop2526## Quick Start2728### Single video → clips2930```bash31python3 scripts/shortform_pipeline.py \32 --url "https://www.youtube.com/watch?v=VIDEO_ID" \33 --max-clips 3 \34 --output-dir ./output35```3637### Standalone clipper (no Claude, heuristic scoring)3839```bash40python3 scripts/video_clipper.py --url "https://www.youtube.com/watch?v=VIDEO_ID"41```4243## Pipeline Overview44451. **Download** — yt-dlp fetches video + auto-generated VTT captions462. **Transcribe** — Whisper generates word-level timestamps (falls back to YouTube captions)47…
Excerpt shown under the repository's MIT license.
