Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Baoyu Image Compressor

A skill that compresses images to WebP, PNG, or JPEG using whichever tool is available on your machine.

UtilitiesBeginner26,1022,884AI score 10/10Last updated: Sep 10, 2026

What it does

  • Triggers on requests like "compress image", "optimize image", "convert to webp", or "reduce file size".
  • Auto-selects the best available compressor: sips → cwebp → ImageMagick → Sharp.
  • Supports format (webp/png/jpeg), quality 0–100, keeping the original, recursive folder processing, and JSON output.
  • Lets you pin defaults (format, quality, keep-original) through an EXTEND.md file at project, XDG, or home scope.

Who it's for

  • Writers and bloggers shrinking screenshots before publishing.
  • Web developers optimizing assets for faster page loads.
  • Anyone who needs to batch-convert hundreds of images at once.

Usage examples

  1. "Compress screenshot.png to WebP" → image.png → image.webp (245KB → 89KB, 64% reduction)
  2. "Recursively compress everything in ./images at quality 75"
  3. "Optimize but stay PNG and keep the original" (-f png --keep)

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/JimLiu/baoyu-skills/HEAD/skills/baoyu-compress-image/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/baoyu-compress-image folder from the GitHub repo JimLiu/baoyu-skills into my ~/.claude/skills/baoyu-compress-image/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

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

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/JimLiu/baoyu-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r baoyu-skills/skills/baoyu-compress-image ~/.claude/skills/
  5. Make sure bun (preferred) or Node's npx is installed. Install bun with: curl -fsSL https://bun.sh/install | bash
  6. Restart Claude Code and ask it to "compress this image".
  7. (Optional) Create ~/.baoyu-skills/baoyu-compress-image/EXTEND.md to set your default format and quality.