Claude Code mod
cache-stats
Your prompt cache above the prompt: how long it stays warm, the hit rate, what a cold restart re-caches, and how long the session has run. /cache shows every miss and why.
Install
/plugin marketplace add krysmalskipl/claude-code-mods
/plugin install cache-stats@krysmalskiplMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads mod state, draws
- Draws in
AbovePrompt- Hooks
session.startturn.stepturn.completecommand.runui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- krysmalskipl/claude-code-mods
- Folder
mods/cache-stats- Marketplace
krysmalskipl- Author
- Jakub Krysmalski
- License
- MIT
- Last updated
- 14 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is cache-stats?
Your prompt cache above the prompt: how long it stays warm, the hit rate, what a cold restart re-caches, and how long the session has run. /cache shows every miss and why. It is a mod for Claude Code, from krysmalskipl/claude-code-mods on GitHub.
What can the cache-stats mod access?
Its widest reach is "reads" (reads mod state, draws). It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install cache-stats?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add krysmalskipl/claude-code-mods and then /plugin install cache-stats@krysmalskipl.
More context & usage mods
cache-meter
Spendry/claude-code-mods
Shows above the prompt how warm the prompt cache is, what a cache miss would cost to rewrite, context fill, and the session's API-rate cost
centinela
GuillermoAlbert/claude-mods
Banda sobre el prompt con el uso de la sesión de 5 h, la semana, otros límites, el contexto y la cuenta atrás de la caché
cache-keeper
davidho27941/cockpit
Keeps the prompt cache warm while a session idles: every 50 minutes (configurable) one tiny request over the conversation prefix, so the entry does not lapse after an hour
clawd
tibzejoker/claude-mods
Clawd's HQ: Clawd lives in a pixel art office, mimes what Claude does, and a game HUD shows the model, context and rate limits
cache-guard
boxiaolanya2008/claudecode-plus-mod
Stabilize the prompt-cache prefix, audit compaction fidelity, and report real cache hit numbers per turn.
context-bar
ziedgithub/claude-code-mods
A footer showing the model and effort, how full the context window is, and the prompt cache, with one-click compact and clear
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.