← All Skills image WordPress Performance Skill

WordPress AI
Image Optimizer

Optimize your entire image footprint with AI-powered local processing. Compress, convert, resize, rename, and update references in duplicate-first mode.

No ratings yet Be the first to review Rate this skill ↓

Local AI processing · New optimized files + old files preserved · Duplicate-first content updates

image-optimizer-report.md
WordPress AI Image Optimizer Report
━━━━━━━━━━━━━━━━━━━━━━━━━━
Image health score34/100
Images analyzed456
Potential savings612 MB
Top conversion18.3 MB → 1.2 MB
━━━━━━━━━━━━━━━━━━━━━━━━━━
Ready for duplicate-first rollout

Requirements

extensionRespira for WordPress Plugin
auto_fix_highDuplicate-first workflow
memoryLocal image tools in AI code editor

Recommended tools: ImageMagick, Sharp, or Pillow. Optional WooCommerce add-on improves product image workflow coverage.

What this skill does

From comprehensive image diagnostics to safe duplicate-first rollout, this skill automates large image optimization projects.

analytics

Comprehensive Image Audit

Scans media library, posts, pages, featured images, builders, and WooCommerce product images for optimization opportunities.

smart_toy

AI-Powered Local Processing

Downloads and processes images locally with ImageMagick, Sharp, or Pillow for compression, conversion, resizing, and renaming.

cloud_upload

Automated Upload & URL Updates

Uploads optimized files as new media entries and updates references across duplicates of affected pages/posts/builders.

security

Safe & Reversible

Original files remain intact and flagged as deprecated, enabling low-risk rollout and rollback support.

What makes this different

This skill does real batch processing, not just recommendations.

Feature Typical plugins AI Image Optimizer
Optimize existing library in one batchQueue/manualAutomatic batch workflow
SEO filename regenerationRare/limitedAI context-driven names
Alt text generationLimited add-onsBuilt-in AI generation
Update references safelyPartial/manualDuplicate-first URL updates
Preserve originalsVariesAlways preserved
Local processing controlServer/plugin constrainedAI editor local pipeline

How it works

Five-step pipeline from audit to review-ready rollout.

1

Run Sitewide Image Audit

Scans usage, size, format, dimensions, alt text, and responsive behavior across WordPress content.

2

Select Optimization Scope

Choose everything, critical images only, homepage first, product images, or another subset.

3

Process Images Locally

Downloads files and runs compression, WebP conversion, resizing, SEO-friendly renaming, and alt text generation.

4

Upload and Duplicate

Uploads optimized images as new media entries and updates references in duplicates, not live pages.

5

Review and Publish

Validate before/after changes and publish only after review approval.

Optimizations performed

compress

Compression

Reduces image weight with tuned quality levels (typically 80-85% JPEG or equivalent WebP settings).

transform

Format Conversion

Converts inefficient JPG/PNG images to WebP where appropriate for substantial size reduction.

photo_size_select_large

Resize Oversized Originals

Downsizes huge originals to practical maximum dimensions while preserving aspect ratio.

drive_file_rename_outline

SEO-Friendly Renaming

Replaces camera/generic filenames with contextual names based on page usage and intent.

description

Alt Text Generation

Adds AI-generated descriptive alt text for missing/weak image accessibility metadata.

devices

Responsive Regeneration

Regenerates WordPress image sizes and keeps srcset behavior aligned for responsive delivery.

Issues detected

  • warningOversized images (5000px originals where 2000px max is enough)
  • warningInefficient formats (PNG photos, oversized JPGs)
  • warningMissing or weak alt text
  • warningNon-SEO filenames (IMG_1234.jpg, screenshot.png)
  • warningMissing responsive sizes and srcset gaps
  • warningSuboptimal compression quality settings
  • warningMissing lazy loading or width/height attributes
  • warningOrphaned media not referenced by content

Example results

Homepage Hero

Before

homepage-hero.jpg

18.3 MB · JPG

5472 x 3648px

After

homepage-marketing-team-hero.webp

1.2 MB · WebP

2000 x 1333px

Savings: 17.1 MB (93%)

Product Image

Before

IMG_9876.jpg

8.2 MB · JPG

Alt text missing

After

professional-camera-product-photo.webp

620 KB · WebP

AI alt text generated

Savings: 7.6 MB (92%)

Safety model

  • content_copyCreates new optimized media entries and keeps originals
  • file_copyUpdates URLs in duplicates only
  • check_circleUser review and approval required before publish
  • undoRollback-ready with preserved old files
  • shieldNo live-site modifications until approval
  • low_priorityCan run incremental optimization batches

Technical details

ImageMagick

convert input.jpg -resize 2000x -quality 80 output.webp

Sharp (Node.js)

sharp('input.jpg').resize(2000).webp({ quality: 80 })

Pillow (Python)

img.thumbnail((2000, 2000)); img.save('out.webp')

Processing workflow

  1. Download media files from WordPress via Respira MCP.
  2. Analyze size, format, dimensions, context, and usage priority.
  3. Process locally: compress, convert, resize, rename, generate alt text.
  4. Upload optimized files as new media entries and mark old files as deprecated replacements.
  5. Create duplicates and replace references across posts/pages/builders/products.
  6. Regenerate WordPress responsive sizes for consistent srcset delivery.

Plugin and CDN detection

Optimization plugins

Detects Smush, ShortPixel, EWWW, Imagify, and Optimole, then recommends compatible run modes or settings adjustments during AI processing.

CDNs

Detects Cloudflare/BunnyCDN-style optimizers and still optimizes source images to reduce origin weight, cost, and fallback payloads.

Honest disclaimer

What this cannot do

  • Guarantee perfect visual outcomes for every image
  • Fix corrupted image source files
  • Optimize CSS-only background image assets
  • Process media hosted entirely outside WordPress uploads
  • Improve artistic composition or brand art direction

What this can do

  • Process hundreds of images in controlled batches
  • Cut transfer size dramatically with optimized formats
  • Generate cleaner SEO filenames and alt text
  • Update references safely via duplicate-first flow
  • Preserve originals for rollback and external-link safety
menu_book

Open source skill definition

Use the public skill files directly in Claude, Codex, Cursor, and other skills-compatible workflows.

View on GitHub Raw SKILL.md

Community feedback

Community ratings

Rate this skill and share what worked (or what needs to improve).

Community rating

/ 5

0 ratings

See reviews
5
0
4
0
3
0
2
0
1
0

Leave a rating

Community feedback

Your rating

500 chars left

Community Ratings

Showing: Most helpful

No ratings yet. Be the first to leave one.
image

Ship leaner images
without risky live edits

Run high-impact image optimization in batches, review duplicate updates, and publish with confidence.