All shelves / Mods / Usage
cache-watcher
By nikisge
cache-watcher is a Claude Code usage mod by nikisge.
Draws the cache time, the context, the plan limits, and this session's API value above the prompt, and a press can keep the cache warm.
Draws
Install
The marketplace name is niklas-mods.
claude plugin marketplace add nikisge/niklas-mods claude plugin install cache-watcher@niklas-mods --scope user
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.1
- Repo stars
- 6
- Last change
- 2026-10-05
What it can reach
- Draws in the session
- Reads usage or context figures
- Runs a command when you press
The line above the prompt and its buttons are German. Needs Claude Code 2.1.287 or later. It runs in the terminal and in the desktop app's Code tab. The line shows how long the prompt cache stays warm, the context, the 5-hour and weekly limits, and this session's API value. Five minutes before the cache goes cold, it plays a sound, shows a notice, and draws a red warning line. Warm halten sends a short prompt that keeps the cache warm for another hour. Komprimieren is the other button. The line runs on its own. The cache window sits at the top of cache-watcher/hooks/register.tsx: 60 minutes for a subscription, and 5 for an API key. Restart Claude Code after installing.
The install name is cache-watcher. This page adds the author's name. The marketplace name is niklas-mods. The marketplace also holds arbeitsliste, peitsche, and other mods. This one installs on its own. The cache line is why this page files it under usage. keepalive-alexandernicholson draws a prompt-cache bar for each conversation, and can keep an idle cache warm or compact it before it expires. cache-timer draws a countdown above the prompt until the prompt cache expires, then how many tokens the next message writes again. The source's keep-warm prompt asks the model to answer only ok. The source runs compact for Komprimieren. The source's warning says the next prompt pays full price once the cache is cold. The sound is played by Claude Code itself, so this page does not list another program. The short prompt is a model call on the login Claude Code already holds, so this page does not list network access.
Demo

What it hooks into
session.startWhen a session startsturn.startWhen Claude starts a turnturn.completeWhen a turn endsui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- nikisge
- Category
- Usage
- Marketplace
- niklas-mods
- Folder
- cache-watcher
- Version
- 0.2.1
- Repo stars
- 6
- Last change
- 2026-10-05
- Language
- TypeScript
- Files
- 7