processing-images

processing-images is a skill for Claude Code from oaustegard/claude-skills. It costs 180 tokens per session (2,089 once invoked), scanned A, original, MIT.

A guide to choosing command-line tools for editing, converting, resizing, optimizing, compositing, and inspecting images. It covers tools such as ImageMagick, ffmpeg, and Pillow.

In plain words
What is it for?
Use it for format conversion, batch processing, resizing, cropping, overlays, animations, color changes, and image metadata inspection.
Why use it?
It helps you select an appropriate existing tool instead of writing unnecessary image-processing code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the media-processing plugin — 6 skills shipped together

Good fit Use it for format conversion, batch processing, resizing, cropping, overlays, animations, color changes, and image metadata inspection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaustegard/claude-skills/processing-images
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oaustegard/claude-skills --skill processing-images
Clone the repo
git clone --depth 1 https://github.com/oaustegard/claude-skills

Made for: Claude Code.

Or install media-processing, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for processing-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/processing-images/github.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/processing-images)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/processing-images"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/processing-images/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for processing-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/processing-images"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/processing-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00180 $0.02089
Opus 5 $0.00090 $0.01045
Sonnet 5 $0.00036 $0.00418
Haiku 4.5 $0.00018 $0.00209

Measured 9d ago against content hash 8d87b2d9013e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

processing-images scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/media-processing/skills/processing-images/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Processing Tools

This container has a rich image processing toolkit. Before writing any image code, scan this inventory to pick the best tool for the job — don't default to Pillow for everything.

Tool Selection by Task

Format Conversion & Batch Operations

ImageMagick convert is the default choice. Handles 260+ formats, single command, no code needed.

convert input.png output.webp
convert input.png -quality 85 output.jpg
mogrify -format webp *.png          # batch in-place

For animated formats (GIF↔WebP↔APNG, video↔frames), prefer ffmpeg.

Resize, Crop, Thumbnails

ImageMagick for CLI one-liners. Pillow when already in Python pipeline.

convert input.jpg -resize 800x600 output.jpg          # fit within box
convert input.jpg -resize 800x600^ -gravity center -extent 800x600 output.jpg  # fill+crop
convert input.jpg -thumbnail 200x200^ -gravity center -extent 200x200 thumb.jpg

IM supports 30+ resize filters: -filter Lanczos (sharp downscale), -filter Mitchell (balanced), -filter Point (nearest-neighbor/pixel art).

Compositing & Overlays

ImageMagick composite or convert with -composite. Supports all Porter-Duff modes.

composite -gravity southeast watermark.png photo.jpg output.jpg
convert base.png overlay.png -gravity center -composite result.png

For complex multi-layer work or programmatic positioning, use Pillow (Image.paste, Image.alpha_composite).

Montages, Collages, Contact Sheets

ImageMagick montage — purpose-built for grid layouts.

montage *.jpg -geometry 200x200+5+5 -tile 4x3 sheet.jpg
montage *.png -label '%f' -geometry +4+4 catalog.png

Animated GIFs & Frame Sequences

ImageMagick for simple GIF assembly. ffmpeg for anything involving timing control, video sources, or optimization.

convert -delay 10 -loop 0 frame_*.png animation.gif        # IM
ffmpeg -framerate 10 -i frame_%03d.png -vf palettegen palette.png && \
ffmpeg -framerate 10 -i frame_%03d.png -i palette.png -lavfi paletteuse output.gif  # optimized

imageio is convenient for frame-sequence GIFs from Python arrays.

Read the full file on GitHub · 160 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 160 lines · 180 tokens per session scan A 8d87b2d9013e

Subscribe to this mod's changes

processing-images is a skill published in the GitHub repository oaustegard/claude-skills (148 stars, last pushed yesterday), licensed MIT. It adds 180 tokens to every session and 2,089 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

superdesign

Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models. Use whenever the user wants to design a page, feature, flow, slide deck, or brand-new product; improve or reproduce existing UI; compare design results across top models; explore visual variants…

superdesigndev/superdesign-skill · 115 tokens

Linear

Managing Linear issues, projects, and teams. Use when working with Linear tasks, creating issues, updating status, querying projects, or managing team workflows.

wrsmith108/linear-claude-skill · 32 tokens

chanlun-engine-skill

A Chinese-language stock-analysis skill based on Chan theory, a method for interpreting price-chart structures such as turning points and trading ranges.

adsorgcn/chanlun-engine-skill · 128 tokens

youtube-summary

Summarize a YouTube video into structured notes — TL;DR, key takeaways, chapter-by-chapter breakdown, and reference links. Use when the user shares a YouTube URL (or invokes /youtube-summary ) and wants a summary, takeaways, transcript notes, or a write-up of a talk, lecture, or tutorial. Fetches the transcript and…

ParthGanatra/agent-skills · 137 tokens

plangate

Use for any non-trivial task with 2+ open decisions/tradeoffs OR multiple implementation steps — instead of deliberating one question at a time in chat, write a structured plan to a file and let the user review it inline in vim with > Q: / > A: blockquote markers, then revise until agreed before touching any code.…

ParthGanatra/agent-skills · 131 tokens

coinmarketcap

Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current…

Vo1ganin/crypto-claude-skills · 183 tokens