Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

ck:media-processing

FreeRuns bundled scriptsNot checked

Process media with FFmpeg (video/audio), ImageMagick (images), RMBG (AI background removal). Use for encoding, format conversion, filters, thumbnails, batch…

binjuhorby binjuhor★ 108 GitHub stars

About this skill

Media Processing Skill

Process video, audio, and images using FFmpeg, ImageMagick, and RMBG CLI tools.

IMPORTANT: Invoke "/ck:project-organization" skill to organize the outputs.

Tool Selection

Task Tool Reason
Video encoding/conversion FFmpeg Native codec support, streaming
Audio extraction/conversion FFmpeg Direct stream manipulation
Image resize/effects ImageMagick Optimized for still images
Background removal RMBG AI-powered, local processing
Batch images ImageMagick mogrify for in-place edits
Video thumbnails FFmpeg Frame extraction built-in
GIF creation FFmpeg/ImageMagick FFmpeg for video, ImageMagick for images

Installation

# macOS
brew install ffmpeg imagemagick
npm install -g rmbg-cli

# Ubuntu/Debian
sudo apt-get install ffmpeg imagemagick
npm install -g rmbg-cli

# Verify
ffmpeg -version && magick -version && rmbg --version

Essential Commands

# Video: Convert/re-encode
ffmpeg -i input.mkv -c copy output.mp4
ffmpeg -i input.avi -c:v libx264 -crf 22 -c:a aac output.mp4

# Video: Extract audio
ffmpeg -i video.mp4 -vn -c:a copy audio.m4a

# Image: Convert/resize
magick input.png output.jpg
magick input.jpg -resize 800x600 output.jpg

# Image: Batch resize
mogrify -resize 800x -quality 85 *.jpg

# Background removal
rmbg input.jpg                          # Basic (modnet)
rmbg input.jpg -m briaai -o output.png  # High quality
rmbg input.jpg -m u2netp -o output.png  # Fast

Key Parameters

FFmpeg:

  • -c:v libx264 - H.264 codec
  • -crf 22 - Quality (0-51, lower=better)
  • -preset slow - Speed/compression balance
  • -c:a aac - Audio codec

ImageMagick:

  • 800x600 - Fit within (maintains aspect)
  • 800x600^ - Fill (may crop)
  • -quality 85 - JPEG quality
  • -strip - Remove metadata

RMBG:

  • -m briaai - High quality model
  • -m u2netp - Fast model
  • -r 4096 - Max resolution

References

Detailed guides in references/:

  • ffmpeg-encoding.md - Codecs, quality, hardware acceleration
  • ffmpeg-streaming.md - HLS/DASH, live streaming
  • ffmpeg-filters.md - Filters, complex filtergraphs
  • imagemagick-editing.md - Effects, transformations
  • imagemagick-batch.md - Batch processing, parallel ops
  • rmbg-background-removal.md - AI models, CLI usage
  • common-workflows.md - Video optimization, responsive images, GIF creation
  • troubleshooting.md - Error fixes, performance tips
  • format-compatibility.md - Format support, codec recommendations
Full SKILL.md on GitHub

Install ck:media-processing in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/common-workflows.mdreferences/ffmpeg-encoding.mdreferences/ffmpeg-filters.mdreferences/ffmpeg-streaming.mdreferences/format-compatibility.mdreferences/imagemagick-batch.mdreferences/imagemagick-editing.mdreferences/rmbg-background-removal.mdreferences/troubleshooting.mdscripts/README.mdscripts/batch-remove-background.shscripts/batch_resize.pyscripts/media_convert.pyscripts/remove-background.shscripts/remove-bg-node.jsscripts/requirements.txtscripts/video_optimize.py

FAQ

What does the ck:media-processing skill do?

Process media with FFmpeg (video/audio), ImageMagick (images), RMBG (AI background removal). Use for encoding, format conversion, filters, thumbnails, batch processing, HLS/DASH streaming.

How do I install the ck:media-processing skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the ck:media-processing skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare ck:media-processing with