From maxgent
Process audio and video files with ffmpeg — trim, merge, extract audio, convert formats, compress, and more.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maxgent:media-processingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Process audio and video files using ffmpeg. Claude already knows ffmpeg well — this skill only defines the interaction flow.
Process audio and video files using ffmpeg. Claude already knows ffmpeg well — this skill only defines the interaction flow.
When the user wants to process audio/video files: $ARGUMENTS
On first interaction, use AskUserQuestion:
If the user uses technical terms (CRF, codec, bitrate, etc.) in simple mode, automatically switch to pro mode.
Run ffprobe to inspect each input file:
ffprobe -v error -show_entries format=duration,size,bit_rate -show_entries stream=codec_name,codec_type,width,height,r_frame_rate,sample_rate,channels,bit_rate -of json "$INPUT_FILE"
Simple mode: show duration, resolution, file size. Pro mode: show full codec, bitrate, sample rate, and other technical details.
You MUST use AskUserQuestion to confirm key parameters before running any ffmpeg command. Only ask questions relevant to the operation.
Trim example:
Merge example:
Extract audio example:
When merging multiple files, you must:
Run ffprobe on the output file and report:
Simple mode:
Done!
- Duration: 2m 30s
- File size: 45 MB (60% smaller than original)
- Saved to: /path/to/output.mp4
Pro mode:
Done!
- Output: 1920x1080, H.264 CRF 23, AAC 128kbps
- Duration: 2:30 | Size: 45.2 MB (was 112 MB, -60%)
- Path: /path/to/output.mp4
- Command: ffmpeg -ss 00:01:30 -to 00:04:00 -i input.mp4 ...
_trimmed, _merged)npx claudepluginhub maxgent-ai/maxgent-plugin --plugin maxgentCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.