🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Pixmind Image Compress

by @fuyunzhishang

Cloud-powered image compression and resize — compress JPG/PNG/WebP/HEIC to WebP/AVIF, resize images, batch process folders. No local dependencies, uses Tence...

When to Use
TriggerAction
1. **Compress** — "图片太大"、"压缩一下"、"缩小文件"、"reduce image size"、"compress photo"、"file too large"
2. **Format conversion** — "转成 JPG"、"PNG 转 WebP"、"HEIC 转 JPG"、"convert to webp"、"change format"
3. **Resize** — "缩小到 1920px"、"调整尺寸"、"resize image"、"reduce dimensions"、"scale down"
4. **Batch** — "批量压缩"、"处理这个文件夹"、"compress all images"、"batch resize"
5. **Scene optimization** — "用于邮件附件"、"上传网站"、"微信发送"、"optimize for web"、"shrink for email"
6. **Typical triggers**:
- "帮我压缩这张图片,文件太大了发不了微信"
- "Screenshot.png is 10MB, make it smaller"
- "Convert all PNGs in this folder to WebP"
- "Resize these photos to max 1920px width"
**Do NOT trigger for:**
- Image generation (use `pixmind-image` skill)
- Image editing (crop, rotate, watermark, filters)
- Image analysis (OCR, content recognition, EXIF reading)
💡 Examples

# Compress a single image (local file)
node {baseDir}/compress.js --file ~/Desktop/photo.png --preset web

Compress from URL

node {baseDir}/compress.js --url https://example.com/image.jpg --quality 80 --format webp

Resize to max 1920px width

node {baseDir}/compress.js --file photo.jpg --width 1920

Batch compress a folder

node {baseDir}/compress.js --dir ~/Pictures/ --preset web --recursive

⚙️ Configuration

1. Register at pixmind.io200 bonus points on signup (free trial) 2. Create an API key at pixmind.io/api-keys 3. Set env PIXMIND_API_KEY with your key

View on ClawHub
TERMINAL
clawhub install pixmind-image-compress

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →