Image Optimization Rules

🌐Community
by oimiragieo · vlatest · Repository

Helps with image processing, optimization as part of agent workflows workflows.

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 image-optimization-rules npx -- -y @trustedskills/image-optimization-rules
2

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

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

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

About This Skill

What it does

This skill applies rules to optimize images, reducing file size without significant quality loss. It can automatically compress images, resize them for specific dimensions, and convert formats (e.g., PNG to WebP) to improve website loading times and user experience. The agent will apply these optimizations based on provided criteria or default settings.

When to use it

  • Website Optimization: Automatically optimize images uploaded to a content management system (CMS).
  • Social Media Posting: Resize and compress images for optimal display on platforms like Instagram, Facebook, and Twitter.
  • E-commerce Product Listings: Reduce image file sizes to improve page load speed and conversion rates in online stores.
  • Bulk Image Processing: Apply optimization rules to a folder of images before archiving or sharing.

Key capabilities

  • Image compression (lossy & lossless)
  • Resizing images to specified dimensions
  • Format conversion (e.g., PNG to WebP)
  • Rule-based application of optimizations

Example prompts

  • "Optimize this image for Instagram."
  • "Compress all the images in this folder and save them as WebP."
  • "Resize this product photo to 800x600 pixels and apply a medium compression level."

Tips & gotchas

The skill's effectiveness depends on the initial image quality and complexity. Experiment with different optimization levels to find the best balance between file size reduction and visual fidelity.

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
oimiragieo
Installs
3

🌐 Community

Passed automated security scans.