All Claude Code modsRohitp/claude-mods
cache-guard
Counts down the prompt cache, warns before it goes stale, and can keep it warm with cheap cache-read pings.
cache-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings on Claude Code 2.1.308.
- Events hooked: 10
- API methods referenced: 14
- Access from classified calls: L2, writes or runs: drives Claude, 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 cache-guard --marketplace Rohitp/claude-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 runsdrives Claude, reads mod state, persists state, drawsValidation
Passed with warnings on Claude Code 2.1.308Listed under Prompt cache mods for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, compaction
- Hooks
session.start, session.end, prompt.submit, prompt.edit, turn.complete, session.measure, session.compact, turn.step, command.run {command=cache}, ui.render {component=Pane, requestId=cache-guard}, ui.render {component=AbovePrompt}- API calls
$.clock.every, $.clock.now, $.command.register, $.model.fork, $.session.compact, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.log, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast- Validation on 2.1.308
- Passed with warnings
- Scanned revision
50cd4285e1c5- Marketplace warnings
- claude-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 Rohitp/claude-mods
- context-lensA pane and a one-line band showing what fills the context window, by category and by biggest item.
- lessonsSpots repeated failures and re-fetch loops as they happen, nudges the model, and turns them into small priced…
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/Rohitp--claude-mods--cache-guard/)
[](https://mods.aidojo.si/mods/Rohitp--claude-mods--cache-guard/)