Home / Claude Code mods / Cost & usage / ultracompress

ultracompress

ultracompress is a Claude Code mod by michael-berardi that deterministic local compaction for Claude Code: replaces the stock compaction summarizer with the local UltraCompress binary (no model call, no API cost per compaction) and serves a recall.

Updated 2026-10-16

What is ultracompress?

ultracompress is a Claude Code mod by michael-berardi that deterministic local compaction for Claude Code: replaces the stock compaction summarizer with the local UltraCompress binary (no model call, no API cost per compaction) and serves a recall. It is listed under Cost & usage and has 3 GitHub stars.

TypeClaude code mod
Authormichael-berardi
Repositorymichael-berardi/ultracompress
Popularity3 GitHub stars
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#829 of 5,272 Claude Code mods; #158 in Cost & usage
LicenseMIT
Last commit2026-10-16
Stars this week+1
Hooks3 events
Sees? calls, compaction
Draws onnothing

Is ultracompress safe to install?

ultracompress scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.statreads files
$.process.runruns processes
$.session.cwd
$.session.id
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install ultracompress?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/michael-berardi/ultracompress
    claude plugin validate ./ultracompress/claude-code
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/michael-berardi/ultracompress && claude --plugin-dir ./ultracompress/claude-code

Or ask Claude to set it up

Paste this into Claude Code and it installs ultracompress for you:

Install the "ultracompress" Claude Code mod from https://github.com/michael-berardi/ultracompress/tree/main/claude-code. Run claude plugin validate on it first and show me what it can access before you enable it.