Сжатие и конвертация изображений в WebP

★ 7.3 · media-processing

baoyu-compress-image is a Claude Code skill that compresses images to WebP (default), PNG, or JPEG using the best available tool in the chain: sips → cwebp → ImageMagick → Sharp. It runs a TypeScript CLI script via Bun or npx, handling both single files and recursive batch processing of entire directories. Quality is configurable from 0 to 100 (default 80), the original file can be preserved with `--keep`, and output can be plain text or JSON. Default behavior — format, quality, and keep-original preference — can be overridden via an EXTEND.md file at project, XDG config, or user home level. A practical choice for developers and designers who need to reduce image file sizes, convert PNG or JPEG to WebP, or automate media optimization in their workflow.