Claude Code for editing

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

Tags

Claude CodeFFmpegCLAUDE.md

Save it as

CLAUDE.md

CLAUDE.md · 24 linesDownload .md
# Project: FFmpeg editing folder

I edit videos here with FFmpeg through you. Treat my footage like a client's footage.

## Folders
- `raw/` original files. READ ONLY. Never write, move, rename or delete anything in here.
- `work/` temporary files. You can create and delete files here.
- `out/` finished exports only.
- `logs/` one text file per job with the exact commands you ran.

## Rules
- Run `ffprobe` on every input before you build a command. Report resolution, fps, codec, duration and audio channels.
- Keep the source fps and resolution unless I ask for something else.
- Prefer stream copy (`-c copy`) for simple trims on keyframes. Re-encode when cuts must be frame accurate and say so.
- Default delivery encode: H.264, `-crf 18`, `-preset slow`, `-pix_fmt yuv420p`, AAC 320k, `-movflags +faststart`.
- Never overwrite a file. If the output exists, add `_v2`, `_v3`.
- Show me the full command before any job that takes more than a minute, then run it after I say go.
- Write every command you ran into `logs/<job>.txt` so I can rerun it.

## Checks after every export
- `ffprobe` the output: duration, fps and resolution match what we planned.
- Audio is present and not silent (`volumedetect` mean volume above -50 dB).
- Tell me 3 timestamps worth checking by eye, for example the first cut, the busiest caption and the last second.

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 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: /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

    Claude CodeSkillShortsFFmpeg

  • 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.