cache-watch

by Ishu Agrawal · ★ 2 · updated 5 days ago

BandsCommandsvalidates

0

A band above the prompt that counts down to your prompt cache expiring and shows what it costs your next message

install cache-watch

Install

/plugin marketplace add ishuagrawal/cache-watch
/plugin install cache-watch@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.startclassic.SessionStartclassic.Stopturn.completeclassic.PostModelSwitchcommand.runui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.process.run$.prompt.read$.session.id$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
classic hooks
Reach
level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setruns processesreads env varspersists 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/ishuagrawal/cache-watch
Path in repo
plugin
Source commit
eb69b7d the exact code the scan read
Author
Ishu Agrawal @ishuagrawal
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.