jr-cache-clock
by jrlprost · ★ 4 · updated 27 days ago
A toast 30 seconds before the prompt cache goes cold, and on /jr-cache-clock a quiet countdown above the prompt: how long the cache stays warm after Claude's last reply, going green to red, and the last cache hit rate.
Install
/plugin marketplace add jrlprost/claude-code-mods/plugin install jr-cache-clock@claude-code-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.endsession.startturn.completecommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Reach
- level 1 of 3 reads mod statepersists 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/jrlprost/claude-code-mods
- Path in repo
plugins/jr-cache-clock- Source commit
9f78993the exact code the scan read- Author
- @jrlprost
- License
- MIT
- 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 jrlprost/claude-code-mods
jr-awake
jrlprost/claude-code-mods
Keeps the Mac awake while Claude works, shared by every session on the machine, and warns before the next sleep.
jr-badge
jrlprost/claude-code-mods
A coloured project badge and its branch, on the right above the prompt, so you always know which window you are typing in. Hidden until you type /jr-badge. A badge: LABEL #hex line in CLAUDE.md sets your own.
jr-commit-coach
jrlprost/claude-code-mods
Nudges you toward small atomic commits: when uncommitted changes pass a threshold, a band and a toast suggest a split by folder.
jr-context
jrlprost/claude-code-mods
The context window in one quiet row above the prompt: a mini bar coloured by category, the fill and the window, turning into an alert when compaction is near. /jr-context hides or shows it, /jr-context details opens the full bar with its legend.
jr-decisions
jrlprost/claude-code-mods
A decision journal per project: /jr-decisions or a prompt starting with "decision:" records one, /jr-decisions lists them, /jr-decisions export writes docs/decisions.md.
jr-deploy-guard
jrlprost/claude-code-mods
Production deploys and pushes to main always come to you for confirmation, even when your rules allow them. Optional: no deploys on Friday.
jr-deslop
jrlprost/claude-code-mods
Flags AI-writing tells (em dashes, "delve", "not X, but Y", stock openers...) in the prose files Claude writes. A toast after each file, /jr-deslop for the list. Never rewrites anything.
jr-dictation
jrlprost/claude-code-mods
Fixes what dictation mishears ("cloud code" → Claude Code) before Claude reads your prompt, and shows each fix in your prompt row: red struck, green added.
jr-done-check
jrlprost/claude-code-mods
Flags replies that claim something was tested or verified when nothing was run in the turn to check it: a warning under the message and a toast.
jr-done-ping
jrlprost/claude-code-mods
A notification, and a sound on macOS, when a long turn finishes: work in another window and come back when Claude is done. Names the project and how long it took.
jr-draft
jrlprost/claude-code-mods
/jr-draft: a scratch pane to write your next prompt while Claude works, kept per project, sent to the prompt box when you are ready.
jr-explain
jrlprost/claude-code-mods
Every shell command Claude asks permission for comes with a plain-English explanation and a risk level: low, medium or high.