All Claude Code modsdavidar/claude-idle-compact
idle-compact
Compacts an idle interactive session shortly before its prompt cache expires, so coming back later doesn't re-read the whole context uncached.
idle-compact reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 4
- API methods referenced: 9
- Access from classified calls: L2, writes or runs: drives Claude, reads mod state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install idle-compact@anthropic-plugin-directoryFrom Anthropic's plugin directory. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsdrives Claude, reads mod state, drawsValidation
PassedListed under Prompt cache mods for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Anthropic directory
- Listed as
idle-compact@anthropic-plugin-directory - Observed events
- Only what it hooks
- Hooks
turn.start, turn.complete, session.end, session.start- API calls
$.clock.after, $.clock.now, $.session.compact, $.session.id, $.session.usage, $.state.get, $.state.set, $.ui.log, $.ui.status- Validation
- Passed
- Scanned revision
35ec925345ac- Marketplace passed
- idle-compact
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.
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/davidar--claude-idle-compact--idle-compact/)
[](https://mods.aidojo.si/mods/davidar--claude-idle-compact--idle-compact/)