cache-watch

by anthonyhungnguyen · ★ 0 · updated 3 days ago

Toastswarnings

0

Toast when a turn rebuilt the prompt cache, with what it cost and the likely cause

install cache-watch

Install

git clone https://github.com/anthonyhungnguyen/claude-code-mods
claude --plugin-dir ./claude-code-mods/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.startturn.complete
API calls
$.clock.now$.session.usage$.state.get$.state.set$.ui.toast
Reach
level 1 of 3 other: $.state.getother: $.state.setdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/anthonyhungnguyen/claude-code-mods
Path in repo
cache-watch
Author
@anthonyhungnguyen
License
No license declared — ask the author before reusing code.
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 anthonyhungnguyen/claude-code-mods

context-guard

anthonyhungnguyen/claude-code-mods

Context window fill in the status line, with a heads-up before it runs out

★ 0Status line

cost-pane

anthonyhungnguyen/claude-code-mods

Pane of token and USD spend: this session, today, last 7 days

★ 0PanesStatus lineCommands

turn-timer

anthonyhungnguyen/claude-code-mods

Speaks and toasts when a long turn finishes

★ 0ToastsAudio