Optimize Images

🌐Community
by forever-efficient · vlatest · Repository

Automatically compress and resize images for web use, reducing file size without noticeable quality loss.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add optimize-images npx -- -y @trustedskills/optimize-images
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "optimize-images": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/optimize-images"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

optimize-images

What it does

This skill automatically compresses and optimizes images to reduce file size while maintaining visual quality. It helps AI agents manage media assets efficiently for faster loading times and lower bandwidth usage.

When to use it

  • Reducing the size of large product photos before uploading to a database or CMS.
  • Preparing image assets for mobile-first websites where data savings are critical.
  • Batch processing multiple screenshots generated by an agent's analysis tasks.
  • Ensuring images meet specific strict file size limits for email attachments or API uploads.

Key capabilities

  • Automatic compression of image files without manual intervention.
  • Preservation of visual quality during the optimization process.
  • Reduction of overall file size to improve performance metrics.

Example prompts

  • "Optimize these product images for our e-commerce site to ensure they load quickly on mobile devices."
  • "Compress the batch of screenshots I just generated so they fit within our 5MB email attachment limit."
  • "Run an optimization routine on all images in the /assets folder before deploying the new landing page."

Tips & gotchas

Ensure you have a backup of original high-resolution files before running bulk optimizations, as some tools may overwrite source data. Verify the output quality visually after processing to confirm that compression did not introduce unacceptable artifacts.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
forever-efficient
Installs
28

🌐 Community

Passed automated security scans.