wordpress-ai-image-optimizer

Solid

Use when the user says 'optimize my wordpress images with ai', 'compress and optimize all images', 'audit my media library', or 'improve image performance'. Downloads images, compresses, converts to WebP, resizes and renames locally, re-uploads, and updates every content reference.

Data & Documents 36 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# WordPress AI Image Optimizer **Version:** 1.2.0 **Updated:** 2026-06-30 **Freshly updated:** v1.2.0 replaces per-image `respira_update_media` loops with a single `respira_update_media_batch` pass (up to ~50 items at once), snapshots the media library with `respira_get_snapshot` before the batch so the whole run is one-step reversible, runs the audit through `respira_analyze_images`, surfaces optional stock replacements via `respira_search_stock_images` + `respira_sideload_image`, and closes with a `respira_generate_activity_report` summary (e.g. "optimized 47 images, saved 1.2GB"). AI-powered image optimization for WordPress sites. Automatically compresses, converts formats, renames files, and updates all references. Processes images locally in AI code editor, creates optimized versions, and preserves originals for safety. ## What This Skill Does **Scans:** - All media library images - Images in posts and pages content - Featured images - Images in page builder elements (Elementor, Divi, Bricks, etc.) - WooCommerce product images - Images in custom post types **Detects:** - File sizes (actual KB/MB on disk) - Image dimensions (width x height in pixels) - Format (JPG, PNG, GIF, WebP, AVIF, SVG) - Whether width/height attributes are set in HTML - Whether alt text exists (and quality) - Whether image is being used (orphaned media) - Whether responsive image sizes exist (WordPress srcset) - Compression quality (estimated from file size) - Lazy loading implementation - Non-...

Details

Author
respira-press
Repository
respira-press/agent-skills-wordpress
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category