Install
$ agentstack add skill-takusaotome-claude-skills-library-imagemagick-expert ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
ImageMagick Expert Skill
Overview
ImageMagickは画像の作成、編集、合成、変換を行うための強力なCLIツールセットです。200以上の画像フォーマットをサポートし、リサイズ、回転、トリミング、色調整、フィルタ適用、アニメーション作成など幅広い画像処理が可能です。
Primary Commands
| Command | Purpose | Example | |---------|---------|---------| | magick | メインコマンド(v7+)、画像変換・処理 | magick input.png output.jpg | | convert | 画像変換・処理(レガシー、v6互換) | convert input.png output.jpg | | identify | 画像情報の取得 | identify -verbose image.png | | mogrify | 画像のインプレース変換 | mogrify -resize 50% *.jpg | | composite | 画像の合成 | composite overlay.png base.png result.png | | montage | 複数画像のモンタージュ作成 | montage *.jpg -tile 3x3 montage.jpg |
When to Use This Skill
- 画像フォーマットの変換(PNG↔JPEG↔WebP↔GIF等)
- 画像のリサイズ、トリミング、回転
- バッチ処理で複数画像を一括変換
- 画像へのエフェクト・フィルタ適用
- アニメーションGIFの作成・編集
- PDF↔画像の相互変換
- 画像情報(サイズ、フォーマット、メタデータ)の取得
- 画像の結合・モンタージュ作成
Workflow
- Identify Requirements - Determine the desired operation (convert, resize, filter, etc.) and output format
- Select Command - Choose appropriate ImageMagick command (
magick,mogrify,identify, etc.) - Build Command - Construct command with options and parameters based on Core Operations examples
- Execute - Run the command via Bash tool
- Verify Output - Check the result using
identifyor visual inspection - Iterate - Adjust parameters if needed based on output quality
For batch operations, use mogrify for in-place edits or shell loops for custom naming patterns.
Prerequisites
# Check installation
magick --version
# macOS (Homebrew)
brew install imagemagick
# Linux (Ubuntu/Debian)
sudo apt-get install imagemagick
# Linux (CentOS/RHEL)
sudo yum install ImageMagick
Core Operations
Format Conversion
# Basic conversion
magick input.png output.jpg
magick input.jpg output.webp
magick input.gif output.png
# With quality setting (JPEG/WebP)
magick input.png -quality 85 output.jpg
magick input.png -quality 90 output.webp
# PNG compression level (0-9)
magick input.jpg -define png:compression-level=9 output.png
# Convert to grayscale
magick input.png -colorspace Gray output.png
# Convert to specific color depth
magick input.png -depth 8 output.png
Image Information
# Basic info (format, dimensions, color depth)
magick identify image.png
# Verbose info (all metadata)
magick identify -verbose image.png
# Specific properties
magick identify -format "%w x %h\n" image.png
magick identify -format "Format: %m\nSize: %wx%h\nDepth: %z-bit\n" image.png
# JSON output
magick identify -format "%[json:*]" image.png
# Batch info
magick identify *.jpg
Resize Operations
# Resize to width (maintain aspect ratio)
magick input.png -resize 800x output.png
# Resize to height (maintain aspect ratio)
magick input.png -resize x600 output.png
# Resize to fit within dimensions (maintain aspect ratio)
magick input.png -resize 800x600 output.png
# Resize to exact dimensions (ignore aspect ratio)
magick input.png -resize 800x600! output.png
# Resize by percentage
magick input.png -resize 50% output.png
# Resize only if larger (shrink only)
magick input.png -resize "800x600>" output.png
# Resize only if smaller (enlarge only)
magick input.png -resize "800x600
Memory Limits
# Set memory limits
magick -limit memory 2GB -limit map 4GB input.png output.png
# Check current limits
magick -list resource
Output
This skill provides conversational guidance and ImageMagick CLI command examples. No files are automatically generated - you execute the suggested commands via the Bash tool to process images according to your requirements.
Resources
Reference Documentation
For detailed information, refer to:
- references/format_conversion.md - Format-specific options and best practices
- references/image_manipulation.md - Advanced manipulation techniques
- references/batch_processing.md - Batch processing patterns and scripts
Scripts
The scripts/ directory is reserved for future automation scripts. Currently, all operations use ImageMagick CLI commands directly.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: takusaotome
- Source: takusaotome/claude-skills-library
- License: MIT
- Homepage: https://takusaotome.github.io/claude-skills-library/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.