A conference talk filmed on one camera, with the slides separate: the agent put them side by side and cut a captioned Reels short from it, in English and Japanese. The talk was brought from -17.6 to -14 LUFS.
Repo of the Week · Week 48, 2026
ffmpeg-skill: let your coding agent edit your videos
A free add-on that turns Claude Code, Cursor or Codex into a video editor that works on your own computer.
What’s a repo?A repo is a project’s code folder on GitHub, free to download. kajisho5/ffmpeg-skill on GitHub
A free skill that gives Claude Code, Cursor or Codex 42 video tools built on FFmpeg. Ask in plain words for a cut, captions or a vertical clip; it runs on your computer and checks the file it made.
- Stars
- 9.9k
- Forks
- 872
- npm / week
- 17.8k
- Latest
- v4.7.0
What it is
AI coding agents can write FFmpeg commands, but they often guess: wrong frame rate, wrong length, and then they say "done" without checking. This add-on gives the agent ready-made video tools instead. You say "cut 0:45 to 1:20, make it vertical and add captions", the agent edits the file on your machine and then measures the new file to check the length, size and sound.
Who it’s for
Creators, marketers and developers who already use Claude Code, Cursor or Codex and want quick edits without opening a video editor: turning a talk or interview into a short, cutting dead air, adding captions, or exporting one clip for several platforms.
What you need
FFmpeg 6.1 or newer, Python 3.10 or newer, and Node 16 or newer for the one-line installer. One command installs it. It is free (MIT) and needs no API key; your agent's own model costs still apply.
Why it’s trending
Created Sep 3, 2026, it now has 9,875 stars and 872 forks (GitHub API, Nov 23, 2026). GitHub Trending shows 3,748 new stars this week. On X, 498 original posts mentioned ffmpeg-skill in the past 7 days; the 80 we read came from 75 different people. Here’s what people are sharing:
- Reaction
"Claude can now edit your videos": cuts silences, makes it vertical, adds subtitles and leaves it ready for TikTok, on your own computer (in Spanish). 166 likes, 15 reposts.
@marcusyul · Nov 22, 2026 ↗ - Reaction
One command gives Claude Code, Cursor or Codex 42 FFmpeg tools, with no cloud and no API keys. 144 likes, 48 replies.
@gippp69 · Nov 21, 2026 ↗ - Reaction
Cut, caption, reframe, fix loudness and export per platform on your own machine; the agent measures every file first and checks the result before saying it's done. 92 likes.
@RoundtableSpace · Nov 17, 2026 ↗ - Trending
A list of 14 repos that make Claude Code a video editing room, with ffmpeg-skill at No. 2. 1,963 likes, but the likes cover the whole list.
@plusxbt · Nov 16, 2026 ↗ - Reaction
Instead of cutting an app's promo video by hand for Reels, Shorts and TikTok, let the agent cut silences, crop to vertical and export (in Turkish). 39 likes.
@mmdincerdev · Nov 16, 2026 ↗ - Reaction
Says the new part in 4.0 is the check after the edit: length, loudness and safe zones are measured against the request before the agent can claim it worked.
@stretchcloud · Nov 20, 2026 ↗ - Caution
Good if you already have footage and want the agent to make the final cut; complex effects still need a traditional editor (in Chinese). 12 likes.
@qianruo_talks · Nov 18, 2026 ↗ - Caution
Setup steps, with a warning that npx runs a package from the internet, so check the source, and only edit videos you have the rights to (in Chinese).
@0xSpeter · Nov 21, 2026 ↗ - Concern
Does it pull frames back and actually look at the cut, or just trust FFmpeg's exit code?
@ofmyslippers · Nov 21, 2026 ↗ - Concern
Do 42 tools sit in the agent's context on every turn, even while fixing a CSS bug? Load it per project or globally?
@VibeCoderOfek · Nov 21, 2026 ↗
What it does
ffmpeg-skill is an Agent Skill plus an optional MCP server. It teaches your coding agent a fixed routine: measure the video first, edit it with one of 42 small tools built on FFmpeg, then measure the result before saying it is done. The tools cut and join clips, remove silences, add captions (including word-by-word karaoke), reframe 16:9 to 9:16, clean up and level audio, and export for TikTok, Reels, Shorts, YouTube, X and more. Everything runs on your own computer with your own FFmpeg: no upload, no account and no API key.
Say what you want, such as "keep 0:45 to 1:20 and make a 60-second Reel", and the agent picks the tools and runs them
Every job starts by measuring the file and ends by measuring the result; look.py renders a frame or contact sheet for the agent to look at when the picture changed
Templates for TikTok, Reels, Shorts, YouTube, X, LinkedIn, Facebook and podcasts set the frame, caption position and loudness for that app
Word-by-word captions, silence removal, voice clean-up, music ducking and loudness levelling to -14 LUFS
It uses your own FFmpeg. No cloud, no account, no API key and no telemetry
A local HTML page shows each step and the result in a phone frame; click a clip or caption to write your next instruction
What people built with it
"Take the long pause out": a 7.85-second clip came out at 5.9 seconds. The room noise sat near -32 dBFS, so the silence threshold had to be raised to -30 dB.
Phone clips shot by the maker: a shaky handheld shot stabilised, a dark night shot brightened and denoised, and 60 fps fireworks slowed 2.5 times. Nine of the twelve showcase clips are AI-generated with Google Veo, and the page says so.
Tried it on their own video: the smart cut hit exactly 60.0 s, the 9:16 blur fit gave 1080x1920 without cropping, and loudness landed at -14.0 LUFS / -1.0 dBTP. The Shorts check passed everything except subtitles, which they skipped.
The maker gave the 42 tools to agents that had not read the docs: only 27 of 126 first calls worked, mostly because option names differed between tools. Versions 4.1 to 4.3 added 'did you mean' answers and common spellings (in Japanese).
How to use it
Check Python and Node.js
python3 --version node --versionYou need Python 3.10 or newer and Node 16 or newer. On Windows with a python.org install, type
pythoninstead ofpython3.Install it in one step
This installs the skill for every agent it finds (Claude Code, Cursor, Codex), installs FFmpeg if it is missing, and then checks your machine:
npx ffmpeg-skill setupIt prints the brew, winget or apt command before running it. Add
--no-ffmpegif you want to install FFmpeg yourself.Check what works
npx ffmpeg-skill doctorIf the overall
okis false, most tools may still run: one missing FFmpeg filter turns it false.doctor --jsonshows the answer per tool.Ask your agent
Open Claude Code, Cursor or Codex in the folder with your video and ask in plain words:
PromptTake interview.mp4, keep 0:45–1:20 and 5:00–5:25, and make it a 60-second Reel.This prompt is from the README. The agent measures the file, cuts, reframes to 9:16, exports and checks the result, then reports the length, size and frame rate it measured.
Look before you post
Ask for the review page to see every step and the result in a phone frame:
Promptshow me the review pageIt writes one local HTML file and uploads nothing. Click a clip or caption, write what should change, and paste the instruction back to your agent.
- FFmpeg 6.1 or newer; setup can install it with brew, winget or apt (README Quick start)
- Python 3.10 or newer, standard library only (README Requirements)
- Node.js 16 or newer, only for the npx installer (README Requirements)
- A coding agent: Claude Code, Cursor, Codex or Gemini CLI, or any MCP client (README Install)
- Optional: a local speech engine such as faster-whisper for captions from speech (README Quick start)
- No API key and no telemetry: the tools send no usage data and upload nothing (PRIVACY.md)
Install for one agent, or as a plugin
With npx:
npx ffmpeg-skill # Claude Code
npx ffmpeg-skill --cursor # Cursor
npx ffmpeg-skill --codex # Codex
npx ffmpeg-skill --all # all threeAs a plugin or extension:
/plugin install ffmpeg-skill --marketplace kajisho5/ffmpeg-skill
gemini extensions install https://github.com/kajisho5/ffmpeg-skillCodex plugin: codex plugin marketplace add kajisho5/ffmpeg-skill --sparse .claude-plugin, then codex plugin add ffmpeg-skill@ffmpeg-skill. Re-run npx ffmpeg-skill to update; copies are not updated automatically.
Run it as an MCP server
By default the server lists only the 12 core tools (about 18,000 tokens); FFMPEG_SKILL_MCP_FULL=1 lists all 42 (about 48,000). For a small set, set FFMPEG_SKILL_MCP_TOOLS to probe,cut,fit,export,check (about 6,000).
{"mcpServers": {"ffmpeg-skill": {"command": "python3", "args": ["/Users/you/.claude/skills/ffmpeg-skill/mcp/server.py"]}}}One command per platform
Templates fill the frame, caption position, loudness and export preset for tiktok, reels, shorts, youtube, x, linkedin, facebook, podcast and audiogram. --template all renders the seven video platforms from one edit; --dry-run shows every command first.
S=~/.claude/skills/ffmpeg-skill/scripts
python3 $S/render.py talk.mp4 --template tiktok --cues cues.txtUse the tools from any shell
Each tool returns structured JSON with a probe of the output, so you can script it without an agent.
python3 $S/probe.py input.mp4 --compact
python3 $S/fit.py input.mp4 --duration 60 --method trim --aspect 9:16 --dry-run
python3 $S/export.py input.mp4 --preset reels --jsonCaptions from speech
caption.py --transcribe needs one local speech engine. The first run downloads the model; the audio stays on your machine. Name the language (for example --language en) or it refuses instead of guessing.
pip install faster-whisperLong videos
Each FFmpeg call has a 1,800-second limit to catch hangs. A full re-encode of an hour of 1080p can pass it: use --timeout 0, a larger value, or --fast. For long chains, put the whole edit in one render.py project file.
Gotchas
- The 12 core tools are stable for 4.x; the other 30 are beta and may rename an option after one release of notice.
- There is no face or subject tracking: a vertical crop is centred unless you give
--crop-xand--crop-y, so check the framing. look.pyonly renders an image; the checking is done by your agent's own vision, not by the tool.- Outputs are never overwritten silently. Pass
--overwritewhen you mean to replace a file. - The README says the full real-footage test set has not been run on Windows yet; it was measured on Linux and macOS.
Before you start
- The lead on X is modest: 498 original posts, ahead of last30days-skill (421) and Claude-BugHunter (337). Many smaller posts come from repo-roundup accounts, and the biggest like count (1,963) is on a list of 14 repos, not this one alone.
- It moves very fast: 30 releases between Nov 20 and Nov 22. Only the 12 core tools promise stable options; the other 30 are beta.
- The README says the full real-footage test set has not been run on Windows yet.
- Most results on the project page (showcase clips, evals) are the maker's own tests; one independent first-hand test was posted on X.
- There is no face or subject tracking, so check vertical crops before you post.
- npm downloads (17,832 last week) include npx runs and CI jobs, so they are not a count of users.
FAQ
What is ffmpeg-skill?
ffmpeg-skill is an Agent Skill plus an optional MCP server. It teaches your coding agent a fixed routine: measure the video first, edit it with one of 42 small tools built on FFmpeg, then measure the result before saying it is done. The tools cut and join clips, remove silences, add captions (including word-by-word karaoke), reframe 16:9 to 9:16, clean up and level audio, and export for TikTok, Reels, Shorts, YouTube, X and more. Everything runs on your own computer with your own FFmpeg: no upload, no account and no API key.
Is it free?
Yes. The code is MIT. It needs no account and no API key, and it uses the FFmpeg on your computer. Your coding agent's own model costs still apply. FFmpeg has its own license; builds with libx264 use GPL terms.
Which coding agents does it work with?
The README gives install steps for Claude Code, Cursor, OpenAI Codex and Gemini CLI, and an MCP server for any MCP client. Any agent that reads SKILL.md can use it.
Does it upload my videos?
No. Per its privacy note, the tools send no telemetry and upload nothing; your files are read and written on your machine. The one exception is a speech engine you install for captions, which may download its model on first run.
Does it actually look at the result, or just trust FFmpeg?
People asked this under the launch posts. Each tool measures the written file (length, size, frame rate, loudness) and fails a step it cannot measure. When the picture changes, look.py renders a frame or contact sheet and the agent looks at it with its own vision. The tool itself does not judge the picture (README, checked 2026-11-23).
Will 42 tools fill my agent's context?
Also a common question. As a skill, the agent reads one SKILL.md and calls tools as needed. Over MCP the server lists only the 12 core tools by default (about 18,000 tokens), and you can list just five with FFMPEG_SKILL_MCP_TOOLS (about 6,000). All 42 is about 48,000 tokens (README).
Can it replace a video editor?
For cuts, captions, reframing, sound levels and exports, yes, by asking in words. It does not track faces or subjects, so vertical crops need a check, and posters on X note that complex effects still need a traditional editor.
How is the Repo of the Week picked?
We feature the GitHub repo most talked about on X that week in AI and vibe coding, counted by distinct authors and engagement, and cross-checked against GitHub Trending. Stats come from the GitHub API and are dated. ffmpeg-skill was checked 2026-11-23.
All weeks
Every pick stays here with its own page. Newest on top.
- Week 48, 2026This week
ffmpeg-skill: let your coding agent edit your videos
A free add-on that turns Claude Code, Cursor or Codex into a video editor that works on your own computer.
- Week 47, 2026Last week
Modern Web Guidance: stop your coding agent writing old web code
A free add-on from the browser makers that teaches your AI coding agent today's web features, so it stops writing heavy old-style code.
- Week 46, 20262 weeks ago
Auto Ontology: teach your AI agent what your company data means
A free NVIDIA tool that teaches AI agents what your company data means, so they stop grabbing the wrong revenue column.
- Week 45, 20263 weeks ago
T3 Code: run your coding agents from one app, on any device
A free app that runs Claude Code, Codex and other coding agents on your computer and lets you steer them from your phone, browser or desktop.
- Week 44, 20264 weeks ago
Security Audit Skill: Cloudflare's security audit for your coding agent
A free add-on that makes your AI coding agent check your code for security holes, with a second agent double-checking every finding.
- Week 43, 20265 weeks ago
HyperFrames: write HTML, render video
A free tool that lets your AI coding agent make real videos by writing a web page.
- Week 42, 20266 weeks ago
REA: Reverse Engineer Anything
A free tool that lets your AI coding agent take apart any app to see how it works.