---
name: shorts-cutter
description: Find and cut tight, stand-alone Shorts / Reels / TikToks from a long talking-head video (or record a scripted voiceover with the included teleprompter). Transcribes with Whisper word timings, picks the moments that work on their own, cuts fillers, lead-ins, retakes and self-corrections in code with ffmpeg, and returns each Short plus a list of what was cut. Use when someone wants Shorts or Reels cut from a long video, wants to clean up a recording, or wants to record a voiceover from a script.
---
# Shorts cutter (+ teleprompter recorder)
A Short is not a random 60 seconds of a long video. Cut-downs fail when they start mid-thought ("So basically...", "Another thing is..."), wander through two ideas, or trail off after the point has landed. This skill finds the parts that stand on their own and makes them as tight as the point allows.
## What makes a Short work (the rules)
1. **One idea per Short.** If a section covers two ideas, it's two Shorts or one.
2. **Start where the point starts.** The first line must make sense to a stranger scrolling past. Cut lead-in words ("so", "and", "basically", "another scenario is", "like I said"). If the strongest line comes later, it can be moved to the front as the hook, as long as the meaning doesn't change.
3. **Setup, substance, payoff.** Why should I watch, the point itself, a line that lands it. Never end on a setup line, never leave the point hanging.
4. **End as soon as the point lands.** Cut the "so yeah", the recap and the trailing thought.
5. **Length follows the point.** Usually 20 to 60 seconds; up to 90 seconds when the point needs it. Never pad to hit a length, never cut a point in half to save time.
6. **Every example supports this Short's point.** Drop examples that belong to a different idea, even if they're good.
7. **Keep only the corrected version.** When the speaker says something and then corrects it, keep the correction, cut the first attempt. Same for retakes: keep the best take.
8. **Cut platform-specific phrases** ("in this video I'm going to...", "like and subscribe", "as I said earlier").
9. **Stories end on their lesson.** A story with no takeaway inside the clip doesn't ship (or the lesson goes on screen in the speaker's own words).
10. **A section that won't stand alone doesn't become a Short.** Fewer, stronger Shorts beat a long queue.
11. **The words stay the speaker's.** Cut, never rewrite. Captions are their exact words.
## Procedure
### 1. Transcribe
```bash
scripts/transcribe.sh <video> <project-dir>/transcript
```
Uses Whisper with word timestamps (mlx-whisper on Apple Silicon, openai-whisper elsewhere, both via `uvx`). Read the transcript and fix names, brands and tool names Whisper got wrong before planning.
### 2. Propose the Shorts (get approval before cutting)
For each candidate, show:
- **Hook** (first line, exactly as spoken) and **payoff** (last line)
- **Point** in one sentence
- **Keep ranges** with timestamps, and what gets cut inside them (fillers, a retake, a tangent)
- Estimated length
Also list the sections you rejected and why (no payoff, starts mid-thought, depends on earlier context). Wait for the user to approve or adjust.
### 3. Build the keep ranges
- Cut on word boundaries from the transcript: start ~0.08 s before the first kept word, end ~0.15 s after the last.
- Remove fillers (um, uh, you know, like, so), false starts, repeated words, retakes and pauses over ~0.6 s. Keep natural breaths between sentences (shorten them, don't remove them all, or it sounds robotic).
- Never cut inside a word. Check any cut where Whisper's timings look off (words with zero length or long gaps).
- Write the ranges to `<project>/<short-name>.ranges.json` as `[[start, end], ...]`.
### 4. Cut
```bash
node scripts/cut.mjs <video> <short>.ranges.json <short>.mp4 --vertical
# or with your own crop of the speaker: --crop=1215:2160:1300:0
```
Joins the ranges in order with tiny audio fades so cuts don't click. `--vertical` centre-crops to 9:16 at 1080x1920; use `--crop=w:h:x:y` to frame the speaker with headroom for captions.
### 5. Review and hand over
- Watch the joins (or check the waveform) for clicks, doubled words and cut-off syllables.
- Send the user each Short plus a plain list of what was cut, so they can ask for anything back.
- Finish for upload: loudness to about -14 LUFS (`ffmpeg -i in.mp4 -af loudnorm=I=-14:TP=-1.5:LRA=11 -c:v copy out.mp4`).
- Captions, graphics and B-roll are a separate step (see the `reels-editor` skill in this repo).
## Recording a scripted voiceover: the teleprompter
For scripted videos (voiceover over B-roll, or an AI avatar lip-synced to your voice):
```bash
teleprompter/start.sh <project-dir>
```
- Put the script in `<project-dir>/script.txt`, a blank line between lines. Lines starting with `#` are notes and aren't shown.
- Opens in your browser. Allow the microphone once, then pick your mic (USB or plugged-in mics included) from the menu; it's remembered next time.
- **Full take (recommended):** press **F** and read the whole script in one go; tap **Space** (or **→**) as you reach each next line so the prompter follows you; **F** again stops and saves `vo/full-take-1.wav` plus the time each line started. Stumbled? Pause, then say the sentence again; the cutter keeps the last good version (see the rules above).
- **Managing takes:** every full take is numbered and listed with its length. Play any take from the highlighted line, click **Use** to pick the one for the edit (the newest is picked by default), or discard one (it moves to `vo/discarded/`, never deleted). **Mark as done** ticks the video off in the menu; with a folder of several videos (each with its own `script.txt`), switch videos from the menu at the top.
- **Patch one line:** **Space** records just the highlighted line; Space again saves it (`vo/line-03-take-2.wav`). **R** redoes it, **P** plays it, click an older take to use it. **Finish** joins line takes into `vo/voiceover.wav` (use this only if you recorded every line separately).
- Audio is saved as 48 kHz 24-bit mono WAV with no browser noise suppression or auto gain, so you get your real voice.
- Needs Node 18+ and ffmpeg. Runs only on your computer (localhost); nothing is uploaded.
- Tips: same mic every time, 15 to 20 cm away, a quiet soft room, keep the level meter out of the red.
## Requirements
- ffmpeg, Node 18+, and [uv](https://docs.astral.sh/uv/) (for `uvx` to run Whisper without installing it).