Works with the AI Agents you already use
pressit
Compress, resize, and convert images locally using the PressIt MCP server.
Free
pressit
Example session with this skill installed
Optimize all images in the ./assets/raw folder. Convert them to WebP, set max width to 1200px, and put them in ./assets/dist.
- Read your context and instructions
- Compiled the pressit
- Generated the image
I have processed the images in the ./assets/raw directory using the PressIt MCP tool. The files were resized, converted to WebP format, and saved to the distribution folder.
Image Optimization Results
| Original File | Output File | Original Size | New Size | Reduction |
|---|---|---|---|---|
| hero-banner.png | hero-banner.webp | 2.4 MB | 412 KB | -83% |
| profile-pic.jpg | profile-pic.webp | 890 KB | 105 KB | -88% |
| product-01.png | product-01.webp | 1.2 MB | 210 KB | -82% |
| product-02.png | product-02.webp | 1.5 MB | 245 KB | -84% |
| footer-logo.png | footer-logo.webp | 150 KB | 28 KB | -81% |
Total Space Saved: 5.15 MB (approx. 84% reduction)
Next steps
- Verify the visual quality of the WebP files in
./assets/dist. - Update your component paths to point to the new
.webpextensions. - Delete the
./assets/rawfolder if these backups are no longer needed.
hero-banner.png
PNG · 1536×1024
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing image assets for web projects usually involves manually writing scripts or installing heavy local dependencies. This skill automates image optimization by connecting your agent to the PressIt MCP server for local processing.
What it does
- Multi-format compression handles JPG, PNG, WebP, and GIF files.
- Batch processing optimizes entire directories with a single command.
- Format conversion switches assets to modern formats like WebP.
- Dimensions control resizes images to specific maximum widths or heights.
- Non-destructive workflows ensures original files are never overwritten.
How it works
- Identify assets by providing a specific local file path or an entire input directory.
- Set parameters for desired quality, maximum dimensions, or output format.
- Execute compression via the
compress_imageorcompress_imagesMCP tools. - Retrieve results from the designated output path without any files leaving your machine.
Frameworks & tools
This skill requires Node.js 20 or newer and utilizes the pressit-mcp package via the Model Context Protocol (MCP).
Why this beats prompting it yourself
Manual prompts often result in the agent trying to write Python scripts that lack the necessary local libraries or fail due to environment constraints. This skill provides direct access to a specialized, pre-configured binary that handles the binary processing natively and reliably.
Use cases
- Optimize a project's
public/imagesfolder before a production deployment. - Convert high-resolution photography to lightweight WebP formats for faster page loads.
- Resize a batch of screenshots to a uniform width for technical documentation.
- Reduce GIF file sizes to meet repository or hosting limits.
Known limitations
Requires Node.js 20+ installed on the host machine. Initial execution downloads a 30MB package. Process is limited to local file system access.
Requires Node.js 20 or newer. First run downloads a 30MB npm package. Only works on local files accessible to the agent.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 15 days ago
- Free with an Agensi account
Requires