media-optimizer

Compress and convert images and videos using Optimo pipelines.

1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/nawwwal/dex --skill media-optimizer-nawwwal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-optimizer
Source: https://github.com/nawwwal/dex/tree/main/plugins/tools/skills/media-optimizer
Command: npx skills add https://github.com/nawwwal/dex --skill media-optimizer-nawwwal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Media teams often struggle with large asset sizes and inconsistent formats, slowing web delivery and performance.

Core Features & Use Cases

  • Automated media optimization: compress and convert images and videos using Optimo pipelines on top of ImageMagick and FFmpeg.
  • Supported workflows: optimize individual files or entire directories, preview changes with dry-run, and apply format conversions such as webp/avif.
  • Real-world use case: speed up site image loading by converting large PNGs to webp while preserving quality.

Quick Start

Run the optimizer on your media directory to compress and convert files.

Frequently Asked Questions about media-optimizer

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

FAQPage Schema
How do I compress and convert large PNG images to webp automatically?

Automated media compression and conversion reduces asset size and standardizes formats, solving the problem of large media files slowing down web delivery and performance. It uses Optimo pipelines to process single files or entire directories efficiently.

How do I batch convert an entire directory of videos to a web-friendly format?

You can batch convert an entire media directory by applying the Optimo pipeline over the folder, utilizing FFmpeg to convert videos into web-friendly formats while reducing their overall file size.

What dependencies do I need to run an automated media optimization pipeline?

To run automated media optimization, you need Node >= 24, ImageMagick, SVGO, FFmpeg, MozJPEG, and Gifsicle installed in your environment to support the underlying image and video processing pipelines.

Can I preview media compression changes before applying them to my files?

Yes, you can preview media compression changes by using the dry-run workflow, which allows you to see the potential optimization results before the actual conversion and size reduction is applied to your assets.

Does this media optimization approach support modern formats like webp and avif?

Yes, this media optimization approach supports modern format conversions such as webp and avif, allowing you to transform large images into web-friendly formats to speed up site loading times.