cache-clock

cache-clock is a Claude Code mod by jomplox that for the Claude Desktop app's Code tab: shows how long each chat's prompt cache stays warm.

Updated 2026-11-19

What is cache-clock?

cache-clock is a Claude Code mod by jomplox that for the Claude Desktop app's Code tab: shows how long each chat's prompt cache stays warm. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorjomplox
Repositoryjomplox/cache-clock
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (44/100)
Rank#6,648 of 9,397 Claude Code mods; #1,249 in Cost & usage
LicenseApache-2.0
Last commit2026-11-19
Hooks18 events
SeesWorkflow calls, classic hooks, compaction, every prompt, subagent spawns
Draws onAbovePrompt

Is cache-clock safe to install?

cache-clock scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 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
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.audio.playplays audio
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.process.runruns processes
$.process.spawn
$.prompt.compose
$.session.compactdrives Claude
$.session.cwd
$.session.id
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.list
$.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/jomplox/cache-clock
    claude plugin validate ./cache-clock/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add jomplox/cache-clock && claude plugin install cache-clock@cache-clock

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/jomplox/cache-clock. Run claude plugin validate on it first and show me what it can access before you enable it.