cache

by nj-io · ★ 0 · updated 30 days ago

BandsGuardsPromptvalidates

0

Shows how long each subagent's prompt cache has left, and stops Claude waking a large agent whose cache has expired without weighing a fresh start.

install cache

Install

/plugin marketplace add nj-io/cache-countdown
/plugin install cache@cache-countdown

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.stepprompt.submittool.callui.render
API calls
$.agent.list$.clock.every$.clock.now$.prompt.read$.prompt.submit$.settings.read$.state.get$.state.set$.ui.invalidate$.ui.log$.ui.resolve
Draws
AbovePrompt
Can see
every promptevery tool call
Reach
level 2 of 3 drives Claudereads settingsreads the prompt boxreads 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/nj-io/cache-countdown
Path in repo
repository root
Source commit
45ca154 the exact code the scan read
Author
@nj-io
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.

Other mods in Bands, close to this one by stars.