All Claude Code modscjavdev/mods
cache-saver
When an idle session's prompt cache is about to expire, summarizes it while the cache is still warm; when you come back, pick A (keep the full session, pay the cache write) or B (continue from the summary).
cache-saver reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 10
- API methods referenced: 17
- Access from classified calls: L2, writes or runs: runs processes, drives Claude, writes the prompt box, draws
- Unclassified calls: 3 (
$.prompt.read,$.state.get,$.state.set), full access unknown - 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 runsother: $.prompt.read, other: $.state.get, other: $.state.set, runs processes, drives Claude, writes the prompt box, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, compaction, every prompt
- Hooks
session.start, turn.start, turn.complete, turn.step, classic.Stop, classic.PostModelSwitch, session.compact, session.end, prompt.submit, ui.render {component=Pane, requestId=cache-saver-summary}, ui.render {component=AbovePrompt}- API calls
$.clock.after, $.clock.every, $.clock.now, $.command.run, $.model.fork, $.process.run, $.prompt.fill, $.prompt.read, $.prompt.submit, $.state.get, $.state.set, $.ui.ask, $.ui.close, $.ui.log, $.ui.open, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
31000a2b481a
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 cjavdev/mods
- cache-shot-clockA shot clock for the prompt cache's TTL: a small countdown in the bar under the prompt, and a big LED clock a…
- context-meterA tiny meter in the bar under the prompt showing how full the context window is: five cells, the percent and…
- link-barLinks in the bar under the prompt to the artifacts and pull requests mentioned most recently in the conversat…
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/cjavdev--mods--cache-saver/)
[](https://mods.aidojo.si/mods/cjavdev--mods--cache-saver/)