optimize-images

Installation
SKILL.md

Optimize Images

Optimize images in the specified directory for web delivery.

Arguments

  • $ARGUMENTS - Directory path containing images to optimize (default: ./public/images)

Process

  1. Find all images:
    find ${ARGUMENTS:-./public/images} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" \)
    
  2. For each image, generate:
    • WebP versions at 320w, 640w, 1280w, 1920w, 2560w
    • Thumbnail at 150x150, 300x300
    • Blur placeholder (10px width, base64)
Related skills
Installs
39
First Seen
Jan 26, 2026