npx claudepluginhub salzaki/ffmpeg-workbenchProbe-first, verify-after ffmpeg skill for encoding, converting, compressing, clipping and packaging video/audio. Detects your machine's real encoders and hardware acceleration before acting, and verifies every output with ffprobe after.
A Claude Code plugin for ffmpeg. It covers the common encode and transform jobs: convert, compress, resize, trim, concatenate, GIFs, audio, subtitles, and platform packaging.
Install - run in Claude Code:
/plugin marketplace add SalZaki/ffmpeg-workbench
/plugin install ffmpeg-workbench@ffmpeg-workbench
Then describe the job in plain language and the skill handles the ffmpeg.
The skill follows a fixed loop: probe the environment, probe the input, transform, verify.
scripts/probe_env.mjs reports which encoders this
ffmpeg build was compiled with and what hardware acceleration is available.
Generated commands only reference encoders that are actually present.scripts/verify_output.mjs runs ffprobe on every result
and checks it against the request: codec, dimensions, duration, size. A
mismatch is reported as a failure.-2, not -1), speed changes
that keep audio in sync (setpts with atempo), no obsolete
-strict experimental, concat without process substitution, and platform
limits that are checked before use rather than assumed.ffmpeg on your PATH - brew install ffmpeg, apt install ffmpeg, or
winget install Gyan.FFmpeg. Node ships with Claude Code. Everything else
(encoders, hardware acceleration) is probed at runtime.
The skill activates on its own for media tasks, or call /ffmpeg directly.
.claude-plugin/{plugin.json, marketplace.json}
skills/ffmpeg/
├── SKILL.md # the probe → transform → verify loop
├── references/ # loaded on demand, per task
│ ├── encoding.md ├── edit-and-concat.md
│ ├── gif-and-frames.md ├── audio.md
│ ├── subtitles.md └── platform-presets.md
└── scripts/ # Node stdlib only, zero deps, no build step
├── probe_env.mjs
└── verify_output.mjs
CI smoke-tests recipe correctness on every push (ci.yml). Behavioral evals -
whether the skill probes, picks the right recipe, and verifies - live in evals/:
node evals/run.mjs # all cases (needs an authenticated `claude` and ffmpeg)
node evals/run.mjs --only 4 # a single case
Each case in evals/evals.json generates a fixture, runs Claude Code headlessly
with the plugin loaded (--plugin-dir), and scores three ways: verify_output.mjs
against the produced file, a trace linter (checks.mjs) that checks the emitted
ffmpeg commands for known antipatterns, and an LLM judge for the parts that
aren't mechanically checkable. Evals run on manual dispatch and a weekly schedule
rather than per-push, since they call a model. The case format mirrors the native
claude plugin eval.
This plugin transforms media. It does not analyze video content (summaries, transcription, frame description) - use a dedicated video-analysis skill for that.
MIT licensed. Every recipe change must extend the CI smoke test.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.