claudemods

All Claude Code modsSanexxxx777/claude-cache-timer

cache-timer

A Claude Code mod in Sanexxxx777/claude-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.

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, draws

Validation

Passed on Claude Code 2.1.302

View 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

Reach badge for cache-timer Validation badge for cache-timer

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Sanexxxx777--claude-cache-timer--cache-timer-reach.svg)](https://mods.aidojo.si/mods/Sanexxxx777--claude-cache-timer--cache-timer/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Sanexxxx777--claude-cache-timer--cache-timer-validates.svg)](https://mods.aidojo.si/mods/Sanexxxx777--claude-cache-timer--cache-timer/)