ultracompress

by Michael Berardi · ★ 2 · updated yesterday

ToastsGuardsTools & agentsvalidates

0

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 tool over the raw session transcript.

install ultracompress

Install

git clone https://github.com/michael-berardi/ultracompress
claude --plugin-dir ./ultracompress/claude-code

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.compactsession.starttool.call
API calls
$.env.get$.fs.stat$.process.run$.session.cwd$.session.id$.tool.register$.ui.log$.ui.toast
Can see
compaction? calls
Reach
level 2 of 3 runs processesdrives Claudereads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/michael-berardi/ultracompress
Path in repo
claude-code
Author
Michael Berardi @michael-berardi
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.