drpedapati/sciclaw/imagemagick
Claude Code and agent skill by drpedapati/sciclaw
- community
Checking that the SKILL.md file is still in the repository.
Use this skill whenever scientific image assets need deterministic preprocessing (resize, crop, convert, DPI normalization, montage/contact sheets) using ImageMagick 7 `magick`.
Install
npx vskill@latest install drpedapati/sciclaw/imagemagickSKILL.md
ImageMagick Skill
Use this skill for reproducible image preparation in manuscript and presentation workflows.
Primary CLI: magick (ImageMagick 7)
When to Use
Use this skill when a task involves:
- converting image formats (
png,jpg,tiff,webp,pdfpages to images) - resizing or cropping figures for publication constraints
- setting or normalizing DPI / pixel density
- trimming whitespace around plots/diagrams
- generating contact sheets / montages for quick review
- applying deterministic preprocessing before OCR or document export
Core Rules
- Always write to a new output path; do not overwrite originals unless explicitly requested.
- Prefer deterministic commands with explicit size, density, and quality values.
- Log command and output artifact path in the manuscript/project notes when results support claims.
- Standardize on
magickcommand syntax (not legacyconvert) for portability in sciClaw.
Quick Recipes
1) Resize to max width while preserving aspect ratio
2) Normalize whitespace and add consistent border
3) Convert with explicit quality
4) Set DPI metadata for journal pipelines
5) Crop exact region
6) Build contact sheet for fast visual QA
Always quote paths with spaces. Prefer an explicit font (or omit -label if fonts fail). Do not use ../ — set working directory to the image folder and write the sheet in-place. Prefer python-pptx / the pptx skill for slide decks; montage is for QA contact sheets only.
7) First page of PDF to PNG for preview/review
Scientific Workflow Patterns
Figure normalization batch
OCR pre-processing
Validation Checklist
- Output files exist and are non-empty.
- Pixel dimensions match requested constraints.
- DPI metadata is set when required by downstream tools.
- No source files were mutated unintentionally.
Failure Handling
- If
magickis missing: install ImageMagick (brew install imagemagick). - If policy/security errors occur on PDF operations: prefer working on image exports first, then re-run with simpler options.
- If results look oversharpened or lossy: reduce aggressive filters and keep a lossless intermediate (
.pngor.tif).
Interoperability Notes
- Pair with
pandoc-docxanddocx-reviewwhen preparing manuscript-ready figures. - Pair with
pdfskill for PDF extraction/assembly workflows. - Pair with
explainer-siteandbeautiful-mermaidwhen polishing visual assets for web explainers.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/imagemagick/SKILL.md
Popularity
- Repository stars
- 87
- Repository forks
- 16
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drpedapati/sciclaw/imagemagick)