Image Compressor
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_e41a5bf9/wsj-image.
About this skill
Problem
Image folders often contain a mix of jpg, png, and webp files from different sources. Manually opening a compression tool, exporting each image, and compiling size results is slow and easy to botch. image-compressor turns this into a folder-level task: read images, compress at a fixed quality, overwrite or create copies, and report comparable sizes and compression ratios.
Workflow
- Batch discovery: scans a target folder for
jpg/png/webpimages, so the processing set is explicit instead of manually curated. - Fixed compression policy: uses a system image compression tool at 70% quality, which is useful for producing a publishable size pass quickly.
- Output control: can overwrite the original files or generate compressed copies, making before-and-after comparison easier.
- Compression report: outputs original size, compressed size, and compression ratio, helping identify which files gain the most.
Boundaries
It fits bulk size reduction, such as asset packages, web resource folders, or pre-delivery image cleanup. It is not intended for per-image fine tuning, name-based or color-depth-specific rules, or workflows that require transparent channels, metadata, and EXIF data to remain strictly unchanged. The fixed 70% quality strategy may produce limited savings on already highly compressed images.
Use Cases
- Before launch, clean a web asset folder and batch-compress mixed jpg, png, and webp files at 70% quality into copies.
- Before shipping a media package, scan a target folder, compress images with a fixed quality policy, and report sizes and ratios.
- Compare originals with compressed output, overwrite high-benefit images, and keep low-benefit copies for manual review.
- While organizing campaign page resources, reduce the size of uncompressed images for upload and preview.
Best For
- Frontend engineers delivering web or mini-program assets who need to reduce image size in bulk and verify compression results.
- Design operations managers handling campaign asset packs who need consistent compression of jpg, png, and webp files plus a report.
- Engineers preparing delivery cleanup who need to overwrite originals or create copies instead of processing images one by one.
- Media editors reviewing compression gains who want to filter files by original size, compressed size, and compression ratio.
Related Skills
Uses step-by-step choices to confirm business, palette, and layout, then exports an editable .drawio architecture diagram.
An agent skill for the Miaoyin AI music REST API that supports SUNO/Mureka-based song generation, continuation, cover, video, WAV, and stem splitting.
Distills text, files, or images into structured knowledge and generates knowledge-card prompts for drawing tools, supporting 3:4 portrait or 16:9 landscape outputs.
Capture full-page, viewport, or element screenshots with Playwright while handling lazy loading, internal scroll, mobile layouts, and Linux CJK fonts.