Image optimization audit covering alt text, file sizes, formats, responsive images, lazy loading, and CLS prevention.

skills.sh installs
7.8K
GitHub stars
31.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Checks alt text, file sizes against tiered thresholds, served formats, srcset and sizes, lazy loading, and CLS risk
  • Verifies the served format with parse_html.py --probe-images rather than trusting file extensions
  • Reports lazy-loader mechanism via lazy_method values: native, perfmatters, ewww, js-generic, or none
  • Designed for site owners auditing image SEO and performance, with optional image SERP and file-conversion modes

Install

$ npx -y skills add agricidaniel/claude-seo --skill seo-images -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Image Optimization Analysis

Checks

Alt Text

  • Present on all <img> elements (except decorative: role="presentation"). parse_html.py marks these with decorative: true; do not flag them for missing alt text.
  • Descriptive: describes the image content, not "image.jpg" or "photo"
  • Includes relevant keywords where natural, not keyword-stuffed
  • Length: 10-125 characters

Good examples:

  • "Professional plumber repairing kitchen sink faucet"
  • "Red 2024 Toyota Camry sedan front view"
  • "Team meeting in modern office conference room"

Bad examples:

  • "image.jpg" (filename, not description)
  • "plumber plumbing plumber services" (keyword stuffing)
  • "Click here" (not descriptive)

File Size

Tiered thresholds by image category:

Image CategoryTargetWarningCritical
Thumbnails< 50KB> 100KB> 200KB
Content images< 100KB> 200KB> 500KB
Hero/banner images< 200KB> 300KB> 700KB

Recommend compression to target thresholds where possible without quality loss.

Details

Repository
github.com/agricidaniel/claude-seo
Categories
Marketing, SEO & Ads, Browser Automation & Scraping, Frontend & UI Code
First seen
Apr 16, 2026

More from agricidaniel/claude-seo

All 25

Similar to Seo Images

More Marketing, SEO & Ads