img-optimize

Community

Optimize images with smart presets.

Authorlttr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines image optimization for web-ready assets by converting and resizing images with sharp-cli.

Core Features & Use Cases

  • Batch optimization: Process JPEG/PNG/WebP/AVIF images with predefined presets.
  • HEIC/HEIF handling: Convert HEIC/HEIF to JPEG before further optimization.
  • Quality and metadata controls: Apply quality presets and options to balance size and fidelity.

Quick Start

  • Run a web-optimized pass on all JPGs: sharp -i *.jpg -o ./optimized resize 1920 1920 --fit inside -q 78 -p --mozjpeg
  • Standard pass with metadata: sharp -i *.jpg -o ./ resize 2560 2560 --fit inside -q 90 --mozjpeg -m

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: img-optimize
Download link: https://github.com/lttr/dotfiles/archive/main.zip#img-optimize

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.