πŸ—œοΈ
FrontendTypeScript

Image Compressor

by JimLiu

Image Compressor is a Frontend skill for Claude Code, published by JimLiu in baoyu-skills.

25K stars2.8K forkson JimLiu/baoyu-skillsAdded 2026/08/14Repository updated 2026/07/04
agent-skillsclaude-skillscodex-skillsopenclaw-skills
Install in seconds
Install Image Compressor
Copy Image Compressor into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-compress-image ~/.claude/skills/baoyu-compress-image

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/JimLiu/baoyu-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/baoyu-compress-image/SKILL.md in JimLiu/baoyu-skills
Installs to
~/.claude/skills/baoyu-compress-image
Collection
One of 22 skills cataloged from this repository
Category
Frontend β€” 567 skills

What Image Compressor does

Image Compressor compresses images to WebP (default) or PNG with automatic tool selection. Use when asked to compress image, optimize image, convert to webp, or reduce image file size.

Image Compressor is cataloged under Frontend on DirSkills. Image Compressor comes from a repository tagged agent-skills, claude-skills, codex-skills and openclaw-skills.

Documentation

README

Image Compressor

Compresses images using best available tool (sips β†’ cwebp β†’ ImageMagick β†’ Sharp).

Script Directory

Scripts in scripts/ subdirectory. {baseDir} = this SKILL.md's directory path. Resolve ${BUN_X} runtime: if bun installed β†’ bun; if npx available β†’ npx -y bun; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.

Script Purpose
scripts/main.ts Image compression CLI

Preferences (EXTEND.md)

Check EXTEND.md in priority order β€” the first one found wins:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Image Compressor

  • What else does JimLiu publish alongside Image Compressor?

    Image Compressor is one of 22 skills that DirSkills catalogs from JimLiu/baoyu-skills, the repository it ships in. Its siblings there include Article Illustrator, Baoyu Diagram and Baoyu Image Generation. Each one is a separate skill with its own page in this directory, installs the same way Image Compressor does, and is maintained by JimLiu in that same repository. The rest of the collection is listed on the JimLiu/baoyu-skills page.

  • How does Image Compressor compare to other Frontend skills?

    Image Compressor ranks #73 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Image Compressor against them. Open each page to compare what they document and how they install.

More from JimLiu/baoyu-skills

Image Compressor is one of 22 skills cataloged on DirSkills from JimLiu/baoyu-skills.

See all 22 skills β†’
🎨
2w ago

Article Illustrator

Article Illustrator analyzes article structure and identifies where visual aids are needed, then generates illustrations using a Type Γ— Style Γ— Palette approach. Use it when asked to illustrate an article, add images, generate images for an article, or 为文章配图.
AI Engineering
25K2.8K
πŸ“Š
2w ago

Baoyu Diagram

Baoyu Diagram creates professional, dark-themed SVG diagrams including architecture, flowcharts, sequence, structure, mind maps, and timelines. Use it when the user asks for technical or conceptual diagrams or visualizations of systems, processes, or data.
Data
25K2.8K
🎨
2w ago

Baoyu Image Generation

Baoyu Image Generation generates images using OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream, Replicate, and Agnes APIs. It supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files.
AI Engineering
25K2.8K
🌐
2w ago

Baoyu Translate

Baoyu Translate provides quick, normal, and refined translation modes with custom glossary support for articles and text. Use it when a user asks to translate, localize, or proofread content.
Writing
25K2.8K
πŸ’¬
2w ago

Baoyu WeChat Summary

Baoyu WeChat Summary summarizes WeChat group chat highlights into structured digests (normal or roast) using the local wx-cli binary, and maintains per-group history, user profiles, and fact memory across runs for requests like group chat digests or profile backfills.
Data
25K2.8K
πŸ–ΌοΈ
2w ago

Baoyu XHS Image Cards

Baoyu XHS Image Cards generates infographic image card series with 12 visual styles, 8 layouts, and 3 color palettes. It breaks content into 1-10 cartoon-style image cards optimized for social media engagement.
Writing
25K2.8K