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 →

  • Claude Code

    CLAUDE.md for a Remotion motion graphics project

    You make motion graphics or explainers in code with Claude Code and Remotion, and you want every session to follow the same rules for timing, fonts and renders

    Claude CodeRemotionCLAUDE.md

  • Claude Code

    CLAUDE.md for an FFmpeg editing folder

    You keep raw footage in a folder and let Claude Code trim, cut, caption and export it with FFmpeg, and you never want it to touch your originals

    Claude CodeFFmpegCLAUDE.md

  • Claude Code

    CLAUDE.md for editing in Resolve, Premiere or After Effects through MCP

    You connected Claude Code to DaVinci Resolve, Premiere Pro or After Effects with an MCP server and want safe habits before it touches a real project

    Claude CodeMCPResolvePremiere

  • Claude Code

    Claude Code skill: /cut-silences

    You record talking head videos and want one command that finds the pauses, shows you the cut list, and exports a tighter version

    Claude CodeSkillFFmpegWhisper

  • Claude Code

    Claude Code skill: /captions

    You want accurate SRT captions from local Whisper, split into readable lines, and optionally burned into a vertical export

    Claude CodeSkillWhisperFFmpeg

  • Claude Code

    Claude Code skill: /qa-render before you deliver

    You want a repeatable final check on every export before it goes to a client or gets uploaded

    Claude CodeSkillFFmpegQA

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.