seo-images

Audits and optimizes website images for SEO, covering alt text, formats, lazy loading, and metadata.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/coseto6125/claude-setup --skill seo-images-coseto6125
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: seo-images
Source: https://github.com/coseto6125/claude-setup/tree/main/skills/seo-images
Command: npx skills add https://github.com/coseto6125/claude-setup --skill seo-images-coseto6125

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Website images often hurt search rankings and page speed through missing alt text, oversized files, outdated formats, and missing dimensions that cause layout shifts. This Skill audits on-page images against SEO and Core Web Vitals best practices, analyzes Google Images SERP competition, and optimizes image files directly with format conversion and metadata injection. ## Core Features & Use Cases - Image SEO Audit: Checks alt text quality, file sizes against tiered thresholds, formats (WebP/AVIF), responsive srcset, lazy loading method detection, CLS-preventing dimensions, and CDN usage, then outputs a prioritized optimization list. - Image SERP Analysis: Uses DataForSEO to pull Google Images rankings for a keyword, revealing dominant domains, alt text patterns, and format distribution among competitors. - Image File Optimization: Converts images to WebP/AVIF with cwebp, ImageMagick, or FFmpeg, generates responsive variants, and injects IPTC/XMP metadata including the DigitalSourceType label Google Merchant Center requires for AI-generated product images. - Use Case: Run an audit on a product page, discover 12 images missing alt text and 3 oversized hero images, then batch-convert them to WebP with preserved metadata and generate the correct <picture> markup. ## Quick Start Ask the assistant to run an image SEO audit on a given URL and list the prioritized fixes for alt text, file size, format, and lazy loading.

Frequently Asked Questions about seo-images

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

FAQPage Schema
How do I audit images on a webpage for SEO?▼

Run an image audit on the target URL to check alt text presence and quality, file sizes against tiered thresholds, image formats, responsive srcset, lazy loading, and width/height dimensions. The output is a summary table plus a prioritized optimization list sorted by file size savings.

How to convert images to WebP with metadata preserved?▼

Use cwebp with the -metadata all flag, for example: cwebp -q 82 -metadata all input.jpg -o output.webp. If cwebp is unavailable, ImageMagick convert or FFmpeg serve as fallbacks, and exiftool can verify the metadata survived conversion.

Does Google require metadata labels for AI-generated product images?▼

Yes, Google Merchant Center requires IPTC DigitalSourceType metadata such as TrainedAlgorithmicMedia on AI-generated product imagery, or feeds can be disapproved. This is a policy requirement, not a ranking factor, and can be injected with exiftool or the included iptc_ai_label script.

Should I lazy-load my hero or LCP image?▼

No, never apply loading="lazy" to above-the-fold or LCP images because it directly harms Largest Contentful Paint scores. Instead add fetchpriority="high" to the hero image and reserve lazy loading for below-fold images only.

What image format should I use for the web: WebP, AVIF, or JPEG?▼

WebP is the default recommendation with over 95% browser support, while AVIF offers better compression at around 93% support. Serve them through a <picture> element with AVIF first, WebP second, and JPEG as the universal fallback.

What happens if exiftool or DataForSEO is not installed?▼

The audit falls back to ImageMagick for metadata operations when exiftool is missing, and to ImageMagick or FFmpeg for WebP conversion without cwebp. If the DataForSEO MCP is unavailable, the Image SERP Analysis section is skipped with a note to install the extension.