← Back to Skills Marketplace
Baoyu Compress Image
by
Jim Liu 宝玉
· GitHub ↗
· v1.117.2
· MIT-0
2111
Downloads
0
Stars
49
Active Installs
7
Versions
Install in OpenClaw
/install baoyu-compress-image
Description
Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or red...
Usage Guidance
Install only if you are comfortable with a compressor that changes files by default. Use --keep for important originals, test on a copy before recursive directory runs, and be careful when converting to the same format because the original file can be replaced.
Capability Assessment
Purpose & Capability
The stated purpose is image compression/conversion, and the code only handles user-supplied image files or directories using expected image tooling. The default behavior can modify source filenames or replace same-format outputs, which is relevant but purpose-aligned.
Instruction Scope
The trigger phrases match image compression and conversion tasks. Documentation discloses file/directory use, the --keep option, and an example saying the default replaces the original, though the risk could be more prominent for directory and same-format processing.
Install Mechanism
No hidden installer, package-install script, persistence hook, or privilege escalation was found. The skill declares bun or npx as runtime requirements.
Credentials
Filesystem access is limited to the specified input path plus documented optional preference paths; there is no credential access, network exfiltration, broad local indexing, or unrelated data flow in the artifacts.
Persistence & Privilege
No background worker, durable agent behavior, privilege escalation, account access, or session/profile handling was found.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baoyu-compress-image - After installation, invoke the skill by name or use
/baoyu-compress-image - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.117.2
## 1.117.2 - 2026-05-17
### Documentation
- `baoyu-cover-image`: ban programmatic text repair on generated bitmaps — disallow ImageMagick / Pillow / Canvas / SVG / HTML overlays to cover, rewrite, or replace title/subtitle text; regenerate from a corrected prompt or switch to a lower-text or no-title variant instead
- `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-image-cards`, `baoyu-xhs-images`, `baoyu-infographic`, `baoyu-slide-deck`: sync the same text-repair ban with skill-specific text categories (labels/captions, dialogue/sound effects, titles/body/tags, headings/data values, slide titles/bullets)
v1.115.4
### Documentation
- Image generation backend selection: emphasize Codex `imagegen` as the priority runtime-native tool (invoke via the `Skill` tool with `skill: "imagegen"`) and forbid SVG/HTML/canvas substitution when no raster backend can be resolved — fall through to asking the user instead of silently emitting code-based art. Updated in `docs/image-generation-tools.md` and inlined into `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-cover-image`, `baoyu-image-cards`, `baoyu-infographic`, `baoyu-slide-deck`, and `baoyu-xhs-images`.
v1.103.2
- Clarified EXTEND.md preference lookup order for configuration: project, XDG config, then user home.
- Simplified and reformatted the preferences section for easier reference.
- Removed redundant shell and PowerShell code snippets; replaced with a streamlined table.
- No changes to functionality or options.
v1.103.1
## 1.103.1 - 2026-04-13
### Fixes
- `baoyu-markdown-to-html`: decode HTML entities and strip tags from article summary
- `baoyu-post-to-weibo`: decode HTML entities and strip tags from article summary
v1.103.0
## 1.103.0 - 2026-04-12
### Features
- baoyu-diagram: add multi-diagram mode for article-wide diagram generation
### Fixes
- baoyu-article-illustrator: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-cover-image: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-image-cards: prevent color names from appearing as visible text in generated images
- baoyu-post-to-wechat: decode HTML entities and strip tags from article summary
v1.60.0
## 1.60.0 - 2026-03-11
### Features
- `baoyu-url-to-markdown`: support reusing existing Chrome CDP instances and fix port detection order
### Fixes
- `baoyu-post-to-x`: add missing `fs` import in x-article
### Refactor
- Unify all CDP skills to use shared `baoyu-chrome-cdp` package with vendored copies
- Simplify CLAUDE.md, move detailed documentation to `docs/` directory
- Publish skills directly from synced vendor, removing separate artifact preparation step
v1.0.0
- Initial release of image compression skill.
- Compresses images to WebP (default), PNG, or JPEG, with automatic tool selection.
- Command-line interface supports input files or directories, output format, quality, and recursive processing.
- Preference and configuration support through EXTEND.md files at project or user level.
- Supports JSON output and option to keep original files.
Metadata
Frequently Asked Questions
What is Baoyu Compress Image?
Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or red... It is an AI Agent Skill for Claude Code / OpenClaw, with 2111 downloads so far.
How do I install Baoyu Compress Image?
Run "/install baoyu-compress-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baoyu Compress Image free?
Yes, Baoyu Compress Image is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baoyu Compress Image support?
Baoyu Compress Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baoyu Compress Image?
It is built and maintained by Jim Liu 宝玉 (@jimliu); the current version is v1.117.2.
More Skills