.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/baoyu-skills/baoyu-compress-image
home/skills/jimliu/baoyu-skills/baoyu-compress-image
jimliu avatar

baoyu-compress-image

byjimliu· 68 skills

Installs

26k

Stars

24k

Forks

2.7k

Category

Generative Media

View on GitHub

TL;DR

Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.

How to install baoyu-compress-image?

jimliu/baoyu-skills/baoyu-compress-image
$npx -y skills add jimliu/baoyu-skills --skill baoyu-compress-image

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/jimliu/baoyu-skills" --skill "jimliu/baoyu-skills/baoyu-compress-image"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/jimliu/baoyu-skills" that are relevant to the current task. Run `npx skills add "https://github.com/jimliu/baoyu-skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Image Compressor
2 
3Compresses images using best available tool (sips → cwebp → ImageMagick → Sharp).
4 
5## Script Directory
6 
7Scripts 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.
8 
9| Script | Purpose |
10|--------|---------|
11| `scripts/main.ts` | Image compression CLI |
12 
13## Preferences (EXTEND.md)
14 
15Check EXTEND.md in priority order — the first one found wins:
16 
17| Priority | Path | Scope |
18|----------|------|-------|
19| 1 | `.baoyu-skills/baoyu-compress-image/EXTEND.md` | Project |
20| 2 | `${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-compress-image/EXTEND.md` | XDG |
21| 3 | `$HOME/.baoyu-skills/baoyu-compress-image/EXTEND.md` | User home |
22 
23If none found, use defaults.
24 
25**EXTEND.md supports**: Default format, default quality, keep-original preference.
26 
27## Usage
28 
29```bash
30${BUN_X} {baseDir}/scripts/main.ts <input> [options]
31```
32 
33## Options
34 
35| Option | Short | Description | Default |
36|--------|-------|-------------|---------|
37| `<input>` | | File or directory | Required |
38| `--output` | `-o` | Output path | Same path, new ext |
39| `--format` | `-f` | webp, png, jpeg | webp |
40| `--quality` | `-q` | Quality 0-100 | 80 |
41| `--keep` | `-k` | Keep original | false |
42| `--recursive` | `-r` | Process subdirs | false |
43| `--json` | | JSON output | false |
44 
45## Examples
46 
47```bash
48# Single file → WebP (replaces original)
49${BUN_X} {baseDir}/scripts/main.ts image.png
50 
51# Keep PNG format
52${BUN_X} {baseDir}/scripts/main.ts image.png -f png --keep
53 
54# Directory recursive
55${BUN_X} {baseDir}/scripts/main.ts ./images/ -r -q 75
56 
57# JSON output
58${BUN_X} {baseDir}/scripts/main.ts image.png --json
59```
60 
61**Output**:
62```
63image.png → image.webp (245KB → 89KB, 64% reduction)
64```
65 
66## Extension Support
67 
68Custom configurations via EXTEND.md. See **Preferences** section for paths and supported options.

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass
  • Runlayerpass
  • ZeroLeakspass

Preview

jimliu/baoyu-skillsjimliu/baoyu-skills

$ npx -y skills add jimliu/baoyu-skills --skill baoyu-compress-image

▸ installing to .claude/skills…

✓ baoyu-compress-image ready

Repojimliu/baoyu-skills
TypeSkills
CategoryGenerative Media
ForContent Creator
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. remotion-dev avatarremotion-best-practicesRouter for all Remotion skillsSkillsJul 2026451k4.1k
  2. 101-skills avatarai-image-generationGenerate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI.SkillsJul 2026441k656
  3. heygen-com avatarhyperframes-cliUse the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes,…SkillsJul 2026296k38k
  4. heygen-com avatarhyperframesMandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo,…SkillsJul 2026291k38k
  5. heygen-com avatarremotion-to-hyperframesPort an existing Remotion (React) composition''s source to HyperFrames HTML.SkillsJul 2026198k38k
  6. heygen-com avatarhyperframes-coreThe HyperFrames composition contract — build one renderable project.SkillsJul 2026195k38k