Img To Webp
por claudeskills
Converts and image to webp format optimized for Web Development
design forntend optimization
Publicada: 29 de noviembre de 2025 Actualizada: 2 de diciembre de 2025 Licencia: MIT License
Para instalar la Skill
En Claude Cloud (claude.ai)
- Descarga el archivo
.skill - Abre Claude.ai y ve a la sección Settings
- Carga el archivo
.skill
En Claude Code (CLI y Extensión VSCode )
- Cambia la extensión del archivo
.skilla.zip - Extrae el contenido
- Muévelo a
~/.claude/skills/
Documentación
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 )
- Download
image-to-webp.skill - Open Claude.ai
- Go to Settings → Skills
- Upload the
.skillfile
B. Claude Code or CLI (local installation)
- Download
image-to-webp.skill - Change the file extension to zip
image-to-webp.skill→image-to-webpage.zip - De compress the .zip in the
.claude/sillks/folder - 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:
- sharp (Node.js) - Fastest, best quality
- cwebp (Google CLI) - Excellent compression
- 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