Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

ImageMagick

$ magick Foundation Med Risk
ImageMagick Studio LLC · AI & Media · ImageMagick License (Apache-2.0-like) · macos / linux / windows

ImageMagick v7 (magick) resizes, crops, composites, converts between 200+ raster/vector formats, and inspects dimensions/EXIF via magick identify. Agents can use identify -format for compact structured output and watch security policy.xml limits on untrusted inputs.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install imagemagick
CLI vs MCP Decision CLI Only

Local batch image resizing, format conversion, and magick identify checks run cleanly in shell without MCP.

Agent-Readiness Checklist

— JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Non-interactive and deterministic with magick identify -format, though lacks native JSON output (other than experimental json: coder).

  • Non-interactive; magick identify -format supports custom field formatting
Trust & Safety 20 / 25

Writes output files directly (and mogrify overwrites in-place); complex coder delegates (SVG/PDF/MVG) historically require policy.xml hardening on untrusted inputs.

  • Local writes (mogrify mutates in-place); policy.xml governs risky decoders
Setup & Portability 14 / 15

Widely packaged on macOS (brew), Linux, and Windows, though v6 (convert/identify) vs v7 (magick) binary naming differs on older distros.

  • Cross-platform binary via Homebrew and OS package managers
Utility & Efficiency 13 / 15

Massive format coverage (PNG, WebP, AVIF, TIFF, HEIC) for resizing, thumbnails, and compositing.

  • Supports 200+ image formats and rich geometry operations
Maintenance & Lineage 8 / 10

Long-standing ImageMagick Studio LLC project.

  • Official ImageMagick/ImageMagick repository
Docs & Verifiability 7 / 10

Extensive docs, though legacy v6 vs v7 syntax differences and escaping (\>) trip up scripts.

  • Official CLI docs at imagemagick.org

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates on local image files.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, ImageMagick License open-source C binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ImageMagick Agent Rules
- Use `magick` (v7) rather than legacy `convert` when available, and check dimensions first with `magick identify` before resizing huge images.
- Avoid running `mogrify` in-place without backups—write to a new output filename with `magick input out`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect image dimensions and format without modifying files
magick identify -format '%m %wx%h %b\n' image.png

Prints image format, width/height, and byte size cleanly via -format.

Controlled Writes & Previews

Resize an image to WebP thumbnail
magick input.png -resize 1200x1200\> -quality 85 thumb.webp

Downscales input.png only if larger than 1200px (>) and writes thumb.webp.

Strengths for Agents

  • + Supports 200+ image formats including WebP, AVIF, and HEIC.
  • + magick identify -format checks dimensions and color spaces quickly without touching files.

Caveats & Pitfalls

  • ! Older Linux distros ship ImageMagick v6 (convert / identify) instead of v7 magick.
  • ! mogrify overwrites images in place; prefer explicit magick src dst.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI