cache-expiry-notifier
by amrut.deshpande · ★ 0 · updated 8 days ago
0
Notifies you X minutes before your prompt cache expires so you can send a turn before paying the full re-cache cost.
Install
git clone https://github.com/deshpandeamrut/claude-code-modsclaude --plugin-dir ./claude-code-mods/cache-expiry-notifierThen 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.startsession.endcommand.runturn.stepturn.completeui.render- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.read$.fs.stat$.process.run$.prompt.submit$.session.id$.session.root$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudereads filesreads 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/deshpandeamrut/claude-code-mods
- Path in repo
cache-expiry-notifier- Source commit
3c83f85the exact code the scan read- Author
- amrut.deshpande @deshpandeamrut
- 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.