Ffmpeg Skill

Edits your video and audio files on your own computer: cutting, captions, vertical reframing, pause removal, loudness and platform-ready exports.

Video & Audiovideo editingffmpegcaptionsaudioby kajisho54.5kGitHub

What it is

FFmpeg Skill is for creators, podcasters and anyone with footage to prepare who would rather describe an edit than learn editing software. FFmpeg is a free, widely used program for processing video and audio from the command line; this skill gives the agent 42 ready-made Python tools built on it, so a request like 'cut 1:20 to 2:05 and make it a Reel' becomes precise commands. Everything runs on your machine, with no cloud service, account or API key.

The skill holds the agent to a fixed workflow. It first measures the file instead of guessing, prefers lossless edits that avoid re-encoding, previews the plan in a dry run, and chains steps in a set order from color through cutting, captions and audio to export. Afterwards it checks the result against the target platform's limits, verifies the numbers, makes a sheet of sample frames to look at the picture, and never overwrites your originals. It knows common traps, such as washed-out iPhone HDR footage or captions hidden under TikTok's buttons.

You get the edited file plus a short report of its length, size, frame rate, loudness and checks, written in your language. The skill carries out edits but leaves the judgment to you: which cut is best, what is interesting and what looks good. It never rewrites caption text to make it fit. Captions made from speech need a separate local speech engine such as faster-whisper; without one, you supply the subtitle file.

What it can do

  • Cuts, trims, joins with crossfades, speeds up, slows down, reverses, loops and freezes clips.
  • Reframes video to 9:16, square or other shapes by padding, cropping or a blurred background.
  • Removes pauses and, given word timings, filler words like um and uh.
  • Burns in or attaches captions from SRT files, including word-by-word karaoke styles and optional local transcription.
  • Adds logos, titles, lower thirds, picture-in-picture and green-screen compositing.
  • Cleans up audio, lowers music under speech, syncs a separate mic recording and normalizes loudness.
  • Exports presets for YouTube, Reels, TikTok, Shorts, X and more, then checks the file against platform limits.

When to use it

  • You recorded a 20-minute talk and want a 60-second vertical clip with captions for Instagram Reels.
  • Your podcast episode has long pauses and uneven volume and needs to meet podcast loudness levels.
  • You filmed with a camera and a separate lapel mic and need the sound lined up with the picture.
  • Your iPhone HDR footage looks washed out after uploading, and you want a correct version for YouTube.
  • You want an audiogram video for a podcast episode using your cover image.

How it works

  1. 1It probes the file to read its real length, resolution, frame rate and audio levels.
  2. 2It matches your request to one of the skill's 42 Python scripts and asks only about choices that change the result, such as where the video will be posted.
  3. 3It runs the plan as a dry run, then performs the edit with FFmpeg, chaining steps or using a project file for bigger jobs.
  4. 4It checks the output against the platform you named and confirms the measured numbers match the request.
  5. 5After any picture change it makes a sheet of sample frames, looks at it, and reports what was done.

Try asking

“Cut interview.mp4 from 1:20 to 2:05 and make it a 9:16 Reel with captions.”
“Remove the long pauses from my podcast and normalize it to podcast loudness.”
“Add our logo to the top-right corner of this video.”
“Export this for YouTube and check that it's OK to upload.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add kajisho5/ffmpeg-skill
pnpm
pnpm dlx skills add kajisho5/ffmpeg-skill

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add kajisho5/ffmpeg-skill
/plugin install ffmpeg-skill@ffmpeg-skill

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the ffmpeg-skill folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/kajisho5/ffmpeg-skill.git ~/.claude/skills/ffmpeg-skill

Then just ask in plain language, for example: “Cut interview.mp4 from 1:20 to 2:05 and make it a 9:16 Reel with captions.”