What is cache-sentinel?
cache-sentinel is a Claude Code mod by weskao that warns above the prompt and in a toast before a /model, /effort or /fast switch or an idle gap re-writes the prompt cache, with tokens and est. USD; stops the first /model on a warm cache. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | weskao |
| Repository | weskao/weskao-agent-plugins |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (52/100) |
| Rank | #9,118 of 9,397 Claude Code mods; #1,829 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-09 |
| Hooks | 7 events |
| Sees | Bash calls |
| Draws on | AbovePrompt |
Is cache-sentinel safe to install?
cache-sentinel scores 52/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 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 |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.id | |
$.session.model | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install cache-sentinel?
- 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/weskao/weskao-agent-plugins claude plugin validate ./weskao-agent-plugins/plugins/cache-sentinel
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add weskao/weskao-agent-plugins && claude plugin install cache-sentinel@weskao-agent-plugins
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-sentinel for you:
Install the "cache-sentinel" Claude Code mod from https://github.com/weskao/weskao-agent-plugins/tree/main/plugins/cache-sentinel. Run claude plugin validate on it first and show me what it can access before you enable it.
More from weskao/weskao-agent-plugins
This repository has 4 Claude Code mods on MCPMods.
- message-clock: Grok-style right-aligned clock on each sent prompt and each reply message (Review before installing)
- prompt-toc: Markdown-style TOC pane of your prompts and reply headings; press one to scroll there. Prompts-only chip, time per promp (Review before installing)
- skill-step-progress: Live pane showing the current step and overall progress of this session's flows, one box per run: /commit (and any flow (High risk)