cache-stats

by Jakub Krysmalski · ★ 0 · updated 14 Oct 2026

BandsCommandswarnings

0

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 cache-stats

Install

/plugin marketplace add krysmalskipl/claude-code-mods
/plugin install cache-stats@krysmalskipl

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.stepturn.completecommand.runui.render
API calls
$.clock.every$.clock.now$.command.register$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Reach
level 1 of 3 reads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/krysmalskipl/claude-code-mods
Path in repo
mods/cache-stats
Source commit
ce9b329 the exact code the scan read
Author
Jakub Krysmalski @krysmalskipl
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from krysmalskipl/claude-code-mods

link-check

krysmalskipl/claude-code-mods

Checks the external links Claude adds to pages, posts and templates. Broken ones go back to Claude so it can fix them, and show above the prompt. /links lists them or checks a whole file.

★ 0BandsGuardsCommands

meta-lint

krysmalskipl/claude-code-mods

SEO basics of the page or post Claude just edited, above the prompt: title and meta description length, H1 count, images without alt, word count. /meta-lint shows the details and a search snippet preview.

★ 0BandsGuardsCommands

openrouter-balance

krysmalskipl/claude-code-mods

Your OpenRouter credit above the prompt: the balance with a gauge, today's spend and where the money mostly went. /openrouter-balance shows the breakdown.

★ 0BandsCommands

share-preview

krysmalskipl/claude-code-mods

See how the page you're building shows up in Google and when shared on X, LinkedIn, Slack and Facebook, with the problems that would cost you clicks. /preview opens it, live as Claude edits.

★ 0PanesGuardsCommands