What is cache-clock?
cache-clock is a Claude Code mod by jz-wilson that counts down until the chat's prompt cache goes cold, above the prompt. When a big chat goes cold, offers a handoff to a fresh chat. Keep warm pings the cache in the background so it does. It is listed under Cost & usage and has 5 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | jz-wilson |
| Repository | jz-wilson/claude-mods |
| Popularity | 5 GitHub stars |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #1,346 of 9,397 Claude Code mods; #228 in Cost & usage |
| Last commit | 2026-11-18 |
| Stars this week | +2 |
| Hooks | 7 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
Is cache-clock safe to install?
cache-clock scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-clock?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/jz-wilson/claude-mods claude plugin validate ./claude-mods/cache-clock
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add jz-wilson/claude-mods && claude plugin install cache-clock@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-clock for you:
Install the "cache-clock" Claude Code mod from https://github.com/jz-wilson/claude-mods/tree/main/cache-clock. Run claude plugin validate on it first and show me what it can access before you enable it.
More from jz-wilson/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- chat-inventory: A side pane, In this chat, that lists the to-do list, connectors, context files and skills this chat used (Review before installing)
- effort-optimizer: Reads each prompt, picks the effort level it needs with Ben's four-question framework, and offers Switch to that level, (Review before installing)
- filetree: IDE-style file tree that shows only the files Claude touched (fork of data-goblin/claude-code-filetree 0.2.26) (Review before installing)
- handoff: At 250k tokens or on /refresh , offers Refresh: writes a handoff of the whole chat with a live-state claims table for /p (High risk)
- helper-desk: Helper Desk: every task listed above the prompt, the ones in progress flashing, and a side pane with one live card per s (High risk)
- helpin-per: Pane listing open Helpin PER-* tasks; pick one to have Claude start working on it (Low risk)
- mods: A Mods pane that finds every mod on this Mac by itself, also the ones installed from a marketplace, turns each one on or (Review before installing)
- prompt-refiner: A Refine button under the prompt, any time in the chat: pick a rewrite style (Clearer, Shorter, Elaborate, Structured, A (Low risk)