Loading...
Loading...
Turns one long video (YouTube link, podcast, webinar, livestream, or a local file) into finished vertical shorts. Use when the user says long to short, repurpose, long video to shorts, clips from my video, podcast clips, cut my YouTube video into shorts, or gives a long video link. Finds clips that stand alone (one idea, 20 to 60 seconds), scores them, cuts them and edits each one with short-editing (captions, cuts, hook card, callouts, 1080x1920), and writes new scripts in the studio-script format from the ideas too spread out to clip. Reads YouTube captions and chapters with yt-dlp, or transcribes a local file with the short-editing studio.
npx skill4agent add melvynx/video-agent-skills clipsvideo-agent/repurpose/<source>.md/short-editingvideo-agent/edits/<slug>/final.mp4video-agent/scripts/yt-dlp --version && ffmpeg -version && node -v/studio-setup toolsshort-editing<source>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>enfres<id>.<lang>.vttawk '/-->/ {t=substr($1,1,8); next} /^(WEBVTT|Kind:|Language:)/ {next} {gsub(/<[^>]*>/,""); gsub(/^ +| +$/,""); if ($0!="" && $0!=last) {print t" "$0; last=$0}}' "video-agent/.tmp/<id>.<lang>.vtt" > video-agent/.tmp/<source>.txt00:07:21 And then I export those as a transparent/short-editingmkdir -p video-agent/.tmp
cp "<file>" video-agent/studio/public/<source>.mp4
cd video-agent/studio && node sub.mjs public/<source>.mp4smallwhisper-config.mjsnode -e 'const w=require("./public/<source>.json");const ts=(ms)=>new Date(ms).toISOString().slice(11,19);let line="",t=0;for(const x of w){if(!line)t=x.startMs;line+=x.text;if(/[.?!]$/.test(x.text.trim())||line.length>80){console.log(ts(t)+" "+line.trim());line=""}}if(line)console.log(ts(t)+" "+line.trim())' > ../.tmp/<source>.txt.txt| Kind | What counts |
|---|---|
| Claim | a clear position, ideally against the usual advice |
| Story | a moment with a turn (a problem, a decision, what happened) |
| Number | a result, a before and after, a price, a time |
| Mistake | something that went wrong and what they learned |
| How-to | steps or one move the viewer can apply |
| Answer | a question the audience asks, answered |
../studio-script/references/hooks.md*accent*| Point | 2 when |
|---|---|
| Opens cold | the first line makes sense to someone who saw nothing before |
| One idea | one point, no "and also" |
| Ends clean | it stops on a full sentence, not mid-thought |
| No outside reference | no "as I said", "this guest", "earlier" |
| Length | 20 to 60 s (1 when 15 to 20 or 60 to 75 s) |
/studio-scriptvideo-agent/repurpose/<source>.md# <title of the long video>
Source: <url or file> · 32:10 · repurposed 2026-10-09
Inside: 4 claims, 2 stories, 6 numbers, 3 mistakes, 5 how-tos, 1 answer
## Clips
| # | Slug | Start → end | Length | Opens on | Score |
|---|---|---|---|---|---|
| 1 | posting-daily-myth | 00:12:04 → 00:12:51 | 47 s | "Posting every day almost killed this channel." | 9 |
### 1. posting-daily-myth
**Why it stands alone:** a claim, the reason, one example, in one go.
**On screen:** Daily posting *hurt me*
**Callouts:** 00:12:20 → 3 months · 00:12:39 → 40%
## New scripts
Written to scripts/week-2026-10-05.md: margin-before-ads, first-client-storyvideo-agent/scripts/video-agent/log.mdyt-dlp -S "res:1080,vcodec:h264,acodec:m4a" --merge-output-format mp4 -o "video-agent/takes/<source>-long.mp4" "<url>"/short-editingffmpeg -ss <start in seconds minus 0.5> -i "video-agent/takes/<source>-long.mp4" -t <length plus 1> -c:v libx264 -crf 18 -preset veryfast -pix_fmt yuv420p -c:a aac -b:a 192k -ar 48000 "video-agent/takes/<slug>.mp4"short-editingfinal.mp4/publishvideo-agent/.tmp/