Free Claude image skill
Use Claude to compress images
Give Claude a reliable compression recipe instead of asking it to guess an API. Start in the browser, install the plain-text skill, or connect MCP for a native tool call.
Quick answer: Install compress-image/SKILL.md. Claude sends the file to POST /api/compress-image, reads the measured savings, and follows the temporary downloadUrl.
Install the skill
- Download the skill file above or copy it from the Agent Skills hub.
- Add it to Claude project instructions, Claude skills, Claude Code context, or another agent’s instructions.
- Ask: “Compress this product photo at quality 72 and tell me the size saved.”
Use the API directly
curl -F "image=@photo.jpg" -F "quality=72" \ https://agentmediatools.com/api/compress-image
The response is JSON, not raw image bytes. It includes originalSize, compressedSize, savingsPercent, and downloadUrl. Compression preserves the source format; use Convert Image when you also need WebP or another format.
What Claude should verify
- The result downloads and has a nonzero file size.
- The format is unchanged unless conversion was separately requested.
- Text, transparency, and important visual detail remain acceptable.
- The reported savings are worth keeping; otherwise preserve the original.
Use the Claude product-image skill guide for repeatable sizing, framing, format, filenames, and one ZIP.