A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Edit videos from your terminal with natural language. 18 commands: cut, merge, compress, subtitle, GIF, watermark, speed
Edit videos from your terminal with natural language. Cut, merge, compress, subtitle, GIF, watermark, speed, stabilize — just describe what you want.
Stop memorizing ffmpeg flags. Just say:
"cut the first 30 seconds of this video"
"merge these 3 clips into one"
"extract the audio as mp3"
"make a GIF from 0:15 to 0:20"
"compress this video to under 10MB"
"add subtitles from this SRT file"
"add a watermark in the bottom-right corner"
"slow motion at 0.5x"
"add 2-second fade in and fade out"
Claude Code translates your intent into the right ffmpeg command — or chains multiple commands for complex edits.
18 high-level commands that cover 90% of video editing tasks, plus raw ffmpeg access for the other 10%.
| Command | What it does |
|---|---|
info | Duration, resolution, codecs, file size, bitrate |
cut | Extract a segment by start/end time or duration |
merge | Concatenate multiple videos (stream copy or re-encode) |
extract-audio | Rip audio as MP3, AAC, Opus, WAV, FLAC, OGG |
subtitles | Burn SRT subtitles into the video |
resize | Change resolution (auto-scale with -1) |
gif | High-quality two-pass GIF creation |
thumbnail | Extract a single frame as JPG/PNG |
thumbnails | Extract N evenly-spaced frames |
compress | Reduce file size with CRF quality control |
speed | Speed up or slow down (audio pitch preserved) |
watermark | Add image overlay at any corner or center |
text | Burn text with font size, color, position, timing |
convert | Change container/codec (MP4, WebM, MKV, MOV) |
frames | Extract all frames or every Nth frame |
audio-replace | Swap the audio track |
volume | Adjust audio level (multiplier or dB) |
fade | Add fade in/out (video + audio synced) |
stabilize | Fix shaky footage (two-pass vidstab) |
All commands output JSON for easy parsing and chaining.
# Check ffmpeg
ffmpeg -version
# On Ubuntu/Debian
sudo apt install ffmpeg
# On macOS
brew install ffmpeg
# On Windows
# Download from https://ffmpeg.org/download.html
mkdir -p ~/.claude/commands
# Download the skill
curl -o ~/.claude/commands/ffmpeg.md \
https://raw.githubusercontent.com/MastroMimmo/ffmpeg-skill/main/ffmpeg.md
# Clone the CLI tool
git clone https://github.com/MastroMimmo/ffmpeg-skill.git ~/ffmpeg-skill
Update the script path in ~/.claude/commands/ffmpeg.md:
SCRIPT="~/ffmpeg-skill/scripts/fftools.py"
Just talk naturally in Claude Code:
"show me the info for video.mp4"
"trim from 1:30 to 2:45 and save as clip.mp4"
"make a 3-second GIF from the best part"
"compress this 2GB file, I need it under 100MB"
"replace the audio with this soundtrack.mp3"
python3 fftools.py info input.mp4
{
"file": "input.mp4",
"streams": [
{"type": "video", "codec": "h264", "width": 1920, "height": 1080, "fps": 30.0},
{"type": "audio", "codec": "aac", "sample_rate": "44100", "channels": 2}
],
"format": {
"duration": 125.5,
"duration_human": "02:05.50",
"size_human": "45.2 MB",
"bit_rate": 2880000
}
}
# 1. Extract the best 10 seconds
python3 fftools.py cut input.mp4 clip.mp4 --start 00:01:15 --duration 10
# 2. Compress for sharing
python3 fftools.py compress clip.mp4 clip_small.mp4 --crf 28
# 3. Make a preview GIF
python3 fftools.py gif clip.mp4 preview.gif --fps 12 --width 400
# Burn subtitles
python3 fftools.py subtitles input.mp4 subbed.mp4 --srt captions.srt
# Add logo watermark
python3 fftools.py watermark subbed.mp4 final.mp4 --watermark logo.png --position bottom-right
python3 fftools.py speed input.mp4 slowmo.mp4 --factor 0.5
python3 fftools.py fade slowmo.mp4 final.mp4 --fade-in 2 --fade-out 3
The skill also teaches Claude Code raw ffmpeg for complex operations:
| CRF | Quality | File size | Best for |
|---|---|---|---|
| 18 | Visually lossless | Large | Archival |
| 23 | High | Medium | Default |
| 28 | Good | Small | Sharing |
| 32 | Acceptable | Very small | Social media |
Each +6 roughly halves the file size.
FFmpeg is incredibly powerful but has a brutal CLI interface. The fftools.py wrapper:
--start, --end instead of -ss, -to placement order gotchasBut you're never locked in — the skill also teaches Claude raw ffmpeg for anything the wrapper doesn't cover.
ffmpeg-skill/
├── ffmpeg.md # Skill file (copy to ~/.claude/commands/)
├── scripts/
│ └── fftools.py # CLI wrapper — Python stdlib, zero deps
└── README.md
MIT — see LICENSE.
A Claude Code skill by Hao (駱君昊) that learns your Facebook voice and auto-posts to FB / IG / Threads / X with a 14-day c
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
AI image generation skill for Claude Code -- Creative Director powered by Gemini