Baoyu Compress Image
Skill Verified ActiveCompresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.
To efficiently reduce image file sizes for web use or storage, providing flexibility in format and quality control.
Features
- Compress images to WebP, PNG, or JPEG
- Automatic tool selection (sips, cwebp, ImageMagick, sharp)
- Adjustable quality and format options
- Recursive processing of directories
- Option to keep original files
Use Cases
- When user asks to 'compress image'
- When user asks to 'optimize image'
- When user asks to 'convert to webp'
- When user needs to reduce image file size for web or storage
Non-Goals
- Image editing or manipulation beyond compression
- Cloud-based image processing
- Conversion to formats other than WebP, PNG, or JPEG
Installation
First, add the marketplace
/plugin marketplace add jimliu/baoyu-skills/plugin install baoyu-skills@baoyu-skillsQuality Score
VerifiedSimilar Extensions
Convert Image Format
98Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.
Compress Image to Target File Size
99Compress an image to fit within a specific file size in bytes using quality-first compression.
Generate Thumbnail
97Resize a source image to a thumbnail and convert to WebP.
Compress Images
79Compress images for web/SEO performance using cwebp. Use when optimizing images for faster page loads, reducing file sizes, or converting JPG/PNG to WebP format.
Snipgrapher
79Configures and uses snipgrapher to generate polished code snippet images, including syntax-highlighted PNGs, SVGs, and WebP exports with custom themes, profiles, and styling options. Use when the user wants to create code screenshots, turn code into shareable images, generate pretty code snippets for docs or social posts, produce syntax-highlighted images from source files, or explicitly mentions snipgrapher. Supports single-file renders, batch jobs, watch mode, and reusable named profiles via the snipgrapher CLI or npx.
Context Compression
100This skill should be used when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce token usage", or mentions context compression, structured summarization, tokens-per-task optimization, or long-running agent sessions exceeding context limits.