claudemods

All Claude Code modskrysmalskipl/claude-code-mods

cache-stats

A Claude Code mod in krysmalskipl/claude-code-mods

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.

cache-stats reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readsreads mod state, draws

Validation

Passed on Claude Code 2.1.312

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, turn.step, turn.complete, command.run {command=cache}, ui.render {component=AbovePrompt}
API calls
$.clock.every, $.clock.now, $.command.register, $.state.get, $.state.set, $.ui.resolve
Validation on 2.1.312
Passed
Scanned revision
ce9b329a8cf3
Marketplace passed
krysmalskipl

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from krysmalskipl/claude-code-mods

Badge for your README

Reach badge for cache-stats Validation badge for cache-stats

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/krysmalskipl--claude-code-mods--cache-stats-reach.svg)](https://mods.aidojo.si/mods/krysmalskipl--claude-code-mods--cache-stats/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/krysmalskipl--claude-code-mods--cache-stats-validates.svg)](https://mods.aidojo.si/mods/krysmalskipl--claude-code-mods--cache-stats/)