All Claude Code modsAgulhas-Labs/claude-plugins
cache-guard
Warns once before a message that will cost far more than usual: a large Claude Code context whose prompt cache has expired, or a model or effort change that resets it. Shows the estimated cost, and offers a handoff file written by a cheap model in the background so you can /clear instead.
cache-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 8
- API methods referenced: 14
- Access from classified calls: L2, writes or runs: runs processes, writes the prompt box, reads files, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install cache-guard@anthropic-plugin-directoryFrom Anthropic's plugin directory. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, writes the prompt box, reads files, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Anthropic directory
- Listed as
cache-guard@anthropic-plugin-directory - Observed events
- classic hooks, every tool call, every prompt
- Hooks
session.end, classic.SessionStart, classic.UserPromptSubmit, turn.complete, tool.call, ui.render {component=AbovePrompt}, session.start {cwd=/"."/}, session.start, session.end {reason=clear|resume}, prompt.submit, ui.render {component=AbovePrompt}- API calls
$.clock.after, $.clock.every, $.clock.now, $.fs.read, $.process.run, $.prompt.fill, $.session.cwd, $.session.id, $.session.usage, $.store.get, $.store.set, $.ui.invalidate, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
ceddbab7535f- Marketplace passed
- agulhas-labs
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 Agulhas-Labs/claude-plugins
- logbookKeeps a live local page for a long Claude Code task: what needs you, what was built, what was verified, and w…
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/Agulhas-Labs--claude-plugins--cache-guard/)
[](https://mods.aidojo.si/mods/Agulhas-Labs--claude-plugins--cache-guard/)