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.
Python agent-skillsai-agentsaudio-processingcaptionsclaude-codecodexcoding-agentcursorffmpegloudness-normalizationmcpmcp-servermodel-context-protocolpythonsubtitlestranscodingvideovideo-editingvideo-processingwhisper
Review Checklist — runnable
Copy this into the review. Every box is a command or a named read, not a feeling.
0. Base
git fetch origin
git log --oneline -1 origin/main
git diff --stat origin/main...HEAD
git diff origin/main...HEAD -- scripts/ docs/contract.md SKILL.md README.md
- Findings are stated against file:line at the reviewed commit
-
docs/design-decisions.mdgrepped for each candidate finding; any match cites the sentence that no longer holds
1. Result-document honesty
-
statuscannot becompletedon a non-zero exit (die()setsfailed) -
verifiedis a conjunction of steps that ran; nothing flipped totruewithout a measurement -
dropped_non_av_streamsmatches timeline-move vs in-place (seeresult-honesty.md) -
cutstill reportsmode/keyframe_snapped/duration_delta_seconds -
error.kindis the kind that actually occurred;retryablestaysfalse -
info()still rewriteswrote Xunder--dry-run; no write claim in a dry-run document -
analysis_onlytools still measure under--dry-run
grep -rn "emit(\|die(" scripts/*.py | wc -l # every script ends in one of the two
python3 scripts/<changed-tool>.py --json --dry-run ... # read the document it prints
2. Surfaces
python3 scripts/_contract.py --json > /tmp/before.json # before the change
python3 scripts/_contract.py --json > /tmp/after.json # after
diff /tmp/before.json /tmp/after.json
wc -c SKILL.md # must be < 30000
- New flag/tool is in the contract, and
README.md/SKILL.md/references/scripts.md/docs/contract.mdagree -
CHANGELOG.mdhas the entry -
feat: a demo indemos/build.py(or anINSPECTIONrow),docs/demos.mdregenerated withpython3 demos/build.py --docs -
SKILL.mdstayed under 30,000 bytes; the PR names the line it trimmed - Release PR moved
docs/roadmap.md's "released version today" line
3. Scope and rules
- No new runtime dependency; stdlib + Python 3.9+ only
- No raw
ffmpeg/ffprobeshell call outsidescripts/*.py - No mutation of an input file
- No AI/LLM content judgement, no cloud, no API keys
- Colour flags go through
validate_color(;--qualityrange check stays inapply_common(); time parsing goes throughtime_arg() - A minor/patch change does not change the meaning of an existing field — a
parallel key (as
hdr_signalwas before 2.0) instead - A fix ships a regression test that would have caught the original bug
4. The gate
npm test
npm run release-check
python3 scripts/_contract.py doctor
- Both test files pass, read after the run — not predicted
- Any red check is its own statement: what is red, what makes it red, whether it was fixed, and whether it is pre-existing (run it on the base commit)
- Cross-OS / cross-FFmpeg risk stated for changes touching ffmpeg invocation, path handling, or child-process decoding (CI covers FFmpeg 5.1–9.x on Linux/macOS/Windows)
- No skip-CI marker quoted in the PR body
5. The write-up
- Findings ordered by cost: false claim → missing surface/test → style
- Each finding has file:line, the concrete failure, and the smallest fix
- Unverified items are labelled unverified, not implied passing
- Deep security audit deferred to a dedicated pass if warranted