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.
npx agentmods add skills/atomicbot-ai/atomic-agent/imagemagicknpx skills add AtomicBot-ai/atomic-agent --skill imagemagickgit clone --depth 1 https://github.com/AtomicBot-ai/atomic-agentWrote 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.
[](https://agentmods.dev/skills/atomicbot-ai/atomic-agent/imagemagick)<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>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.
| Model | Per session | Once 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 |
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.
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 usesconvert; if onlyconvertexists, substitute it formagickin 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→ tryconvert --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.describeinstead. - Video frames / animation encoding — use the
ffmpegskill. - Multi-page PDF assembly from images — use the
pdfskill (magickcan make a PDF but page-level control lives inpdf).
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"] |
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.
- 4d ago First seen · 87 lines · 41 tokens per session scan A 28f261640e32
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.
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.…
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.
tiktok-video
一句话需求 → 成品竖屏短视频:写分镜、自动搜免费素材、TTS 配音、逐字卡拉OK字幕、BGM、ffmpeg 合成 1080x1920 MP4(零 API key 可用).
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.
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…
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.