cache-keeper

cache-keeper is a Claude Code mod by pauldandurand that one-line bar above the prompt with a live prompt-cache countdown, when your 5-hour usage resets, and Compact / Handoff buttons when the cache is about to expire.

Updated 2026-10-06

What is cache-keeper?

cache-keeper is a Claude Code mod by pauldandurand that one-line bar above the prompt with a live prompt-cache countdown, when your 5-hour usage resets, and Compact / Handoff buttons when the cache is about to expire. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorpauldandurand
Repositorypauldandurand/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#4,255 of 5,272 Claude Code mods; #810 in Cost & usage
Last commit2026-10-06
Hooks7 events
Seesonly the events it hooks
Draws onAbovePrompt

Is cache-keeper safe to install?

cache-keeper scores 76/100 on the MCPMods security check: Review before installing. Things to review: 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 no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.session.messagesreads the transcript
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install cache-keeper?

  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/pauldandurand/claude-mods
    claude plugin validate ./claude-mods/cache-keeper
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add pauldandurand/claude-mods && claude plugin install cache-keeper@claude-mods

Or ask Claude to set it up

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

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