idle-compact
by Wrysk · ★ 0 · updated 9 days ago
0
Compacts the session once it is 20% full and has been idle 50 minutes, while the prompt cache is still warm.
Install
/plugin marketplace add wryskware/claude-mods/plugin install idle-compact@claude-modsThen 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.startprompt.submitturn.complete- API calls
$.clock.every$.clock.now$.session.compact$.session.usage$.ui.log- Can see
every prompt- Reach
- level 2 of 3 drives Claudedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/wryskware/claude-mods
- Path in repo
mods/idle-compact- Source commit
23234e1the exact code the scan read- Author
- Wrysk @wryskware
- License
- No license declared — ask the author before reusing code.
- 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.