FFmpeg Skill

Hand your coding agent FFmpeg, with a fixed tool list and a check on every file it writes

Local video editor for coding agents: 42 FFmpeg tools with a machine-readable contract and an MCP server, for Claude Code, Cursor and Codex. Cut, captions, reframe, loudness, platform exports. No cloud, no API keys.

Category
Media & creative
Audience
Developers
Language
Python
Licence
MIT

Updated

FFmpeg Skill is a local video editing toolkit for coding agents: 42 FFmpeg tools, a machine-readable contract and an MCP server that let Claude Code, Cursor or Codex cut, caption and re-export footage on your own machine. It is aimed at developers who already drive an agent from the terminal and want it to handle the mechanical half of editing (trimming, reframing, loudness, platform presets) without memorizing FFmpeg flags.

What it does

The project hands an agent a fixed menu of video operations instead of letting it improvise command lines. The project's own count is 42 tools, covering:

  • cutting and trimming, including silence removal
  • reframing, for example to 9:16 for vertical feeds
  • captions and subtitles, including the karaoke style the video demo shows
  • loudness normalization
  • transcoding and ready-made exports for platform targets

The part the authors treat as the point is the checking. The README and the project's own demo image describe a run that probes the input, edits, exports and then measures the result, so the agent confirms duration, frame size and audio instead of just announcing success. It also refuses to overwrite your original footage by accident, which matters when a model is holding the file paths.

How it works

Everything runs through the FFmpeg already installed on your machine. The contract lives in a SKILL.md file: any agent that can read that file gets the tool list and the rules for calling it. There is also an MCP server for clients that speak the Model Context Protocol, which is how Claude Code, Cursor and Codex connect, and the repository's topics list a Gemini CLI extension as well. The Python side is described as standard library only, so there is no dependency tree to resolve beyond FFmpeg.

No model weights ship with it and no inference happens inside it. The intelligence is whichever agent you already use; this project is the hands. Its CI badge advertises tests against FFmpeg 6.1, 7.1, 8 and 9, which is the authors' own test matrix rather than an outside audit, and the repo also carries an OpenSSF Scorecard badge.

Getting started

What it needs: FFmpeg installed locally, Python, and an agent or MCP client that can read SKILL.md (Claude Code, Cursor and Codex are the ones named). The repository does not list operating system, memory or GPU requirements, so treat it as "wherever your FFmpeg and Python already run" and check the docs before assuming full Windows parity.

Cost: the code is MIT licensed and free, and because the editing is local FFmpeg there is no API key and nothing metered for the video work. You still pay for the intelligence: if you drive it with Claude Code or Cursor on a paid plan, that subscription or token spend is the real bill.

Where to get it: github.com/kajisho5/ffmpeg-skill. There is a published npm package called ffmpeg-skill plus a project website, and the README's Quick start section holds the exact install command. The channel's materials summarize setup as a single command but do not print the string, so copy it from the repo rather than from this page. Demos are collected in docs/demos.md.

When to use it / when not

The catch is scope, and the authors say it out loud: the tool will not decide what to cut. Pacing, which take to keep, where a joke lands: that judgment stays with you or with your agent's reasoning. FFmpeg Skill removes the syntax, not the editing.

Use it instead of asking Claude for raw FFmpeg commands when you want repeatable operations and an automatic check on the output file, rather than a plausible command line you have to verify yourself. Use it instead of a cloud editing API when the footage must not leave the machine.

Don't use it if you want a timeline you can scrub, or if you are doing one unusual conversion whose flags you already know, since plain FFmpeg is right there. Don't use it if your agent cannot read a skill file or speak MCP, because that contract is the whole interface. And note the age: the first commit landed in September 2026, so this is a young project under frequent pushes, not something with years of edge cases behind it.

The people who should take this seriously are those already producing video on a schedule with an agent in the loop: developers cutting demo clips, anyone shipping vertical versions of long recordings, teams whose footage cannot go to a hosted editor. The design is unglamorous in the right way, a known list of operations plus a written contract plus a verification pass, running on software most video people have installed anyway. Roughly 8,200 stars and 767 forks on GitHub at the time of writing suggest the idea landed; the honest limit is that it is a pair of hands, and you are still the editor.

More in Media & creative

All of Media & creative →