All Claude Code modsymnao/dotfiles
idle-compactor
Compacts an idle Claude Code session shortly before its 1-hour prompt cache expires, so coming back later re-sends a short summary instead of the whole conversation uncached.
idle-compactor reaches L2 (writes or runs) and passed claude plugin validate with warnings.
- Events hooked: 5
- API methods referenced: 12
- Access from classified calls: L2, writes or runs: drives Claude, reads env vars, reads settings, persists state, draws
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsdrives Claude, reads env vars, reads settings, persists state, drawsValidation
Passed with warningsListed under Prompt cache mods for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- compaction
- Hooks
session.start, command.run {command=idle-compactor}, turn.start, turn.complete, session.compact- API calls
$.clock.every, $.clock.now, $.command.register, $.command.run, $.env.get, $.session.compact, $.session.id, $.session.usage, $.settings.read, $.store.get, $.store.set, $.ui.log- Validation
- Passed with warnings
- Scanned revision
b823afe72fd8- Marketplace warnings
- claude-idle-compactor
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from ymnao/dotfiles
- issue-suggestLists open issues of the session's GitHub repo above the prompt box while the word at the cursor starts with…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/ymnao--dotfiles--idle-compactor/)
[](https://mods.aidojo.si/mods/ymnao--dotfiles--idle-compactor/)