All Claude Code modsziedgithub/claude-code-mods
warm-compact
Compacts an idle session just before its prompt cache goes cold, or keeps the cache warm while you're away, so your next prompt doesn't re-read the whole conversation uncached. Two chips under the prompt, /warm-compact and /keep-warm turn each on or off for a session.
warm-compact reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 9
- API methods referenced: 22
- Access from classified calls: L2, writes or runs: writes files, drives Claude, reads files, reads env vars, reads settings, reads the prompt box, reads mod state, persists 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 warm-compact --marketplace ziedgithub/claude-code-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runswrites files, drives Claude, reads files, reads env vars, reads settings, reads the prompt box, reads mod state, persists state, drawsValidation
PassedListed 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, turn.start, turn.complete, prompt.edit, turn.step, session.compact, command.run {command=warm-compact}, command.run {command=keep-warm}, ui.render {component=PromptHint}, session.end- API calls
$.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.model.fork, $.prompt.read, $.session.compact, $.session.id, $.session.model, $.session.usage, $.session.version, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.log, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Passed
- Scanned revision
58887a8e6189- Marketplace passed
- zied-mods
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 ziedgithub/claude-code-mods
- context-barA footer showing the model and effort, how full the context window is, and the prompt cache, with one-click c…
- crab-buddyA pixel-art Claude crab above the prompt that works, thinks, cheers and sleeps with the session, with a small…
- loop-graphLive graph of any project's agent loop in a side pane: the step at work, the path the run takes with its labe…
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/ziedgithub--claude-code-mods--warm-compact/)
[](https://mods.aidojo.si/mods/ziedgithub--claude-code-mods--warm-compact/)