πŸ–ΌοΈ
AutomationTypeScript

Image Compressor

by guanyang

Image Compressor is an Automation skill for Claude Code, published by guanyang in open-agent-hub.

952 stars164 forkson guanyang/open-agent-hubAdded 2026/08/21Repository updated 2026/08/21
agentsai-agentsai-skillsanthropic-skillsclaude-codecli-toolcontext-engineeringfull-stackplanningskillssuperpowersui-ux-designworkflows
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/guanyang/open-agent-hub/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/guanyang/open-agent-hub.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 guanyang/open-agent-hub
Installs to
~/.claude/skills/baoyu-compress-image
Collection
One of 25 skills cataloged from this repository
Category
Automation β€” 1523 skills

What Image Compressor does

Image Compressor compresses images to WebP, PNG, or JPEG with automatic tool selection. Use it when you need to reduce file size, optimize images, or convert image formats.

Image Compressor is cataloged under Automation on DirSkills. Image Compressor comes from a repository tagged agents, ai-agents, ai-skills, anthropic-skills and claude-code.

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 guanyang publish alongside Image Compressor?

    Image Compressor is one of 25 skills that DirSkills catalogs from guanyang/open-agent-hub, the repository it ships in. Its siblings there include Advanced Evaluation, Algorithmic Art and Article Illustrator. Each one is a separate skill with its own page in this directory, installs the same way Image Compressor does, and is maintained by guanyang in that same repository. The rest of the collection is listed on the guanyang/open-agent-hub page.

  • How does Image Compressor compare to other Automation skills?

    Image Compressor ranks #866 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. 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 guanyang/open-agent-hub

Image Compressor is one of 25 skills cataloged on DirSkills from guanyang/open-agent-hub.

See all 25 skills β†’
βš–οΈ
1w ago

Advanced Evaluation

Advanced Evaluation covers LLM-as-judge methods for scoring, pairwise comparison, rubric calibration, and bias mitigation. Use it when building automated evaluation workflows for model outputs or comparing responses.
AI Engineering
952164
🎨
1w ago

Algorithmic Art

Algorithmic Art creates p5.js generative art from a written philosophy, then expresses it as interactive HTML and JavaScript. Use it for original code-based art, flow fields, particle systems, and other seeded visual explorations.
Frontend
952164
πŸ–ΌοΈ
1w ago

Article Illustrator

Article Illustrator analyzes article structure, finds spots that need visual support, and generates consistent illustrations using a Type Γ— Style Γ— Palette approach. Use it when you need images for an article or want to add visuals to specific sections.
AI Engineering
952164
πŸ–ΌοΈ
1w ago

Baoyu Image Cards

Baoyu Image Cards generates 1–10-card infographic series in multiple visual styles, layouts, and color palettes. Use it for social posts, WeChat image articles, or 小纒书-style image cards when content needs to be split into a visual sequence.
Automation
952164
πŸ–ΌοΈ
1w ago

Baoyu Imagine

Baoyu Imagine generates images from prompts using multiple image APIs, including OpenAI, Google, Azure OpenAI, and Replicate. Use it for text-to-image, reference-image edits, aspect ratios, and batch generation from saved prompt files.
AI Engineering
952164
🌐
1w ago

Baoyu Translate

Baoyu Translate translates text, articles, or URLs between languages with quick, normal, or refined modes. It supports custom glossaries, audience settings, and translation polish for Chinese and English use cases.
Writing
952164