compress-imgs
CommunityShrink image assets across projects with a single command.
Authoragongdai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces the manual effort and bandwidth required to optimize many images in a project by compressing PNG, JPG/JPEG, and WebP assets recursively.
Core Features & Use Cases
- Batch image compression across a codebase for web performance.
- Optional WebP conversion to save bandwidth when available.
- Enforces required tools (pngquant and jpegoptim) and gracefully handles missing optional tools (cwebp or magick).
Quick Start
Run the script to compress images in your project and optionally generate WebP variants.
Dependency Matrix
Required Modules
pngquantjpegoptimcwebpmagick
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compress-imgs Download link: https://github.com/agongdai/ai-toolkit/archive/main.zip#compress-imgs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.