image-optimize

Convert JPG/PNG images to WebP and add responsive picture elements.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/apexradius/agentic-os --skill image-optimize-apexradius
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-optimize
Source: https://github.com/apexradius/agentic-os/tree/main/skills/image-optimize
Command: npx skills add https://github.com/apexradius/agentic-os --skill image-optimize-apexradius

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps optimize website images by converting them to WebP format, adding responsive picture elements, and ensuring they meet Core Web Vitals criteria.

Core Features & Use Cases

  • Image Conversion: Converts JPG/PNG images to WebP for better performance.
  • Responsive Design: Adds picture elements with fallbacks for optimal display on all devices.
  • Core Web Vitals: Ensures images contribute to meeting Core Web Vitals standards.
  • Use Case: Ideal for web developers and site owners looking to enhance page load times and user experience.

Quick Start

Optimize all images in the 'public/images' directory of your website.

Frequently Asked Questions about image-optimize

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

FAQPage Schema
How do I convert JPG and PNG images to WebP for better website performance?

Converting JPG and PNG images to WebP reduces file sizes and improves page load performance. This Skill processes your existing image directory and outputs optimized WebP files alongside the originals to reduce overall page weight.

How do I add responsive picture elements with fallbacks for WebP images?

Adding responsive picture elements involves wrapping your WebP images in HTML `picture` tags with appropriate fallbacks. This Skill modifies your HTML to ensure optimal display across all devices while maintaining Core Web Vitals standards.

Does optimizing images for Core Web Vitals require specific tools or dependencies?

Optimizing images for Core Web Vitals requires image conversion tools and HTML manipulation capabilities. This Skill operates without external dependencies, but your environment must support the underlying scripts needed to process and convert the images.

What is the best way to reduce page weight by optimizing images in a public directory?

The best way to reduce page weight is to batch optimize all images within your public directory. This Skill scans the specified folder, converts the images to WebP, and updates the HTML to ensure your site meets Core Web Vitals criteria.

Why does converting images to WebP improve Core Web Vitals scores?

Converting images to WebP improves Core Web Vitals scores by significantly reducing image file sizes and page weight. This reduction allows browsers to load content faster, directly enhancing the user experience and performance metrics.