Skip to content
ccmods.app

cache-refresher

v0.2.2

Shows when the prompt cache expires and what a rebuild would cost, with an opt-in auto-refresh while you are away.

by @olddonkey3Updated Moderate accessGitHub

Installation

  1. Install from your shell (answer y to add the marketplace)

    $ claude plugin install cache-refresher --marketplace olddonkey/cache-refresher

Already in a session? Type this at the Claude Code prompt:

$ /plugin install cache-refresher --marketplace olddonkey/cache-refresher

Pick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

What does cache-refresher do?

  • Status bar above the prompt with countdown ring, cached token count and rebuild cost
  • /cache-panel shows expiry vs refresh cost, break-even point and recent cache hits
  • /cache-ping refreshes the cache now; /cache-status prints lifetime and cost figures
  • /cache-auto turns on auto-refresh with a per-idle-period limit (default 12)
  • /cache-lang sets one of 43 display languages

What do you need?

  • Claude Code 2.1.287 or later (terminal)

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Moderate access
  • Reads environment variables or settings
  • Calls models on your plan (uses quota)
Hooks and engine calls (11 + 17)

hooks

  • classic.PostModelSwitch
  • classic.SessionStart
  • command.run{command=cache-auto}
  • command.run{command=cache-lang}
  • command.run{command=cache-panel}
  • command.run{command=cache-ping}
  • command.run{command=cache-status}
  • session.start
  • turn.step
  • ui.render{component=AbovePrompt}
  • ui.render{component=Pane, requestId=cache}

calls

  • $.clock.every
  • $.clock.now
  • $.command.register
  • $.env.get
  • $.model.fork
  • $.session.usage
  • $.state.get
  • $.state.set
  • $.store.delete
  • $.store.get
  • $.store.set
  • $.ui.invalidate
  • $.ui.log
  • $.ui.open
  • $.ui.panes
  • $.ui.resolve
  • $.ui.toast

How do you uninstall cache-refresher?

$ claude plugin uninstall cache-refresher

To switch it off without removing it, use claude plugin disable with the same name.

Do you maintain cache-refresher?

Add this badge to your README so users can jump to this page for the install command and access report.

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/cache-refresher)

prompt-cache-control

Nasrallah-Adel/claude-prompt-cache-control

1

Shows a prompt-cache meter above the prompt with hit rate and a countdown to expiry, and suggests /compact or /clear.

UIPromptCommandsBroad access
$ claude plugin install prompt-cache-control --marketplace Nasrallah-Adel/claude-prompt-cache-control

cache-ttl-statusline

JerrettDavis/ClaudeStatusLineWidgets

4

Status line with model, cost, context bar, prompt cache TTL, 5h/7d usage bars and git state, drawable as a native mod band.

UICommandsBroad access
$ claude plugin install cache-ttl-statusline --marketplace JerrettDavis/ClaudeStatusLineWidgets

sidebar

FayequeP/sidebar

3

Docks a live stats sidebar beside the session: context use, tokens, cache hit rate and expiry, output speed, tasks and git state.

UIToolsCommandsBroad access
$ claude plugin install sidebar --marketplace FayequeP/sidebar