What it is
ffmpeg-skill is an Agent Skill for Claude Code, Cursor, Codex and any agent that reads SKILL.md. It teaches the agent a fixed workflow of probing the source, editing losslessly where possible, checking the output and verifying it, and ships 42 tools that do the work with ffmpeg and ffprobe. The tools cut and join clips, remove silence, fit a video to a duration or aspect ratio, add animated and karaoke-style captions, normalise loudness, stabilise and grade, and export to a platform with that app's interface taken into account. The README says no cloud and no API keys are involved. After an edit the agent can write a single local HTML review page with the sources, each step and its checks, and the result in a phone frame with the platform's safe area. You point at a clip or caption, write what should change and copy the instruction it builds back to the agent; nothing is uploaded. The skill also works as an MCP server. Setup is one command that installs the skill for each agent it finds and checks the machine. The project is young (created 2026-09-03) but already widely starred and trending on GitHub this week. We read the README and did not run the tools.
Who it's for
- Creators who want an agent to cut and caption talking-head footage into Reels, Shorts or TikTok clips
- Developers who want scripted, checkable video edits instead of a cloud editor
- Teams that cannot upload footage to a third-party service
Requirements
Requirements
- Node 16+ and Python 3.10+ (not installed by the setup)
- FFmpeg and ffprobe (the setup installs them with brew, winget or apt when it can)
- For captions from speech: a local engine such as faster-whisper, installed separately
- Claude Code, Cursor, Codex or any agent that reads SKILL.md
Setup
Step 1
bashnpx ffmpeg-skill setupStep 2
bashOr step by step: npx ffmpeg-skill (Cursor: --cursor, Codex: --codex, all: --all)Step 3
bashnpx ffmpeg-skill doctor
مهارة وكيل تحوّل Claude Code أو Cursor أو Codex إلى محرر فيديو محلي: سير عمل من الفحص والتحرير والتحقق مع 42 أداة مبنية على FFmpeg للقص وإزالة الصمت وتغيير الأبعاد والترجمة النصية وضبط الصوت والتصدير للمنصات، كله على جهازك.
Examples
Ask for a Reel
PromptTake `interview.mp4`, keep 0:45–1:20 and 5:00–5:25, and make it a 60-second Reel.Expected output: The README says the agent then runs probe, cut, fit, export, check and look steps and reports the final file's length, size, frame rate and audio.
Install for Claude Code and verify the machine
bash# 1. install the skill for Claude Code (Cursor: --cursor, Codex: --codex, all three: --all)
npx ffmpeg-skill
# 2. check the machine: ffmpeg, ffprobe and every FFmpeg component the tools need
npx ffmpeg-skill doctorWhat it does: Steps 1 and 2 from the README's quick start.
Render one edit for a platform
bashpython3 $S/render.py talk.mp4 --template tiktok --cues cues.txtWhat it does: Fills the shipped TikTok template: 9:16 crop, captions placed clear of the app's UI, -14 LUFS and a platform check.
Pros & cons
Pros
- Pro:Everything runs locally: no cloud, no API keys, tools in the Python standard library
- Pro:A fixed workflow with checks after each step and a platform check on the output file
- Pro:Ready delivery templates for TikTok, Reels, Shorts, YouTube, X, LinkedIn, Facebook and podcasts
- Pro:A local review page lets you mark a caption or clip and copy the change request back to the agent
Cons
- Con:Needs FFmpeg builds with specific components; a missing filter can make doctor report not ok even though most tools still run
- Con:Captions from speech need a separately installed speech engine
- Con:The README demos use AI-generated footage and synthetic sound, so check results on your own clips
- Con:Copies of the skill are not updated automatically; re-run npx ffmpeg-skill to refresh