Create, inspect, process, and optimize image files and visual assets with reliable format choice, resizing, compression, color-profile, metadata, and platform-export checks. Use when (1) the task is about images, screenshots, logos, product photos, or graphics; (2) resizing, converting, compressing, cropping, metadata, or export specs matter; (3) the asset must survive web, social, ecommerce, or print delivery without quality or format mistakes.
Use when the main artifact is an image file or visual asset, especially when format choice, resizing, cropping, compression, metadata, transparency, color profile, responsive delivery, social specs, marketplace requirements, or print readiness matter.
If the task is destination-specific, load the matching file before deciding:
web.md for responsive delivery, LCP/CLS, srcset, lazy loading, SVG, and modern web formats.social.md for platform dimensions, safe zones, and feed/story/banner exports.ecommerce.md for marketplace product-image rules, white backgrounds, zoom, and catalog consistency.photography.md for RAW, ICC profiles, print export, EXIF, and non-destructive editing.branding.md for logos, icons, favicons, app icons, SVG consistency, and small-size legibility.screenshots.md for UI captures, documentation images, annotations, redaction, and marketing/device frames.accessibility.md for alt text, decorative vs informative images, text in images, charts, and contrast-aware image delivery.commands.mdKeep the main workflow in this file, then pull in the specialized file for the exact delivery context instead of guessing from generic image advice.
| Situation | Load | Why |
|---|---|---|
| Web optimization, responsive images, lazy loading, SVG | web.md | Avoid CLS/LCP mistakes, oversized assets, and wrong web formats |
| Color profiles, metadata, RAW, print, non-destructive workflows | photography.md | Protect color intent, print readiness, and master-file quality |
| Social platform dimensions, safe zones, banners, previews | social.md | Prevent unsafe crops, unreadable text, and uploader recompression surprises |
| Product photos, marketplace standards, catalog consistency | ecommerce.md | Preserve zoom detail, white-background compliance, and catalog consistency |
| Logos, favicons, SVGs, app icons, icon sets | branding.md | Protect small-size legibility, SVG consistency, and multi-format icon delivery |
| UI screenshots, docs captures, redaction, annotations | screenshots.md | Avoid blurry captures, privacy leaks, and misleading before/after comparisons |
| Alt text, text-in-image risk, charts, decorative vs informative images | accessibility.md | Keep image work usable and compliant, not only visually correct |
| ImageMagick and Pillow commands | commands.md | Use concrete commands once the export decision is already clear |
| Asset type | Usually best starting point | Watch out for |
|---|---|---|
| Photo | WebP or AVIF for web, JPEG fallback, layered/RAW master for editing | Color profile shifts, overcompression, platform recompression |
| Product photo | JPEG or WebP for delivery, high-res clean master | White background, edge cleanup, zoom detail, consistency |
| Screenshot or UI capture | PNG or lossless WebP | JPEG blur, privacy leaks, unreadable text |
| Logo or simple icon | SVG master, PNG fallbacks only when needed | Tiny details, unsupported SVG pipelines, dark/light contrast |
| Social/OG card | PNG or high-quality JPEG sized for preview | Unsafe crop, tiny text, double compression |
| Diagram or chart | SVG when possible, PNG when fixed raster needed | Thin lines, low contrast, missing explanatory text |
| Print image | TIFF or high-quality JPEG with correct profile | Wrong profile, wrong physical size, no bleed |
.svg) when the target supports it.branding.md when the asset is a logo, app icon, favicon, social avatar, badge, or reusable icon set.screenshots.md when the asset is a UI capture, bug report image, tutorial screenshot, release-note image, or device-framed marketing visual.accessibility.md when the image needs alt text, contains embedded text, carries chart/diagram meaning, or may be decorative instead of informative.Install with clawhub install <slug> if user confirms:
image-edit — Masking, cleanup, inpainting, and targeted visual edits.image-generation — AI image generation and editing across current model providers.photography — Capture, color, and print-oriented photo workflows.svg — Vector graphics workflows when raster files are the wrong output.ecommerce — Marketplace and product-listing requirements that often constrain image delivery.clawhub star imageclawhub sync