Agent skill

Media Processing

by ynulihao in ynulihao/AgentSkillOS

Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects…

MITAuto-check: notesMedia & Creative

Install Media Processing

skills CLI
$ npx skills add ynulihao/AgentSkillOS --skill media-processing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ynulihao/AgentSkillOS media-processing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ynulihao/AgentSkillOS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/data/skill_seeds/media-processing .claude/skills/media-processing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
media-processing
GitHub stars
617
Token cost
~817 tokens
SKILL.md length
170 words
Files
22 (incl. scripts, references)
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects…

  • Converting media formats
  • SKILL.md covers Tool Selection, Installation, Essential Commands and Key Parameters, plus 1 more section
  • Runs Shell, Python and JavaScript scripts from its folder; calls ffmpeg, magick and npm
  • Encoding videos with specific codecs (H.264

What it does

Media Processing is an agent skill from ynulihao/AgentSkillOS. Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and RMBG (AI-powered background removal). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, removing backgrounds from images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests…

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. The skill folder holds 24 other files, including scripts and reference files (for example `references/common-workflows.md`, `references/ffmpeg-encoding.md` and `references/ffmpeg-filters.md`).

It sits in Media & Creative, covering Video production, Data pipelines and ETL and Image editing. It works with FFmpeg. The repository describes itself as: Build your agent from 200,000+ skills via skill RETRIEVAL & ORCHESTRATION. The licence is MIT.

When your agent uses it

  • Converting media formats
  • Encoding videos with specific codecs (H.264
  • Resizing/cropping images
  • Removing backgrounds from images

Example prompts

  • “/media-processing”

Requirements

  • Python 3
  • Node.js
  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit c3cfae1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 8 files in scripts/ (Shell, Python and JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • ffmpeg
    • magick
    • npm
    • brew
    • apt-get

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Media Processing loads about 817 tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 187 tokens; SKILL.md has 170 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~187
When it runs · the whole SKILL.md, loaded when a task matches
~817
With references · SKILL.md plus every file in references/, read only if the agent opens them
~19k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:31
    sudo apt-get install ffmpeg imagemagick

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ynulihao/AgentSkillOS at commit c3cfae1, republished under its MIT licence (© ynulihao). 170 words, ~817 tokens.

Download SKILL.mdSave it as .claude/skills/media-processing/SKILL.md (or your agent's skills folder). This skill also uses 21 other files; get the full folder from GitHub.
name
media-processing
description
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and RMBG (AI-powered background removal). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, removing backgrounds from images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
license
MIT

Media Processing Skill

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

Tool Selection

TaskToolReason
Video encoding/conversionFFmpegNative codec support, streaming
Audio extraction/conversionFFmpegDirect stream manipulation
Image resize/effectsImageMagickOptimized for still images
Background removalRMBGAI-powered, local processing
Batch imagesImageMagickmogrify for in-place edits
Video thumbnailsFFmpegFrame extraction built-in
GIF creationFFmpeg/ImageMagickFFmpeg for video, ImageMagick for images

Installation

bash
# 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

bash
# 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

© ynulihao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 21 other files (scripts, references) in data/skill_seeds/media-processing of ynulihao/AgentSkillOS.

  • SKILL.md
  • references/common-workflows.md
  • references/ffmpeg-encoding.md
  • references/ffmpeg-filters.md
  • references/ffmpeg-streaming.md
  • references/format-compatibility.md
  • references/imagemagick-batch.md
  • references/imagemagick-editing.md
  • references/rmbg-background-removal.md
  • references/troubleshooting.md
  • scripts/README.md
  • scripts/batch-remove-background.sh
  • scripts/batch_resize.py
  • scripts/media_convert.py
  • scripts/remove-background.sh
  • scripts/remove-bg-node.js
  • scripts/requirements.txt
  • scripts/tests/requirements.txt
  • … and 4 more

Open the folder on GitHubat commit c3cfae1

Compare with similar skills

Media Processing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Media Processing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Media Processing this skillynulihao/AgentSkillOS617—~817Automated safety check: NotesMIT
Media Processingnicepkg/ai-workflow285—~2.4kAutomated safety check: NotesMIT
Image To Pnggodot-fun/gai181—~1.1kAutomated safety check: PassMIT
API Medianodetool-ai/nodetool554—~1.9kAutomated safety check: PassAGPL-3.0
Ffmpeg Experttheneoai/awesome-skills183—~2.5kAutomated safety check: PassMIT
Video To 4kgodot-fun/gai181—~1.2kAutomated safety check: PassMIT

Similar skills

  • Media Processing

    nicepkg/ai-workflow

    Video/audio/image processing with FFmpeg and ImageMagick. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~2.4k tokensUpdated 8 mo ago
    Media & CreativeAuto-check: notes
  • Image To Png

    godot-fun/gai

    Converts image files to PNG using FFmpeg while preserving dimensions and alpha.

    181 GitHub stars~1.1k tokensUpdated today
    Media & CreativeAuto-check passed
  • API Media

    nodetool-ai/nodetool

    Call nodetool.media or nodetool.generations from a code action: generate or edit images, video, speech and music with a picked model, transcribe and embed, judge images with a vision model, read a…

    554 GitHub stars~1.9k tokensUpdated today
    Media & CreativeAuto-check passed
  • Ffmpeg Expert

    theneoai/awesome-skills

    Expert FFmpeg command-line user for video/audio processing. An agent skill from theneoai/awesome-skills.

    183 GitHub stars~2.5k tokensUpdated 4 mo ago
    Media & CreativeAuto-check passed
  • Video To 4k

    godot-fun/gai

    Upscales a single low-resolution video to 4K with Video2X (Real-ESRGAN), then encodes to unified 3840×2160 H.265 Main10 40Mbps + AAC 320kbps MP4.

    181 GitHub stars~1.2k tokensUpdated today
    Media & CreativeAuto-check passed
  • Video Understand

    calesthio/OpenMontage

    Understand video content locally using ffmpeg frame extraction and Whisper transcription.

    65k GitHub stars~841 tokensUpdated 4 days ago
    Media & CreativeAuto-check passed

More from ynulihao/AgentSkillOS

All 26 skills in this repo
  • Generate Image

    ynulihao/AgentSkillOS

    Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.

    617 GitHub starsUsed in 10 repos~1.7k tokens
    Auto-check: notes
  • Data Storytelling

    ynulihao/AgentSkillOS

    Transform data into compelling narratives using visualization, context, and persuasive structure.

    617 GitHub starsUsed in 15 repos~2.8k tokens
    Auto-check passed
  • Prompt Engineering Patterns

    ynulihao/AgentSkillOS

    Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.

    617 GitHub starsUsed in 14 repos~1.7k tokens
    Auto-check passed
  • Employment Contract Templates

    ynulihao/AgentSkillOS

    Create employment contracts, offer letters, and HR policy documents following legal best practices.

    617 GitHub starsUsed in 11 repos~4.1k tokens
    Auto-check passed
  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    617 GitHub starsUsed in 10 repos~3.3k tokens
    Auto-check passed
  • Baoyu Xhs Images

    ynulihao/AgentSkillOS

    Xiaohongshu (Little Red Book) infographic series generator with multiple style options.

    617 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about Media Processing

What does Media Processing do?

Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects…. Media Processing is an agent skill from ynulihao/AgentSkillOS. Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects, composition), and RMBG (AI-powered background removal).

When should I use Media Processing?

Media Processing fits situations like: converting media formats; encoding videos with specific codecs (H.264; resizing/cropping images; removing backgrounds from images.

How do I install Media Processing in Claude Code?

Run `npx skills add ynulihao/AgentSkillOS --skill media-processing -a claude-code`. Or copy the skill folder (data/skill_seeds/media-processing in ynulihao/AgentSkillOS) into .claude/skills/media-processing in your project. Claude Code loads it when a task matches its description.

How do I install Media Processing in Codex?

Run `npx skills add ynulihao/AgentSkillOS --skill media-processing -a codex`. Or copy the skill folder (data/skill_seeds/media-processing in ynulihao/AgentSkillOS) into .agents/skills/media-processing in your project. Codex loads it when a task matches its description.

Can I use Media Processing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ynulihao/AgentSkillOS --skill media-processing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/media-processing, .gemini/skills/media-processing, .github/skills/media-processing and .opencode/skills/media-processing in your project.

What does Media Processing need to run?

Going by SKILL.md and its folder, Media Processing needs a shell, Python and JavaScript for the scripts in its folder and the command-line tools its instructions call (ffmpeg, magick, npm, brew and apt-get). Our summary lists: Python 3; Node.js; A Bash shell.

Does Media Processing access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Media Processing safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Media Processing use?

Media Processing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Media Processing use?

About 817 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 18k tokens, read only when the agent opens those files.

What are the alternatives to Media Processing?

Skills that share tags, products or a category with Media Processing: Media Processing (nicepkg/ai-workflow, 285 stars), Image To Png (godot-fun/gai, 181 stars), API Media (nodetool-ai/nodetool, 554 stars) and Ffmpeg Expert (theneoai/awesome-skills, 183 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Media Processing?

ynulihao (a GitHub user) maintains it in ynulihao/AgentSkillOS, which has 617 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on March 7, 2026.

Source: ynulihao/AgentSkillOS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.