# kajisho5/ffmpeg-skill — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `skills`
- Overall score: `4.2/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `c559cb5fcbfb` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/kajisho5/ffmpeg-skill
- Radar entry: https://radar.alplab.co/#repo/kajisho5/ffmpeg-skill
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `ffmpeg`, `video-editing`, `mcp-server`, `agent-skill`, `cli`, `local-first`

## Summary

An Agent Skill + stdio MCP server giving coding agents 42 local FFmpeg/ffprobe wrapper CLI tools (Python 3.10+ stdlib) with a machine-readable contract, capability doctor, and probe-first/verify-last workflow.

## Implementation Check

All 42 advertised tools exist as substantial scripts (scripts/*.py, e.g. cut.py, audio.py, render.py), the MCP transport is a real JSON-RPC 2.0 server (mcp/server.py), and the installer (bin/install.js) and doctor (scripts/_contract.py) match the README's claims — no scaffold or stub found.

## When to Use

Reach for it when Claude Code, Cursor, Codex or any MCP client must cut, caption, reframe, normalise or delivery-check local video/audio without uploading footage or holding API keys; not for untrusted-input server batch processing, and pin a version if you integrate deeply — 30 releases in ~3 months with past breaking majors (2.0/3.0 removed Python 3.9 and FFmpeg 5.x).

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.5/5 |
| usability | 4.0/5 |
| reliability | 3.0/5 |
| security | 4.5/5 |
| integration | 5.0/5 |

## Code Evidence

scripts/_common/runner.py enforces argv-list-only subprocess (no shell), an FFmpeg 6.1 floor, per-invocation timeouts, signal handlers that kill children and remove partial outputs, and ffmpeg protocol/manifest guards (looks_like_url, _manifest_kind) against remote fetches; tests/test_contract.py:6623 bans shell=True/os.system/eval/exec/os.popen and tests/test_contract.py:8422 + tests/test_picture.py:4672 ban urllib/http.client/requests/socket in tool code; .github/workflows/ci.yml runs the suite on ubuntu/macos/windows across FFmpeg 6.1/7.1/8/9 and Python 3.10/3.13 with pinned action SHAs; mcp/server.py derives tools/list from the contract with cancellation, progress and a read-only env for readOnlyHint tools.

## Issues Found

`npx ffmpeg-skill setup` runs a system package manager (brew/winget/apt-get, via sudo if needed) to install FFmpeg unless --no-ffmpeg — disclosed and resolved by absolute PATH lookup (bin/install.js skips relative PATH entries and the cwd on Windows), but it is a privileged side effect worth knowing. The git tree carries maintainer AI-session artifacts (.claude/skills/, 585 KB docs/design-decisions.md, defect ledgers) — excluded from the npm payload by package.json's files allow-list, so they do not ship.

## Key Risks

Nothing was executed, so no runtime behaviour is proven — reliability is judged from code and CI config only. Requires a local FFmpeg 6.1+ with the right filters (plain Homebrew ffmpeg lacks subtitles/drawtext/zscale; doctor flags per-tool usability) and Python 3.10+. Transcription (--transcribe) needs a separately installed whisper/parakeet engine whose first run downloads model weights (PRIVACY.md). Core 12 tools are 'stable', the other 30 self-declared beta in the contract.

## Reviewed Files

- `SKILL.md`
- `README.md`
- `package.json`
- `PRIVACY.md`
- `bin/install.js`
- `mcp/server.py`
- `scripts/_common/runner.py`
- `scripts/audio.py`
- `.github/workflows/ci.yml`
