imagemagick-skill
Give your coding agent an image editor that never overwrites the original.
Local ImageMagick · No cloud · No API keys · Python standard library
Claude Code · Cursor · Codex · MCP
npx imagemagick-skill

preset.py --preset og → strip.py → check.py | 
optimize.py --max-kb 200 |

compare.py before.png after.png -o heatmap.png | 
icons.py logo.png -o icons |
Every frame is the real output of the command under it, and every number on a frame is read from that command's --json result. The commands and their JSON results → The inputs are drawn by ImageMagick in python3 demos/build.py, so you can rebuild every frame yourself. No photographs, people or third-party artwork are used.
imagemagick-skill is an Agent Skill for Claude Code, Cursor, Codex and any agent that reads SKILL.md. It gives the agent a fixed workflow: probe, then edit into a new file, then check, then look. It ships 21 tools that do the work with ImageMagick, and with macOS sips where no ImageMagick is installed. They are aimed at the images that end up in a repository:
- iPhone HEIC photos
- screenshots
- Open Graph and social images
- README assets
- favicons
Every tool is also an MCP tool, and the whole set is described by a machine-readable contract.
If magick (or macOS sips) and python3 are on your PATH, it works offline, on images you would rather not upload.
Contents
Why · Quick start · How it works · Design principles · Tools · Built for agents · ImageMagick compatibility · Install · Scope · Development · Docs · kajisho5 media skills
Why
An agent that "knows ImageMagick" still guesses. It runs mogrify and replaces the only copy of a photo. It resizes to 1200x630 with ! and squashes the picture. It publishes an iPhone photo with the home address still in its EXIF. It says "done" without opening the file it wrote. This skill takes the guessing out: