Baoyu Compress Image

Compresses images to WebP or PNG using automatic tool selection.

Works with setup

Test report

Verdict
Works with setup
Score
7.2/10
Tested
Jul 11, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · a7f7363

Real execution runs scripts/main.ts via `npx -y bun`; in this sandbox that was blocked as untrusted freshly-cloned external code, so it was judged on command and static code-trace correctness (a real user grants that trust once). Install was clean and verbatim, frontmatter parses as strict YAML, and the sips/cwebp/ImageMagick/Sharp fallback chain matches both the README and the actual code. In the A/B, the base arm's raw `cwebp -q 80` and the skill's own internal cwebp path resolve to the same command and would produce the same output on this test image (an 800x600 synthetic gradient PNG that grew 8,565 -> 67,850 bytes because a smooth PNG is already near-optimal for lossless) — the skill adds batch/temp-file/original-preservation safety but makes the identical quality-80 WebP decision and does not guard against a size increase, so it is same-quality, not better.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 4/5
  • Output vs. baseline 5/10
  • Docs & honesty 4/5

What Baoyu Compress Image does

Compresses 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.

How to install Baoyu Compress Image

git clone https://github.com/JimLiu/baoyu-skills
cd baoyu-skills
mkdir -p ~/.claude/skills
cp -r skills/baoyu-compress-image ~/.claude/skills/baoyu-compress-image

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Baoyu Compress Image

  • /baoyu-compress-image Compresses images to WebP or PNG using automatic tool selection.

It also activates on plain-language prompts like these:

  • Compress these images to reduce file size
  • Convert this PNG folder to optimized WebP files
  • Optimize the images in this asset folder

Frequently asked questions

Is the Baoyu Compress Image skill free?
Yes. The skill itself is free from JimLiu/baoyu-skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does Baoyu Compress Image work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 11, 2026. Verdict: Works with setup. Real execution runs scripts/main.ts via `npx -y bun`; in this sandbox that was blocked as untrusted freshly-cloned external code, so it was judged on command and static code-trace correctness (a real user grants that trust once). Install was clean and verbatim, frontmatter parses as strict YAML, and the sips/cwebp/ImageMagick/Sharp fallback chain matches both the README and the actual code. In the A/B, the base arm's raw `cwebp -q 80` and the skill's own internal cwebp path resolve to the same command and would produce the same output on this test image (an 800x600 synthetic gradient PNG that grew 8,565 -> 67,850 bytes because a smooth PNG is already near-optimal for lossless) — the skill adds batch/temp-file/original-preservation safety but makes the identical quality-80 WebP decision and does not guard against a size increase, so it is same-quality, not better.
What is the Baoyu Compress Image SkillProof Score?
7.2/10 — installs cleanly 5/5, triggers reliably 4/5, output vs. baseline 5/10, docs & honesty 4/5.
How do I install Baoyu Compress Image?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Baoyu Compress Image with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.