cache-keeper
by pauldandurand · ★ 0 · updated 5 days ago
0
One-line bar above the prompt with a live prompt-cache countdown, when your 5-hour usage resets, and Compact / Handoff buttons when the cache is about to expire.
Install
/plugin marketplace add pauldandurand/claude-mods/plugin install cache-keeper@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.stepturn.completesession.measuresession.endui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.prompt.fill$.prompt.submit$.session.messages$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudewrites the prompt boxreads env varsreads settingsreads the transcriptpersists 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/pauldandurand/claude-mods
- Path in repo
cache-keeper- Source commit
d3b5f46the exact code the scan read- Author
- @pauldandurand
- 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.