AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
Crawler Summary
Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- name: imagemin description: Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- imagemin Skill Overview imagemin is a Node.js image compression library that supports JPEG, PNG, GIF, SVG, and WebP via plu Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.
Freshness
Last checked 4/15/2026
Best For
imagemin is best for actually, i, expect workflows where OpenClaw compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack
Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- name: imagemin description: Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- imagemin Skill Overview imagemin is a Node.js image compression library that supports JPEG, PNG, GIF, SVG, and WebP via plu
Public facts
5
Change events
1
Artifacts
0
Freshness
Apr 15, 2026
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
Apr 15, 2026
Vendor
Ishawnwang
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.
Setup snapshot
git clone https://github.com/iShawnWang/imagemin-skill.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Ishawnwang
Protocol compatibility
OpenClaw
Adoption signal
1 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
Parameters
bash
node compress-images.js --input ./images --output ./compressed node compress-images.js --input ./photos --replace # Replace originals node compress-images.js --help # Show all options
bash
npm install imagemin imagemin-mozjpeg imagemin-pngquant imagemin-gifsicle imagemin-svgo imagemin-webp # or: yarn add / pnpm add
js
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import imageminPngquant from 'imagemin-pngquant';
const files = await imagemin(['src/images/*.{jpg,png}'], {
destination: 'dist/images',
plugins: [
imageminMozjpeg({ quality: 75 }),
imageminPngquant({ quality: [0.65, 0.80] }),
],
});
console.log(`Compressed ${files.length} files`);js
import { readFile, writeFile } from 'fs/promises';
const buffer = await readFile('input.jpg');
const compressed = await imagemin.buffer(buffer, {
plugins: [imageminMozjpeg({ quality: 75 })],
});
await writeFile('output.jpg', compressed);js
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import imageminPngquant from 'imagemin-pngquant';
import imageminGifsicle from 'imagemin-gifsicle';
import imageminSvgo from 'imagemin-svgo';
await imagemin(['src/**/*.{jpg,jpeg,png,gif,svg}'], {
destination: 'dist/images',
plugins: [
imageminMozjpeg({ quality: 80 }),
imageminPngquant({ quality: [0.65, 0.80], speed: 4 }),
imageminGifsicle({ optimizationLevel: 2 }),
imageminSvgo({ plugins: [{ name: 'removeViewBox', active: false }] }),
],
});js
import { stat } from 'fs/promises';
for (const file of files) {
const before = (await stat(file.sourcePath)).size;
const after = file.data.length;
const saved = (((before - after) / before) * 100).toFixed(1);
console.log(`${file.sourcePath} → saved ${saved}%`);
}Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- name: imagemin description: Image compression skill using imagemin library. Compresses JPEG, PNG, GIF, SVG, and WebP images with optimized quality settings. Includes performance optimization techniques, batch processing strategies, and a ready-to-use CLI tool for AI assistants to invoke. --- imagemin Skill Overview imagemin is a Node.js image compression library that supports JPEG, PNG, GIF, SVG, and WebP via plu
imagemin is a Node.js image compression library that supports JPEG, PNG, GIF, SVG, and WebP
via plugins. v8+ is ESM-only — use import syntax or set "type": "module" in package.json.
For CommonJS projects, pin to imagemin@7.
| Format | Plugin | Recommended quality / options | Notes |
|--------|---------------------|--------------------------------------|------------------------------------|
| JPEG | imagemin-mozjpeg | quality: 75–85 | Good balance for photos |
| PNG | imagemin-pngquant | quality: [0.65, 0.80], speed: 4 | Screenshots, icons with alpha |
| GIF | imagemin-gifsicle | optimizationLevel: 2 | Animations, usually enough |
| SVG | imagemin-svgo | removeViewBox: false | Preserve viewBox for proper scale |
| WebP | imagemin-webp | quality: 70–80 | Use only when WebP is requested |
When the user does not specify quality settings, prefer the ranges above and mention in your answer which defaults you are using.
imagemin@7 or migrating to ESM with "type": "module".Ignored build scripts: cwebp-bin, gifsicle, mozjpeg, pngquant-bin, run pnpm approve-builds and ask the user to approve these image-related binaries so that the CLI can actually execute them.scripts/compress-images.js and explain input/output directories and --replace risks.This skill includes a ready-to-use compression script:
scripts/compress-images.js - Command-line tool for batch image compression
Basic usage:
node compress-images.js --input ./images --output ./compressed
node compress-images.js --input ./photos --replace # Replace originals
node compress-images.js --help # Show all options
See scripts/README.md for detailed usage and options.
npm install imagemin imagemin-mozjpeg imagemin-pngquant imagemin-gifsicle imagemin-svgo imagemin-webp
# or: yarn add / pnpm add
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import imageminPngquant from 'imagemin-pngquant';
const files = await imagemin(['src/images/*.{jpg,png}'], {
destination: 'dist/images',
plugins: [
imageminMozjpeg({ quality: 75 }),
imageminPngquant({ quality: [0.65, 0.80] }),
],
});
console.log(`Compressed ${files.length} files`);
import { readFile, writeFile } from 'fs/promises';
const buffer = await readFile('input.jpg');
const compressed = await imagemin.buffer(buffer, {
plugins: [imageminMozjpeg({ quality: 75 })],
});
await writeFile('output.jpg', compressed);
| Plugin | Format | Key Options | |---------------------|--------|------------------------------------| | imagemin-mozjpeg | JPEG | quality (0–100), progressive | | imagemin-jpegtran | JPEG | progressive, arithmetic | | imagemin-pngquant | PNG | quality ([min, max] 0–1), speed | | imagemin-optipng | PNG | optimizationLevel (0–7) | | imagemin-gifsicle | GIF | optimizationLevel (1–3), interlaced| | imagemin-svgo | SVG | plugins (array of SVGO plugins) | | imagemin-webp | → WebP | quality (0–100), lossless |
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import imageminPngquant from 'imagemin-pngquant';
import imageminGifsicle from 'imagemin-gifsicle';
import imageminSvgo from 'imagemin-svgo';
await imagemin(['src/**/*.{jpg,jpeg,png,gif,svg}'], {
destination: 'dist/images',
plugins: [
imageminMozjpeg({ quality: 80 }),
imageminPngquant({ quality: [0.65, 0.80], speed: 4 }),
imageminGifsicle({ optimizationLevel: 2 }),
imageminSvgo({ plugins: [{ name: 'removeViewBox', active: false }] }),
],
});
import { stat } from 'fs/promises';
for (const file of files) {
const before = (await stat(file.sourcePath)).size;
const after = file.data.length;
const saved = (((before - after) / before) * 100).toFixed(1);
console.log(`${file.sourcePath} → saved ${saved}%`);
}
import imageminWebp from 'imagemin-webp';
await imagemin(['images/*.{jpg,png}'], {
destination: 'build/images',
plugins: [imageminWebp({ quality: 75 })],
});
{
data: Buffer, // compressed image data
sourcePath: string, // original file path
destinationPath: string // output file path
}
Process multiple images in parallel with controlled concurrency to maximize throughput:
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import pLimit from 'p-limit';
import { readdir } from 'fs/promises';
import { join } from 'path';
const limit = pLimit(4); // Process 4 images concurrently
const inputDir = 'src/images';
const outputDir = 'dist/images';
const files = await readdir(inputDir);
const tasks = files
.filter(f => /\.(jpg|png)$/i.test(f))
.map(file => limit(() =>
imagemin([join(inputDir, file)], {
destination: outputDir,
plugins: [imageminMozjpeg({ quality: 80 })],
})
));
const results = await Promise.all(tasks);
console.log(`Processed ${results.flat().length} images`);
For large batches, process in chunks to avoid memory exhaustion:
function chunk(array, size) {
const chunks = [];
for (let i = 0; i < array.length; i += size) {
chunks.push(array.slice(i, i + size));
}
return chunks;
}
const allFiles = ['img1.jpg', 'img2.jpg', /* ... hundreds more ... */];
const batches = chunk(allFiles, 50); // Process 50 files at a time
for (const batch of batches) {
await imagemin(batch, {
destination: 'dist/images',
plugins: [imageminMozjpeg({ quality: 80 })],
});
console.log(`Completed batch of ${batch.length} files`);
}
Use buffer API for individual large files to avoid loading entire directories:
import { readFile, writeFile } from 'fs/promises';
import { readdir } from 'fs/promises';
const files = await readdir('large-images');
for (const file of files) {
const buffer = await readFile(`large-images/${file}`);
const compressed = await imagemin.buffer(buffer, {
plugins: [imageminMozjpeg({ quality: 75 })],
});
await writeFile(`output/${file}`, compressed);
console.log(`Compressed ${file}`);
}
Process nested directory structures:
import imagemin from 'imagemin';
import imageminMozjpeg from 'imagemin-mozjpeg';
import imageminPngquant from 'imagemin-pngquant';
// Glob pattern handles nested directories automatically
await imagemin(['src/**/*.{jpg,jpeg,png}'], {
destination: 'dist/images',
plugins: [
imageminMozjpeg({ quality: 80 }),
imageminPngquant({ quality: [0.65, 0.80] }),
],
glob: {
// Preserve directory structure in output
expandDirectories: {
files: ['*'],
extensions: ['jpg', 'jpeg', 'png']
}
}
});
Monitor progress for large batches:
import cliProgress from 'cli-progress';
const progressBar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
const files = ['img1.jpg', 'img2.jpg', /* ... */];
progressBar.start(files.length, 0);
for (let i = 0; i < files.length; i++) {
await imagemin([files[i]], {
destination: 'output',
plugins: [imageminMozjpeg({ quality: 80 })],
});
progressBar.update(i + 1);
}
progressBar.stop();
Only compress images above a certain size threshold:
import { stat } from 'fs/promises';
import { readdir } from 'fs/promises';
import { join } from 'path';
const minSize = 100 * 1024; // 100 KB
const files = await readdir('images');
const largeFiles = [];
for (const file of files) {
const filePath = join('images', file);
const stats = await stat(filePath);
if (stats.size > minSize) {
largeFiles.push(filePath);
}
}
await imagemin(largeFiles, {
destination: 'output',
plugins: [imageminMozjpeg({ quality: 80 })],
});
console.log(`Compressed ${largeFiles.length} files over ${minSize / 1024}KB`);
Based on real-world usage, here are typical compression ratios you can expect:
| Image Type | Original Size | Compressed Size | Savings | Settings |
|------------|---------------|-----------------|---------|----------|
| JPEG Photo | 2.4 MB | 850 KB | 64.6% | quality: 80 (mozjpeg) |
| JPEG Photo | 2.4 MB | 450 KB | 81.3% | quality: 65 (mozjpeg) |
| PNG Screenshot | 1.2 MB | 320 KB | 73.3% | quality: [0.65, 0.80] (pngquant) |
| PNG Icon | 45 KB | 12 KB | 73.3% | quality: [0.65, 0.80] (pngquant) |
| GIF Animation | 850 KB | 680 KB | 20.0% | optimizationLevel: 2 (gifsicle) |
| SVG Logo | 28 KB | 8 KB | 71.4% | default (svgo) |
| WebP Conversion | 2.4 MB (JPEG) | 380 KB | 84.2% | quality: 75 (webp) |
import { stat } from 'fs/promises';
const qualities = [60, 70, 80, 90];
console.log('Quality | Size | Savings');
console.log('--------|---------|--------');
for (const quality of qualities) {
const result = await imagemin(['photo.jpg'], {
destination: `output-q${quality}`,
plugins: [imageminMozjpeg({ quality })],
});
const originalSize = (await stat('photo.jpg')).size;
const compressedSize = result[0].data.length;
const savings = (((originalSize - compressedSize) / originalSize) * 100).toFixed(1);
console.log(`${quality} | ${(compressedSize / 1024).toFixed(0)} KB | ${savings}%`);
}
// Example output:
// Quality | Size | Savings
// --------|---------|--------
// 60 | 245 KB | 89.8%
// 70 | 380 KB | 84.2%
// 80 | 620 KB | 74.2%
// 90 | 1250 KB | 48.0%
import { stat } from 'fs/promises';
const files = await imagemin(['photos/*.jpg'], {
destination: 'compressed',
plugins: [imageminMozjpeg({ quality: 80 })],
});
let totalOriginal = 0;
let totalCompressed = 0;
for (const file of files) {
const originalSize = (await stat(file.sourcePath)).size;
const compressedSize = file.data.length;
totalOriginal += originalSize;
totalCompressed += compressedSize;
}
const averageSavings = (((totalOriginal - totalCompressed) / totalOriginal) * 100).toFixed(1);
console.log(`Total: ${(totalOriginal / 1024 / 1024).toFixed(1)} MB → ${(totalCompressed / 1024 / 1024).toFixed(1)} MB`);
console.log(`Average savings: ${averageSavings}%`);
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/contract"
curl -s "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
The Frontend for Agents & Generative UI. React + Angular
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-10-09T21:48:16.520Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "OPENCLEW",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
},
{
"key": "actually",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "i",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "expect",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "jpeg",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:actually|supported|profile capability:i|supported|profile capability:expect|supported|profile capability:jpeg|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"category": "integration",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "vendor",
"label": "Vendor",
"value": "Ishawnwang",
"category": "vendor",
"href": "https://github.com/iShawnWang/imagemin-skill",
"sourceUrl": "https://github.com/iShawnWang/imagemin-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T01:15:03.682Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T01:15:03.682Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "1 GitHub stars",
"category": "adoption",
"href": "https://github.com/iShawnWang/imagemin-skill",
"sourceUrl": "https://github.com/iShawnWang/imagemin-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T01:15:03.682Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/ishawnwang-imagemin-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub · GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true,
"metadata": {}
}
]Sponsored
Ads related to imagemin and adjacent AI workflows.