ffmpeg-skill 4.17.0 in Practice: What 42 Local FFmpeg Tools Give a Coding Agent, and What They Do Not

ffmpeg-skill gives coding agents 42 local FFmpeg tools under an MIT licence, with a machine-readable contract, an MCP server and no data leaving the machine.
ffmpeg-skill 4.17.0 in Practice: What 42 Local FFmpeg Tools Give a Coding Agent, and What They Do Not

The best thing about ffmpeg-skill is not the video editing. It is that an agent can read a machine-readable contract and learn, before it runs anything, which FFmpeg filters this machine actually has.

ffmpeg-skill gives a coding agent 42 advertised FFmpeg tools (41 documented operation scripts plus an orchestration layer) behind a machine-readable contract and a contract-derived MCP server. It is MIT licensed, costs nothing, needs no API key, and runs entirely on local ffmpeg and ffprobe. On 3 December 2026 it sat at roughly 13,700 GitHub stars.

kajisho5/ffmpeg-skill README on GitHub
The kajisho5/ffmpeg-skill README on GitHub.

Forty-two tools, forty-one scripts, and two version numbers

Start with the counting, because it tells you something about the project’s maturity. npm says the latest version is 4.17.0. The indexed GitHub release tag in the research is v2.7.0 from 9 October 2026, while the release feed fetched today shows v4.39.0 published 1 December 2026. The npm description advertises 42 tools; the README fetched today says 41 public tools, and the GitHub repository description also says 41. My reading: the 42 counts the orchestration layer (render.py driving a whole project, or the alias crop.py) alongside the 41 operation scripts, and the version mismatch is the npm channel running ahead of whatever release tag a given index happened to catch. Neither is a defect. Both tell you this repo ships fast and that automated indexes of it go stale within days.

The README itself is unusually honest about that drift. It records a past failure in plain text: before 2.17.1, the one-line Claude plugin install could not work because there was no marketplace file. It also documents that a failed registry step in the MCP Registry leaves the entry pinned on the previous version. A maintainer who writes down the broken install command they shipped is a maintainer I take more seriously than one whose README reads clean.

Some context for the numbers: the repository was created on 3 September 2026 and last pushed on 2 December 2026, and about 7,400 of those stars arrived in the preceding month.

Why an agent that “knows FFmpeg” still gets it wrong

The README’s own framing of the problem is the best argument for the project. An agent with shell access and FFmpeg knowledge guesses: it assumes a frame rate, picks a codec the container cannot hold, re-encodes a file that only needed a stream copy, and reports “done” without opening the result. Every one of those is a failure mode you can reproduce in any model, because the model is generating a command string rather than measuring a file.

ffmpeg-skill replaces the string with a workflow the skill file enforces: probe, edit losslessly where possible, check, verify. probe.py measures duration, fps with variable-frame-rate detection, resolution, rotation, bit depth, HDR format including Dolby Vision, colour tags and every audio stream before anything is cut. cut.py and loudness.py stream-copy what they do not need to touch. After the write, the output is probed again and compared against the destination spec; when the picture changed, look.py renders a contact sheet PNG and the report is not considered finished until its Look: line names that image.

Two design rules matter more than the tool count. The first is capability detection: doctor reads ffmpeg -encoders / -decoders / -filters / -bsfs and reports which components the tools need are present on this build, before a job fails inside FFmpeg. The second is the rule that unknown is not missing. When a listing cannot be parsed or FFmpeg exits non-zero, the affected capabilities are marked unknown, never missing and never silently available. That distinction is the difference between an agent that reroutes around a genuinely absent filter and one that reroutes around a parsing bug.

One command installs the skill, FFmpeg and the doctor check

npx ffmpeg-skill setup installs the skill into every agent directory it finds (~/.claude, ~/.cursor, ~/.codex, ~/.agents), installs FFmpeg via brew, winget or apt when ffmpeg does not run (printing the command first), and ends with doctor, returning its exit status. It needs Node 16+ and Python 3.10+ and installs neither. MCP mode is npx -y ffmpeg-skill mcp. All tools are Python 3.10+ standard library, so there are no pip dependencies. Supported clients are Claude Code, Codex through the plugin marketplace, Gemini CLI via gemini extensions install, and Cursor as a skill target.

The contract is the product

contract --json describes every tool: input schema, output schema, role, required and conditional FFmpeg capabilities, dry-run support, which verification tools to run afterwards, whether a visual check is required, and mutates_input: false. The MCP surface is derived from that contract at start-up, so names, order and inputSchema in tools/list are translated from each tool’s argparse parser. A new flag or a new script appears in MCP with no edit to the mcp/ directory, and a test copies the skill, adds, removes and edits a script, then reads tools/list again to prove it.

The project calls this SPEC, a Self-Producing Execution Contract: the input_schema is never hand-authored beside the code, it is derived at run time from the same argparse parser that defines the CLI, and CI fails the build if any of it drifts. I have seen enough MCP servers where the advertised schema and the actual handler disagree to think this is the single most transferable idea in the repo, independent of video. If you are building MCP tooling, generating the tool definition from the function signature and failing CI on drift is worth stealing outright. It is also the kind of discipline that was conspicuously absent in the broader MCP ecosystem when I looked at how the protocol actually works and how many servers ship without auth.

There is a context-budget detail worth knowing: tools/list advertises a core 12 by default to keep client context small, with FFMPEG_SKILL_MCP_FULL=1 listing all 41. Every tool stays reachable by name through tools/call either way. That is a sensible default. Forty-one tool definitions in every system prompt is a real cost, and most sessions touch five of them.

Nothing leaves the machine except model weights on first run

