Home / Claude Code mods / Cost & usage / cache-sentinel

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.

Updated 2026-11-09

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.

TypeClaude code mod
Authorweskao
Repositoryweskao/weskao-agent-plugins
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (52/100)
Rank#9,118 of 9,397 Claude Code mods; #1,829 in Cost & usage
LicenseMIT
Last commit2026-11-09
Hooks7 events
SeesBash calls
Draws onAbovePrompt

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.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.process.runruns processes
$.session.id
$.session.model
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install cache-sentinel?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)