Optimizes images for search engines and performance with alt text, file names, dimensions, formats, and compression. Use when adding or optimizing images for the web, improving Core Web Vitals, or when the user asks about image SEO.
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Optimizes images for search engines and performance with alt text, file names, dimensions, formats, and compression. Use when adding or optimizing images for the web, improving Core Web Vitals, or when the user asks about image SEO.
name: image-seo-optimizer
description: >
Optimize and resize images for SEO metatags and web performance. Use this skill whenever
the user wants to: resize images for Open Graph (og:image), Twitter Cards, or other SEO
metatags; compress images for web; convert image formats (WebP, JPEG, PNG); generate
SEO-optimized versions of images with correct dimensions; batch process multiple images
for social media or search engine optimization. Trigger on phrases like "optimize image
for SEO", "resize for metatags", "og:image size", "Twitter card image", "compress image
for web", "image for social share", "reduce image size", or any request combining images
with SEO, social media previews, or web performance.
Image SEO Optimizer Skill
Resize, compress, and optimize images for SEO metatags, social media, and web performance.
Quick Reference: SEO Image Dimensions
Platform / Metatag
Width × Height
Max Size
Format
Open Graph (og:image)
1200 × 630
8 MB
JPG/PNG
Twitter Card (large)
1200 × 628
5 MB
JPG/PNG/WebP
Twitter Card (small)
800 × 418
5 MB
JPG/PNG
LinkedIn Share
1200 × 627
5 MB
JPG/PNG
WhatsApp Preview
300 × 200
300 KB
JPG/PNG
Favicon
32 × 32 / 192 × 192
—
PNG/ICO
Apple Touch Icon
180 × 180
—
PNG
Google Discover
1200 × any (min 1200w)
—
JPG/WebP
Structured Data
696 × any
—
JPG/PNG
Workflow
Step 1 — Identify the user's goal
Ask (or infer from context):
Which platform/metatag? (og:image, Twitter, LinkedIn, general web)
Input file location (uploaded or path)
Desired output format (WebP recommended for web, JPEG for compatibility)
Quality preference (default: 85 for JPEG/WebP)
Step 2 — Run the optimization script
Use the script at scripts/optimize_image.py. Always run it with Python 3.