There is no cloud component, no API key and no account, which is why this package is interesting to anyone working under European data rules rather than just to people cutting Reels. Optional local transcription runs when a speech engine is installed: Parakeet, faster-whisper or openai-whisper. The release notes for the Parakeet engines say it directly, that the audio never leaves the machine because inference is local. The one caveat the README is open about: parakeet-mlx, faster-whisper and openai-whisper download their model weights the first time they run, parakeet-mlx’s default from Hugging Face. That is a one-time outbound fetch of weights rather than an upload of your footage, but it is a network event your air-gapped build pipeline needs to know about.

The review page follows the same rule. After an edit you can ask the agent to show the review page, or run npx ffmpeg-skill review project.json --result run.json, and it writes one local HTML file with the sources, every step and its checks, the result in a phone frame with the platform’s safe area, and a timeline. Nothing is uploaded. It speaks English, Japanese, Korean and Chinese.

For a Swiss or EU team, that shape matters more than the feature list. A tool that does real work with no outbound data path does not need a transfer assessment, a processor agreement or a vendor review. It needs a check that the binary is what it claims and that the agent’s filesystem permissions are scoped. I made a similar argument about local-first agent runtimes with an MCP bridge, and the reasoning holds here: the compliance cost of a local tool is a one-off, the compliance cost of a hosted one recurs.

What works
  • Probe-first, verify-last is enforced by the skill file and by tests, not left to the model’s discretion.
  • MCP schemas are generated from the CLI parser; CI fails on drift, and a test keeps the two byte-identical.
  • Capability detection distinguishes available, missing and unknown instead of guessing.
  • No tool overwrites its input; a destination matching a declared input is refused, and a test hashes every input after the run.
  • Every tool takes --dry-run, --json, --plan FILE, --timeout and --overwrite, so a run can be planned, inspected and replayed.
  • MIT licence, no paid tier, no usage fee, no API key.
Rough edges
  • Version numbering is inconsistent across channels: npm 4.17.0 against a GitHub release tag of v2.7.0 in one index and v4.39.0 in the release feed read today.
  • Tool count is advertised as 42 and documented as 41; the extra one is unexplained in the listing.
  • The one-line Claude Code plugin install needs 2.1.275 or later; versions 2.1.69 to 2.1.274 need two alternative documented commands.
  • A failed MCP Registry step leaves the registry entry on the previous version, by the README’s own admission.
  • doctor‘s overall ok goes false if any single tool’s requirement is missing, so a plain Homebrew FFmpeg without subtitles fails the headline check while most tools still run. You have to read doctor --json‘s tools field.
  • No minimum FFmpeg version is stated anywhere in the README.
  • The agent still needs filesystem read and write permission, which is the real security surface here.

The author states plainly what the tools cannot see

The README draws its boundary unusually clearly, and I would rather quote it than paraphrase. look.py only renders a PNG. Nothing in the repository detects faces, products, subjects or the interesting part of a frame. When a crop needs to keep a specific part of the frame, it is the multimodal agent looking at that PNG and choosing the anchor; a non-visual caller gets a plain centre crop. redact.py blurs a rectangle you give it and finds nothing itself, and its delogo mode is a border blend rather than inpainting. scenes.py --highlights ranks candidate scenes by a measured proxy, loudest audio or longest duration, never by content.

This is a repo of hands. The author says so explicitly: it cuts, measures and exports files and reports structured JSON, and it does not decide what to cut, whether a deliverable is approvable, or what a caption should say. Those jobs live in separate repos in the same ecosystem. The dependency runs one way, which is the right direction if you want to use the engine alone.

The author also published a position paper on the underlying discipline, verification-driven coding, and the paper scores ffmpeg-skill itself as only partially conformant with the discipline it defines. Self-assessment that admits a shortfall is rare enough in open source to be worth noting.

Install it for repetitive platform exports, skip it if you wanted judgement

My take: install it if you have a coding agent with shell access, footage you would rather not upload, and repetitive media work such as platform exports, loudness normalisation to a target, caption burn-in or silence removal from long recordings. The platform templates alone cover tiktok, reels, shorts, youtube, x, linkedin, facebook, podcast and audiogram, with --template all rendering the seven video destinations from one edit plus a _pack.md table of what each produced. That is a genuine afternoon of shell scripting you do not have to write.

Skip it if you were hoping for automatic reframing, subject tracking, logo removal or any judgement about which moment is good. None of that exists here, by design and by the author’s own statement. Skip it also if your pipeline runs on Windows without the Microsoft Store Python, at least until you have read the Git Bash python3 versus python note, and skip it if you cannot give an agent filesystem write access, because the whole model depends on that.

I would deploy this for internal media work on sensitive footage today and not think twice about the licence or the data path. What I would not assume is that the agent’s output is correct because the tool verified it. Verification here means the file matches the measured spec, which is a different claim from the edit being the right edit. The 42-versus-41 mismatch and the three version numbers across channels are cosmetic, but they tell you the release automation moves faster than the documentation, so pin a version rather than tracking latest in anything that runs unattended.

What I keep coming back to is not the video editing but the contract: a three-month-old repo with no funding model showed that an agent tool can advertise exactly what it can do on this machine, refuse cleanly when it cannot, and prove in CI that the advertisement matches the code. That pattern generalises to every MCP server anyone is building right now.

The takeaway

MIT, zero cost, no data leaves the machine, and a contract your agent can actually read: for EU and Swiss teams doing media work on footage that cannot be uploaded, this is the cheapest compliance decision available. If you are designing agent tooling and want the SPEC pattern applied to your own MCP surface, that is a conversation worth having. Book a call →

Previous Article

Cordium in Practice: What a Secretless Kubernetes Sandbox for AI Agents Does, and What It Does Not