cache-timer
by mtmtian · ★ 0 · updated 2 days ago
Counts down, in the prompt footer beside the model, the time left before the main thread's prompt cache lapses, so you know when the next message will pay to re-write it
Install
/plugin marketplace add mtmtian/cc-mods/plugin install cache-timer@cc-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.startui.renderclassic.SessionStartclassic.PostModelSwitchturn.step- API calls
$.clock.every$.clock.now$.state.get$.state.set$.ui.invalidate$.ui.resolve- Draws
SessionMode- Can see
classic hooks- Reach
- level 1 of 3 other: $.state.getother: $.state.setdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/mtmtian/cc-mods
- Path in repo
mods/cache-timer/plugins/cache-timer- Author
- @mtmtian
- 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.
More from mtmtian/cc-mods
md-prompt
mtmtian/cc-mods
Paints Markdown onto Claude Code's prompt box as you type: fenced code becomes a syntax-highlighted card (even before you close the fence), and inline code, bold, italic, lists, task lists, quotes, tables, links and headings are styled. Paint only, your text is never changed.
plan-progress
mtmtian/cc-mods
Live plan progress bars above the Claude Code prompt: stages, steps, a pixel fill and soft sounds for decision, error and done