imagemagick

imagemagick is a skill for Claude Code, Codex from AtomicBot-ai/atomic-agent. It costs 41 tokens per session (916 once invoked), scanned A, original, MIT.

A workflow for changing still images with ImageMagick, a command-line image-processing program.

In plain words
What is it for?
Resizing, cropping, rotating, converting, compressing, combining, and adding text to image files.
Why use it?
It provides repeatable commands for common image changes while keeping the original file untouched.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/atomicbot-ai/atomic-agent/imagemagick
Any agent
npx skills add AtomicBot-ai/atomic-agent --skill imagemagick
Clone the repo
git clone --depth 1 https://github.com/AtomicBot-ai/atomic-agent

Made for: Claude Code, Codex.

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 imagemagick

README.md
[![agentmods](https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/imagemagick.svg)](https://agentmods.dev/skills/atomicbot-ai/atomic-agent/imagemagick)
Your own site
<a href="https://agentmods.dev/skills/atomicbot-ai/atomic-agent/imagemagick"><img src="https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/imagemagick.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00041 $0.00916
Opus 5 $0.00020 $0.00458
Sonnet 5 $0.00008 $0.00183
Haiku 4.5 $0.00004 $0.00092

Measured 4d ago against content hash 28f261640e32, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

imagemagick 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 4d 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.

starter-skills/imagemagick/SKILL.md · 87 lines

How it starts

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

imagemagick

Transform still images with ImageMagick v7 (magick command). Pairs well with vision.describe — describe an image to decide what to do, then operate on it here. Always write to a new output file.

ImageMagick v7 uses magick in.png out.jpg. Legacy v6 uses convert; if only convert exists, substitute it for magick in the examples below.

Setup health check (run first, every session)

Verify with one solo step:

[{ "tool": "os.shell.run", "args": { "cmd": "magick", "args": ["--version"] } }]

Outcome map:

  • exit 0 + Version: ImageMagick 7… → ready, proceed.
  • command not found: magick → try convert --version (v6); if also missing → enter Setup playbook → "imagemagick missing".

Setup playbook (when prerequisites are missing)

imagemagick missing

Reply (solo reply step):

"ImageMagick is not installed. I can install it: brew install imagemagick. Install it?"

On yes:

[{ "tool": "os.shell.run", "args": { "cmd": "brew", "args": ["install", "imagemagick"] } }]

On Linux: apt-get install imagemagick.

When to use

  • "Resize / crop / rotate this image", "convert PNG to JPG / WebP".
  • "Compress this image", "make a thumbnail", "combine images into a montage".
  • "Add a text caption / watermark to this image".

When NOT to use

  • Understanding image content — use vision.describe instead.
  • Video frames / animation encoding — use the ffmpeg skill.
  • Multi-page PDF assembly from images — use the pdf skill (magick can make a PDF but page-level control lives in pdf).

Common operations

All examples invoke os.shell.run with cmd: "magick". The approval gate surfaces each write.

Goal args
Inspect dimensions/format ["identify", "in.png"]
Convert PNG → JPG ["in.png", "out.jpg"]
Convert → WebP ["in.png", "-quality", "82", "out.webp"]
Resize to 800px wide ["in.jpg", "-resize", "800x", "out.jpg"]
Thumbnail (fit 200x200) ["in.jpg", "-thumbnail", "200x200", "thumb.jpg"]
Crop 300x300 from 10,10 ["in.png", "-crop", "300x300+10+10", "+repage", "crop.png"]
Rotate 90° ["in.jpg", "-rotate", "90", "rot.jpg"]
Compress JPG quality 75 ["in.jpg", "-quality", "75", "small.jpg"]
Montage 2x2 grid ["montage", "a.png", "b.png", "c.png", "d.png", "-tile", "2x2", "-geometry", "+4+4", "grid.png"]
Add caption ["in.jpg", "-pointsize", "36", "-annotate", "+20+40", "Hello", "out.jpg"]

Read the full file on GitHub · 87 lines

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. 4d ago First seen · 87 lines · 41 tokens per session scan A 28f261640e32

Subscribe to this mod's changes

imagemagick is a skill published in the GitHub repository AtomicBot-ai/atomic-agent (2,438 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 916 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

lilbee-mcp

Search and manage the user's local lilbee knowledge base over MCP. Use whenever the user has indexed code, docs, PDFs, or web pages into lilbee and you need cited answers, or whenever they ask you to ingest content, swap models, or tune retrieval against their library. Every fact returned cites file and line.…

tobocop2/lilbee · 95 tokens

lilbee-mcp-wiki

Wiki layer for lilbee. Use only when the user explicitly asks about wiki / concept / entity / synthesis pages, or when lilbeestatus shows a built wiki. Requires the lilbee-mcp skill to be active for the underlying MCP connection.

tobocop2/lilbee · 60 tokens

tiktok-video

一句话需求 → 成品竖屏短视频:写分镜、自动搜免费素材、TTS 配音、逐字卡拉OK字幕、BGM、ffmpeg 合成 1080x1920 MP4(零 API key 可用).

Fangyuan025/Chaty · 59 tokens

harness-init-runner

Initialize a lightweight repo-local Node.js harness (harness/ + .harness/) WITHOUT AIOS dependency. Use ONLY when you need a standalone, portable harness. If AIOS is installed, use aios-long-running-harness instead — it has rex Command hosting, ContextDB integration, and checkpoint recovery.

rexleimo/aios · 70 tokens

run-inferbench-backend

Build, launch, smoke-test and drive the InferBench FastAPI backend (:7777) and its inference-engine orchestration. Use when asked to run, start, launch, boot, smoke-test, benchmark, or drive the inferbench backend / API / engines (llama.cpp, ollama, vLLM, SGLang, TGI), or to verify an engine actually starts and runs a…

JoniMartin27/inferbench · 90 tokens

manage-llm-server

Inspect and control the local LLM server(s) via llama-launcher — list profiles, see what's running, switch models, tail logs. Use when the user wants to know what model is loaded, change models, start/stop or restart the server, or troubleshoot a stuck load.

airiclenz/llama-launcher · 66 tokens