video-repurpose

Installation
SKILL.md

Video Repurpose

One long video in, a plan of shorts out: video-agent/repurpose/<source>.md. Then the clips become takes for /video-edit, and the new scripts join the week in video-agent/scripts/.

Preflight: yt-dlp --version && ffmpeg -version (plus node -v for a local file). Anything missing: /video-setup tools.

Talk to the creator in their language. <source>: a short slug for the long video, lowercase, dashes, no dots.

1. The transcript

A YouTube link (fastest, nothing to install but yt-dlp):

mkdir -p video-agent/.tmp
yt-dlp --skip-download --print "%(title)s" --print "%(duration_string)s" --print "%(chapters)j" "<url>"
yt-dlp --skip-download --write-subs --write-auto-subs --sub-langs "<lang>.*" --sub-format vtt -o "video-agent/.tmp/%(id)s.%(ext)s" "<url>"

<lang> = the language spoken in the video (en, fr, es...). Creator-uploaded captions come out as <id>.<lang>.vtt; prefer them over auto ones when both exist. Turn the VTT into one timestamped line per caption, without the repeats auto-captions are full of:

Installs
2
GitHub Stars
19
First Seen
6 days ago