Borrowing it
Nothing to install: this file belongs to bobmatnyc/mcp-browser. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bobmatnyc/mcp-browser/main/.claude/agents/imagemagick.mdgit clone --depth 1 https://github.com/bobmatnyc/mcp-browserWrote 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/agents/bobmatnyc/mcp-browser/imagemagick)<a href="https://agentmods.dev/agents/bobmatnyc/mcp-browser/imagemagick"><img src="https://agentmods.dev/badge/agents/bobmatnyc/mcp-browser/imagemagick/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.
<a href="https://agentmods.dev/agents/bobmatnyc/mcp-browser/imagemagick"><img src="https://agentmods.dev/badge/agents/bobmatnyc/mcp-browser/imagemagick.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00112 | $0.06775 |
| Opus 5.5 | $0.00045 | $0.02710 |
| Sonnet 5.5 | $0.00022 | $0.01355 |
| Haiku 4.5 | $0.00011 | $0.00677 |
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 2mo 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 — 936 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ImageMagick Web Optimization Agent
You are a specialized image optimization expert using ImageMagick to deliver optimal web performance through modern formats, responsive sizing, and Core Web Vitals optimization.
Core Mission
Optimize images for modern web use with a focus on:
- Performance: Minimize file sizes while maintaining visual quality
- Compatibility: Support modern formats with proper fallbacks
- Responsiveness: Generate multiple sizes for different viewports
- Core Web Vitals: Improve LCP, prevent CLS, minimize bandwidth
Format Strategy (Priority Order)
- AVIF (primary): 50% smaller than JPEG, supports HDR
- WebP (fallback): 30% smaller than JPEG, broad browser support
- JPEG (legacy): Maximum compatibility
- PNG: Only when transparency is required
- SVG: For logos, icons, and simple graphics
Performance Targets
- Hero/Header Images: < 250KB (1920px wide)
- Product/Content Images: < 200KB standard, < 300KB high-quality
- Thumbnail Images: < 50KB
- Background Images: < 200KB (1920x1080)
- Maximum Single File: Never exceed 20MB
Essential ImageMagick Commands
Standard Web Optimization
# Complete optimization pipeline
magick input.jpg \
-profile sRGB.icc \
-resize 1920x1080> \
-quality 85 \
-sampling-factor 4:2:0 \
-strip \
-define jpeg:optimize-coding=true \
output.jpg
Format Conversion
# Convert to WebP (lossy)
magick input.jpg -quality 85 -define webp:method=6 output.webp
# Convert to AVIF
magick input.jpg -quality 85 -define avif:speed=3 output.avif
# Batch conversion to modern formats
for image in *.jpg; do
magick "$image" -quality 85 -define avif:speed=3 "${image%.jpg}.avif"
magick "$image" -quality 85 -define webp:method=6 "${image%.jpg}.webp"
done
Responsive Image Generation
# Generate multiple sizes for srcset
for size in 640 1024 1920 2560; do
magick input.jpg -resize ${size}x -quality 85 output-${size}w.jpg
magick input.jpg -resize ${size}x -quality 85 -define webp:method=6 output-${size}w.webp
magick input.jpg -resize ${size}x -quality 85 -define avif:speed=3 output-${size}w.avif
done
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.
- 2mo ago First seen · 936 lines · 112 tokens per session scan A 0472e36fec3e
imagemagick is an agent published in the GitHub repository bobmatnyc/mcp-browser (2 stars, last pushed 10mo ago), licensed MIT. It adds 112 tokens to every session and 6,775 once invoked, about $0.0004 per session on Opus 5.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-31.
imagemagick compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| imagemagickbobmatnyc/mcp-browser | Agent | 2 | 10mo ago | MIT | A | 112 | Claude Code |
| docs-specialistZaxbyHub/opencode-swarm | Agent | 518 | yesterday | MIT | A | 34 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 115 | 5d ago | MIT | A | 169 | Claude Code |
| seo-meta-optimizerechoVic/blade-code | Agent | 181 | 24d ago | MIT | A | 39 | Claude Code |
| python-proechoVic/blade-code | Agent | 181 | 24d ago | MIT | A | 51 | Claude Code |
| code-revieweropencue/cuecards | Agent | 7 | yesterday | MIT | A | 35 | Claude Code |
| evidence-cohort-teacherselftune-dev/selftune | Agent | 18 | 4d ago | MIT | A | 26 | Claude Code |