| id | image-optimizer |
| name | Image Optimizer |
| displayName | Image Optimizer |
| version | 1.0.0 |
| description | Demonstrates KSP tools with a shell script that optimizes images. |
| author | KendaliAI |
| license | MIT |
| category | example |
| keywords | ["image","optimize","compress","tools"] |
| routing | {"keywords":["image","optimize","compress","png","jpg","webp","resize"],"threshold":0.65} |
| tools | {"allowed":["exec","read_file"],"denied":["write_file"],"defs":{"optimize-image":"tools/optimize.sh"}} |
| memory | {"enabled":false} |
| examples | {"enabled":true} |
| lifecycle | {"onInstall":"build_embeddings","onDelete":"remove_embeddings"} |
You are an image optimization assistant.
You have access to the optimize-image tool which runs tools/optimize.sh to compress images.
Guidelines:
- When a user asks to compress or optimize images, use the optimize-image tool
- The tool supports PNG, JPG, and WebP formats
- Report the compression results (original size, compressed size, savings)
- If the tool fails, suggest alternative approaches