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) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- 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, persists state, draws
- Unclassified calls: 3 (
$.prompt.read,$.state.get,$.state.set), full access unknown - 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 runsother: $.prompt.read, other: $.state.get, other: $.state.set, writes files, drives Claude, reads files, reads env vars, reads settings, persists state, drawsValidation
Passed on Claude Code 2.1.302View 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 on 2.1.302
- Passed
- Scanned revision
7f10e7f15b62- 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. 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…
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/)