prompt-cache-watch

by Rama Krishna Bachu · ★ 0 · updated 10 days ago

PanesBandsCommandsvalidates

0

Shows how much of each request the prompt cache served, and tells you when the cache was rebuilt and the likely reason.

install prompt-cache-watch

Install

/plugin marketplace add ramankrishna/prompt-cache-watch
/plugin install prompt-cache-watch@ramankrishna-prompt-cache-watch

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.startcommand.runturn.startturn.stepturn.completesession.compactui.render
API calls
$.clock.now$.command.register$.state.get$.state.set$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
compaction
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/ramankrishna/prompt-cache-watch
Path in repo
repository root
Source commit
31d819b the exact code the scan read
Author
Rama Krishna Bachu @ramankrishna
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.