cyberneticlibrary

Optimize image alt text and file sizes

seo-imagesskillsetup L26,595
AgriciDaniel/claude-seo
What it does

Analyze and optimize image alt text, file size, and SEO compliance

Best for

Image-heavy sites (ecommerce, publishing) where alt text + file size optimization unlock Core Web Vitals and AI-search citation readiness together.

Inputs
  • · target URL
Outputs
  • · alt text audit (missing, descriptive, length, keyword naturalness)
  • · file size analysis by category (thumbnails, hero, product, body)
  • · image optimization recommendations (format, compression, lazy loading)
  • · WebP conversion and filename suggestions
Requires
  • · fetch_page.py (HTML + images)
  • · magick or equivalent (file size analysis, format detection)
Preconditions
  • · target is live and image-heavy
Failure modes
  • · images blocked by robots.txt — size analysis skipped
  • · lazy loading prevents initial load — images not analyzed until viewport intersects
Trust signals
  • · alt text validation (present, descriptive, length 10-125 chars, keyword natural, not filename/decorator)
  • · tiered file size thresholds by category (thumbnails <50KB, hero <200KB, body <150KB)
  • · format optimization recommendations (WebP, modern codecs)
  • · lazy loading detection and recommendation
  • · filename SEO (keyword-friendly, hyphens, lowercase)
  • · image-context analysis (in article, product, hero, decoration)