Canghe Compress Image
Reduces image file sizes while preserving reasonable quality using advanced compression techniques.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add canghe-compress-image npx -- -y @trustedskills/canghe-compress-image
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"canghe-compress-image": {
"command": "npx",
"args": [
"-y",
"@trustedskills/canghe-compress-image"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to compress images, reducing their file size while attempting to maintain acceptable visual quality. It supports various image formats and compression levels, enabling efficient storage and faster transmission of image data. The agent can specify the desired level of compression or target file size for optimal results.
When to use it
- You need to reduce the storage space required for a large number of images.
- You want to speed up email sending by reducing attachment sizes.
- You are building an application that requires optimized image delivery over slow network connections.
- You're preparing images for posting on social media platforms with file size limits.
Key capabilities
- Image compression
- Support for various image formats (unspecified)
- Adjustable compression levels
- Targeted file size specification
Example prompts
- "Compress this image and reduce the file size by 50%."
- "Can you compress this photo to under 200KB?"
- "Optimize this PNG for web use."
Tips & gotchas
The quality of the compressed image depends on the chosen compression level; higher compression results in smaller files but potentially lower visual fidelity. Experiment with different settings to find a balance that meets your needs.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.