What is cache-guard?
cache-guard is a Claude Code mod by boxiaolanya2008 that stabilize the prompt-cache prefix, audit compaction fidelity, and report real cache hit numbers per turn. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | boxiaolanya2008 |
| Repository | boxiaolanya2008/claudecode-plus-mod |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (61/100) |
| Rank | #2,757 of 5,272 Claude Code mods; #317 in Security |
| Last commit | 2026-10-07 |
| Hooks | 0 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is cache-guard safe to install?
cache-guard scores 61/100 on the MCPMods security check: Review before installing. Things to review: validator reported problems. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Flag |
| No license detected | Note |
How do I install cache-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/boxiaolanya2008/claudecode-plus-mod claude plugin validate ./claudecode-plus-mod/mods/cache-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add boxiaolanya2008/claudecode-plus-mod && claude plugin install cache-guard@claudecode-plus-mod
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-guard for you:
Install the "cache-guard" Claude Code mod from https://github.com/boxiaolanya2008/claudecode-plus-mod/tree/master/mods/cache-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from boxiaolanya2008/claudecode-plus-mod
This repository has 6 Claude Code mods on MCPMods.
- plus: All claudecode-plus-mod Mods in one install: prompt-shield, cache-guard, human-tone, clear-intent and agent-charter. (Review before installing)
- agent-charter: Pin an agent charter into the system prompt: skills-first workflow, per-language comment standards, commit format and br (Review before installing)
- clear-intent: Attach an intent protocol to every prompt: restate the goal, separate confirmed from assumed, ask before acting on vague (Review before installing)
- human-tone: Pin a house style into the system prompt: direct, human answers with no filler praise or over-formatting. (Review before installing)
- prompt-shield: Strip invisible fingerprint characters from outgoing prompts and audit what the model actually receives. (Review before installing)