AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Make images and art

Image compressor

Give it images. Get smaller WebP or PNG files that look the same and load faster.

Image compressor is a free AI skill for the job "Make images and art". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by Jim Liu · Level: beginner · Thinking: low

Made by Jim Liu. See the original on GitHub; we copied it as it is, with its licence.

What it does

Smaller image files that look the same and load faster. Point it at one file or a folder and get compressed WebP or PNG copies. It picks the best tool found on your computer, trying sips, then cwebp, then ImageMagick and then Sharp. You can set the output format, quality and whether to keep the original. A small preferences file can store your defaults at project, user or home level, and the first one found wins. It runs through a script using Bun or npx, so you need one of those installed. It works on a single image or a whole folder in one go.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run code and save files.

Workflows that use it

More for Make images and art

Every make images and art skill