Image Optimize — shrink images with ImageMagick

    1

    Shrink images with ImageMagick into a new file and leave the original in place — use before an upload or an attachment.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    About this skill

    This skill makes a smaller copy of a JPEG, PNG, or WebP with ImageMagick and always leaves the original file in place. Use it when an image is larger than where it is going: a page, an attachment, or a thumbnail.

    The core operation resizes so the longest side is at most 1600 pixels (shrink-only), bakes in the EXIF orientation, strips metadata, and writes a new file at a sensible quality — 82 for JPEG, 80 for WebP. The skill shows how to pick the right binary once (magick on ImageMagick 7, convert on 6) and reuse it, and how to verify the result with identify and ls -l before keeping it.

    The gotchas are the point. mogrify overwrites the file you name, so these commands use magick/convert to a new file instead. -auto-orient must run before -strip, or a phone photo can come out sideways once its orientation tag is gone. The resize geometry must stay quoted — an unquoted > is a shell redirect.

    One honest limit: a file that is already small can grow when it changes format. The skill's rule is to compare sizes and keep the original when the new file is larger.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    GitHub
    Pages
    W3
    Schema
    Opensource

    Permissions

    Network Access

    Allowed Hosts

    honeypot-e6c.pages.dev
    www.w3.org
    schema.org
    github.com
    opensource.org
    raw.githubusercontent.com
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    Shrink images with ImageMagick into a new file and leave the original in place — use before an upload or an attachment.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Image Optimize — shrink images with ImageMagick on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Free