Skip to content

claudeskills/img-to-webp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG Cleaner

Image to WebP Skill

A Claude skill for converting and optimizing images to WebP format with batch processing support.

Features

  • 🖼️ Convert images to WebP: PNG, JPG, GIF, TIFF, BMP supported
  • Multiple backends: sharp (Node.js), cwebp, or Python fallback
  • 📦 Batch processing: Process entire folders at once
  • 🎛️ Quality control: Configurable compression levels
  • 📊 Size reporting: Shows compression percentage for each file

Installation

A. Claude AI (Claude in the cloud )

  1. Download image-to-webp.skill
  2. Open Claude.ai
  3. Go to Settings → Skills
  4. Upload the .skill file

B. Claude Code or CLI (local installation)

  1. Download image-to-webp.skill
  2. Change the file extension to zip image-to-webp.skillimage-to-webpage.zip
  3. De compress the .zip in the .claude/sillks/ folder
  4. remove the zip file

Usage Examples

Convert a single image:

Convert this PNG to WebP

Process a folder:

Convert all images in /path/to/images/ to WebP

High quality conversion:

Convert this image to WebP with 95% quality

How It Works

The skill tries tools in this order:

  1. sharp (Node.js) - Fastest, best quality
  2. cwebp (Google CLI) - Excellent compression
  3. Python/Pillow - Bundled fallback, always works

Quality Presets

Quality Use Case
75-80 Maximum compression, acceptable quality
85 Balanced (default)
90-95 High quality, larger files

Output

  • Single file: filename.webp
  • Batch folder: Each image converted alongside original
  • Reports size reduction percentage

Requirements

  • Claude Desktop or Claude.ai with Skills enabled
  • One of: Node.js (sharp), cwebp CLI, or Python with Pillow

License

MIT License - See LICENSE file for details

Contributing

Issues and pull requests welcome!

Author

Created by Daniel Serrano for Claude Skills

About

Converts and image to webp format optimized for Web Development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors