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.

Updated 2026-11-18

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.

TypeClaude code mod
Authorjz-wilson
Repositoryjz-wilson/claude-mods
Popularity5 GitHub stars
CategoryCost & usage
SecurityHigh risk (56/100)
Rank#1,346 of 9,397 Claude Code mods; #228 in Cost & usage
Last commit2026-11-18
Stars this week+2
Hooks7 events
Seesevery prompt
Draws onAbovePrompt

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.process.runruns processes
$.session.id
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install cache-clock?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)