Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add micompress/micompress-mcp --skill compress-filesgit clone --depth 1 https://github.com/micompress/micompress-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/micompress/micompress-mcp/compress-files)<a href="https://agentmods.dev/skills/micompress/micompress-mcp/compress-files"><img src="https://agentmods.dev/badge/skills/micompress/micompress-mcp/compress-files/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/micompress/micompress-mcp/compress-files"><img src="https://agentmods.dev/badge/skills/micompress/micompress-mcp/compress-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.00358 |
| Opus 5.5 | $0.00021 | $0.00143 |
| Sonnet 5.5 | $0.00010 | $0.00072 |
| Haiku 4.5 | $0.00005 | $0.00036 |
Grade A, and why
compress-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Compress files with MiCompress
Two MiCompress servers come with this plugin. Pick by where the file is:
- File on this computer (a path such as
./assets/photo.png): use the local server'scompress_file. It writes the smaller copy next to the original with a-minsuffix, or tooutput_pathif the user names one. Only overwrite the original when the user asks for it. - File at a public link (a direct download link, or a Google Drive or Dropbox share link):
use
compress_file_from_url. It returns a download link valid for 24 hours. If the result says the job is still processing, callget_compression_resultwith its job ID after a short wait.
Choosing a preset:
| Goal | Preset |
|---|---|
| Keep quality identical (print, archives, legal documents) | lossless |
| Everyday use — the default | recommended |
| Smallest possible file, e.g. to get under an email limit | extreme |
For images headed to a web page, also pass max_width (for example 1600 for full-width
images, 800 for thumbnails).
After compressing, tell the user the size before and after and where the result is. If a format
is rejected, call list_supported_formats and say which formats are supported.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 30 lines · 52 tokens per session scan A 5b106a73cf11
compress-files is a skill published in the GitHub repository micompress/micompress-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 52 tokens to every session and 358 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.
compress-files compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compress-filesmicompress/micompress-mcp | Skill | 0 | 4d ago | MIT | A | 52 | Claude Code |
| product-data-cleanupAlpacaLabsLLC/skills-for-architects | Skill | 404 | 5d ago | MIT | A | 42 | Claude Code |
| citraSylphxAI/pdf-reader-mcp | Skill | 1.0k | 21d ago | MIT | A | 0 | Claude Code, Codex |
| release-syncyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 62 | Claude Code |
| pdf-reportindranilbanerjee/digital-marketing-pro | Skill | 932 | 9d ago | MIT | A | 25 | Claude Code |
| latexflonat/flonat-research | Skill | 149 | 5d ago | MIT | A | 74 | Claude Code |
| beamer-deckflonat/flonat-research | Skill | 149 | 5d ago | MIT | A | 63 | Claude Code |