Lightlines
By jimliu

baoyu-compress-image

jimliu27.8k installs

Smaller image files, with WebP as the default.

What it does

Reduces image file sizes and converts individual images or directories to WebP, PNG, or JPEG.

When to use it

Use when the user asks to compress or optimize images, convert them to WebP, or reduce their file size.

How to use it

Give it image files or a directory; it saves compressed images, defaulting to WebP beside the inputs.

What you provide

  • Your files

Good to know

  • cannot be undone: image files
  • works out of sight

Latest review

What you need · 1

Runs the compression script with bun, either installed directly or invoked through npx -y bun.


Access · 3

This skill

image files

Write

Renames or overwrites image files (irreversible)

${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-compress-image/EXTEND.md

Read

Reads your XDG compression preferences

$HOME/.baoyu-skills/baoyu-compress-image/EXTEND.md

Read

Reads your home compression preferences