auto-compact
by u6vu06Ou · ★ 0 · updated 16 days ago
0
Auto-compacts an idle Claude Code conversation shortly before the prompt cache expires, so the next summarization request warms the cache instead of reprocessing the full history.
Install
/plugin marketplace add u6vu06Ou/auto-compact/plugin install auto-compact@auto-compactThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startturn.step- API calls
$.clock.after$.clock.now$.env.get$.fs.read$.fs.write$.session.compact$.session.id$.session.model$.ui.toast- Reach
- level 2 of 3 writes filesdrives 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/u6vu06Ou/auto-compact
- Path in repo
- repository root
- Source commit
4ce3972the exact code the scan read- Author
- @u6vu06Ou
- 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.