Claude Code for editing

Claude Code skill: /shorts from a long video

You have a podcast, stream or long YouTube video and want Claude to find the best moments and export vertical clips you can review

Tags

Claude CodeSkillShortsFFmpeg

Save it as

.claude/skills/shorts/SKILL.md

.claude/skills/shorts/SKILL.md · 23 linesDownload .md
---
name: shorts
description: Find the strongest self contained moments in a long video from its transcript and export vertical 9:16 clips for review. Use when the user asks for shorts, reels, TikToks or clips from a long video.
argument-hint: <video file> [number of clips, default 5] [max seconds, default 45]
---

# Shorts from a long video

Input: $ARGUMENTS

1. Transcribe with word timestamps (see the captions skill) into `work/transcript.json`. Read only the transcript, do not try to watch the video.
2. Find candidate moments that:
   - make sense with no context from earlier in the video
   - open with a strong first sentence (a claim, a question, a number or a surprise) inside the first 2 seconds
   - end on a complete thought, not mid sentence
   - run between 15 s and the max length
3. Show a table: rank, start, end, length, first line, last line, why it works. Propose more than requested so the user can choose.
4. Wait for the user to pick.
5. For each pick, cut with frame accuracy and reframe to 1080x1920. Default reframe: center crop. If the speaker is off center, ask for an x offset or use a face tracking tool if one is installed.
6. Add captions using the captions skill rules for vertical video, kept above the bottom 20% of the frame where app buttons sit.
7. Export `out/short_<rank>_<first-words>.mp4` and a `out/shorts.md` file with a suggested title and the start and end timecodes in the source.
8. Never claim a clip will go viral. Describe why it might hold attention and let the user decide.

Before you run it Fill in anything in [brackets]. If it edits a project, use a duplicate and read the agent's plan before you say go

Sources and credit

The prompt text is written by AgentCut. These sources informed it and are worth reading in full

More in Claude Code for editing

All 39 prompts →

The AgentCut weekly

New AI connectors for After Effects, Premiere, Resolve and CapCut, tested setup notes, and what broke after app updates. One email a week