image-optimizer Skill
description: Optimize and compress images for web use. Reduces file sizes of JPEG, PNG, GIF images using lossy/lossless compression. Can resize images to maximum dimensions, convert to WebP format, and process entire directories recursively. Use when images are too large for web, need compression, or need format conversion.
Want an agent-native computer in the browser? Try HappyCapy.
Cloud sandbox for AI agents · No setup · Run autonomous workflows from your browser
Affiliate link — we may earn a commission at no extra cost to you.
Why use this skill
image-optimizer is most useful when you want an agent workflow that is more structured than an ad-hoc prompt. Instead of restating the same expectations every time, a dedicated SKILL.md file gives the assistant a repeatable brief. In this case, the core value is clarity: the repo already frames the workflow around utility skills tasks, and the skill source gives you a portable starting point you can evaluate, adapt, and reuse. The inferred platform for this skill is Generic Skills, which helps you judge whether it is likely to feel native in your current agent ecosystem or whether it is better treated as a general reference.
That matters because AI assistants are better when the operating context is explicit. A good skill turns hidden team expectations into visible instructions. It can name preferred tools, describe failure modes, define what “done” looks like, and reduce the amount of corrective prompting you need after the first draft. For developers exploring the wider SKILL.md ecosystem, this page helps answer the practical question: is this skill specific and maintained enough to be worth trying?
How to evaluate and use it
Start with the source repo and the preview below. The preview tells you whether the instructions are actionable or just aspirational. Strong skills usually describe triggers, recommended tools, steps, and known pitfalls. Weak skills tend to stay generic. This one lives in diegosouzapw/awesome-omni-skill, which gives you a concrete repo context, update history, and direct ownership trail.
Once you confirm the scope looks right, test it on a small task before making it part of a larger workflow. If it improves consistency, keep it. If it is too broad, outdated, or conflicts with your own process, treat it as a reference rather than a drop-in rule. That is the healthiest way to use directory-discovered skills: not as magic plugins, but as reusable operational knowledge that still deserves judgment.
SKILL.md preview
Previewing the source is one of the fastest ways to judge whether a skill is truly useful. This snippet comes from the public file in the linked repository.
--- name: image-optimizer description: Optimize and compress images for web use. Reduces file sizes of JPEG, PNG, GIF images using lossy/lossless compression. Can resize images to maximum dimensions, convert to WebP format, and process entire directories recursively. Use when images are too large for web, need compression, or need format conversion. license: MIT compatibility: Requires imagemagick, jpegoptim, pngquant, and webp packages metadata: author: exedev version: "1.0" --- # Image Optimizer Compress and optimize images for web delivery, similar to Squoosh. ## Quick Start ```bash # Ensure dependencies are installed scripts/install-deps.sh # Optimize images scripts/imgopt.sh [OPTIONS] <files or directories> ``` ## Common Use Cases ### Optimize a single image ```bash scripts/imgopt.sh photo.jpg ``` ### Compress all images in a folder ```bash scripts/imgopt.sh images/ ``` ### Resize and compress for web (recommended for large images) ```bash scripts/imgopt.sh -q 80 -w 1920 images/ ``` ### Create WebP versions (best compression for modern browsers) ```bash scripts/imgopt.sh --webp images/ ``` ### Process recursively and keep originals ```bash scripts/imgopt.sh -r --keep --webp ./website/images/ ``` ### Output to a different directory ```bash scripts/imgopt.sh -o optimized/ *.jpg *.png ``` ### Preview what would happen (dry run) ```bash scripts/imgopt.sh -n -r images/ ``` ## Options Reference | Option | Description | Default | |--------|-------------|--------| | `-q, --quality N` | Quality level 1-100 | 80 | | `-w, --max-width N` | Maximum width in pixel ...