Home / Claude Code mods / Cost & usage / cache-expiry-notifier

cache-expiry-notifier

cache-expiry-notifier is a Claude Code mod by deshpandeamrut that notifies you X minutes before your prompt cache expires so you can send a turn before paying the full re-cache cost.

Updated 2026-10-09

What is cache-expiry-notifier?

cache-expiry-notifier is a Claude Code mod by deshpandeamrut that notifies you X minutes before your prompt cache expires so you can send a turn before paying the full re-cache cost. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authordeshpandeamrut
Repositorydeshpandeamrut/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (68/100)
Rank#3,027 of 5,272 Claude Code mods; #537 in Cost & usage
Last commit2026-10-09
Hooks6 events
Seesonly the events it hooks
Draws onAbovePrompt

Is cache-expiry-notifier safe to install?

cache-expiry-notifier scores 68/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; 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
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.statreads files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.id
$.session.root
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install cache-expiry-notifier?

  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/deshpandeamrut/claude-code-mods
    claude plugin validate ./claude-code-mods/cache-expiry-notifier
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/deshpandeamrut/claude-code-mods && claude --plugin-dir ./claude-code-mods/cache-expiry-notifier

Or ask Claude to set it up

Paste this into Claude Code and it installs cache-expiry-notifier for you:

Install the "cache-expiry-notifier" Claude Code mod from https://github.com/deshpandeamrut/claude-code-mods/tree/master/cache-expiry-notifier. Run claude plugin validate on it first and show me what it can access before you enable it.