All Claude Code modsSanexxxx777/claude-cache-timer
cache-timer
A countdown in the prompt footer: under the hint line on the terminal, left of the model picker on the desktop: time left on the prompt cache and how much of the last request it served, or, when the cache was written again while it should have been warm, why (a model switch, an effort change); after a model switch, before anything is sent, what the other model will write. In Ghostty a big cache also raises a macOS notification before it expires and on a rebuild nobody asked for. Olive while there is plenty, warmer at 10, 5 and 2 minutes left (scaled down for a 5-minute cache). The lifetime follows Claude Code's own rules: 1 hour on a subscription, 5 minutes on an API key or usage credits.
cache-timer reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 6
- API methods referenced: 10
- Access from classified calls: L2, writes or runs: runs processes, reads files, reads env vars, draws
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, reads files, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks
- Hooks
session.start, session.end, turn.step, classic.PostModelSwitch, classic.PostCompact, ui.render {component=PromptHint}, ui.render {component=SessionMode}- API calls
$.clock.every, $.env.get, $.fs.read, $.process.run, $.session.cwd, $.session.usage, $.ui.invalidate, $.ui.log, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
2b9164b1c3a1
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/Sanexxxx777--claude-cache-timer--cache-timer/)
[](https://mods.aidojo.si/mods/Sanexxxx777--claude-cache-timer--cache-timer/)