repurpose-videolisted
Install: claude install-skill Upload-Post/upload-post-plugin
# Repurpose a long video into viral shorts
This is the autoshorts pipeline. It chains: transcribe → identify clips → cut → optional overlay → upload to short-form platforms.
## 1. Locate the source video
Accept a local file path or a URL. If it is a YouTube/Vimeo URL the user wants pulled, ask whether to download first or hand the URL directly to the FFmpeg job tool if it accepts remote sources.
## 2. Transcribe
The Upload-Post MCP does not ship a transcription tool today. Two options:
- **The user already has a transcript** (YouTube captions, a Whisper export, an existing autoshorts run). Ask for it and skip to step 3.
- **No transcript yet**. Submit an `submit_ffmpeg_job` with `operation: "transcode"` to extract a `.mp3` of the audio, then run Whisper locally (or any transcription tool the user has). Do not promise transcription as part of the plugin — be honest that the user needs to bring it.
Save segment-level timestamps. You will need them to cut.
## 3. Identify clip candidates
Send the transcript (with timestamps) to the model and ask for viral moments. Good criteria:
- A hook in the first 3 seconds.
- Self-contained — works without the preceding context.
- 20–60 seconds long.
- Has a strong line worth a hook overlay.
Aim for 3–8 candidates. Present them to the user with timestamps and one-line summaries; let them approve before cutting.
## 4. Cut with FFmpeg
For each approved candidate, call `submit_ffmpeg_job`:
- `sourceUrl` — public URL of the source v