sharp

Resize, convert, and optimize images with the Sharp library in Node.js.

3|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/evolv3ai/claude-skills-archive --skill sharp-evolv3ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharp
Source: https://github.com/evolv3ai/claude-skills-archive/tree/main/skills/sharp
Command: npx skills add https://github.com/evolv3ai/claude-skills-archive --skill sharp-evolv3ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines image manipulation tasks, enabling efficient resizing, format conversion, and optimization for web and application use.

Core Features & Use Cases

  • Image Resizing & Optimization: Quickly resize images to specific dimensions while maintaining aspect ratios and optimizing file size.
  • Format Conversion: Effortlessly convert between various image formats like JPEG, PNG, WebP, and AVIF.
  • Use Case: You need to generate thumbnails for a gallery of user-uploaded photos. Use this Skill to resize each image to a small, medium, and large version, converting them to WebP for optimal web performance.

Quick Start

Use the sharp skill to resize the image 'logo.png' to a width of 400 pixels and save it as 'logo-small.webp'.

Frequently Asked Questions about sharp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resize images and convert them to WebP or AVIF in Node.js?

To resize images and convert them to WebP or AVIF in Node.js, you can use this Sharp-based skill to process JPEG and PNG files, adjusting dimensions while maintaining aspect ratios and optimizing output quality.

What is the best way to batch process and optimize image files for web performance?

The best way to batch process and optimize image files is using this Sharp skill, which handles bulk resizing, compression, and format conversion to WebP or AVIF, significantly reducing file sizes for faster web loading.

Can I convert PNG to JPEG and add a watermark programmatically?

Yes, you can convert PNG to JPEG and add a watermark programmatically. This skill supports format conversion between JPEG, PNG, WebP, and AVIF, while simultaneously applying watermarking during the image processing workflow.

Does this image processing tool work without external dependencies in a Node.js environment?

This image processing tool works in Node.js environments and lists no external dependencies. It handles resizing, metadata preservation, and compression directly through the underlying Sharp library implementation.

How do I generate multiple thumbnail sizes from a single uploaded photo?

To generate multiple thumbnail sizes from a single uploaded photo, use this skill to batch resize the original image into small, medium, and large versions, converting them to WebP for optimal web delivery.

When should I preserve metadata during image format conversion?

You should preserve metadata during image format conversion when EXIF data is required. This skill provides options to retain metadata while optimizing compression and converting between JPEG, PNG, WebP, and AVIF formats.