Drive ffmpeg through the media_run tool as an argv array - remux instead of re-encode, map streams explicitly, trim at keyframes, scale and crop, extract audio and frames, and build GIFs, contact sheets and concatenations. Covers the flags this pack injects, reading a failure from its exit code and last log lines, and the version-dependent spellings to hedge.
Install
npx skills add vecnode/vn-code --skill ffmpeg-clinpx skills add vecnode/vn-code --skill ffmpeg-cli -a claude-code -gnpx skills add vecnode/vn-code --skill ffmpeg-cli -a codex -ggemini skills install https://github.com/vecnode/vn-code.git --path packages/dsh-media/skills/ffmpeg-cligh skill install vecnode/vn-code ffmpeg-cligit clone --depth 1 https://github.com/vecnode/vn-code /tmp/vecnode__vn-code
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/vecnode__vn-code/packages/dsh-media/skills/ffmpeg-cli ~/.claude/skills/ffmpeg-cli # Claude Code
cp -R /tmp/vecnode__vn-code/packages/dsh-media/skills/ffmpeg-cli ~/.agents/skills/ffmpeg-cli # Codex, Cursor, Gemini CLI, Copilot, OpenCode