anbeime/media-processor
提供基于 FFmpeg 和 ImageMagick 的多媒体处理能力,支持视频和图像的格式转换、分辨率调整、压缩等操作
npx skills add https://github.com/anbeime/skill --skill media-processor
apt-get update && apt-get install -y ffmpeg imagemagick
scripts/ 中的视频处理脚本scripts/ 中的图像处理脚本scripts/video_convert.pyscripts/video_compress.pyscripts/video_scale.pyscripts/image_convert.pyscripts/image_scale.pyscripts/image_compress.py*.avi、images/*.png)./ 开头)# 将 video.avi 转换为 video.mp4
python scripts/video_convert.py \
--input ./video.avi \
--output ./video.mp4 \
--format mp4
# 将所有 PNG 转换为 JPG
for file in ./images/*.png; do
output="${file%.png}.jpg"
python scripts/image_convert.py \
--input "$file" \
--output "$output" \
--format jpg \
--quality 85
done
# 先缩放再压缩
python scripts/video_scale.py \
--input ./input.mp4 \
--output ./temp.mp4 \
--width 1280 \
--height 720
python scripts/video_compress.py \
--input ./temp.mp4 \
--output ./output.mp4 \
--bitrate 2M
Take anbeime/media-processor from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference apt.
Without those the skill loads but fails at the first command.