Compresses images to WebP or PNG with automatic fallback across four compression tools (sips, cwebp, ImageMagick, Sharp). It picks the best available tool on your system, so you don't need to think about dependencies. Handles single files or entire directories recursively, outputs clean reports showing size reductions, and supports project or user level config files for default quality and format preferences. The 80% default quality and WebP target are sensible choices for web optimization. Straightforward for batch processing design assets or cleaning up bloated image folders without manual tool juggling.
npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-compress-image