cache-clock

cache-clock is a Claude Code mod by tartinerlabs that counts down to the prompt cache going cold, with the last request's hit rate, above the prompt.

Updated 2026-10-16

What is cache-clock?

cache-clock is a Claude Code mod by tartinerlabs that counts down to the prompt cache going cold, with the last request's hit rate, above the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authortartinerlabs
Repositorytartinerlabs/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#4,774 of 5,272 Claude Code mods; #942 in Cost & usage
LicenseMIT
Last commit2026-10-16
Hooks3 events
Seesonly the events it hooks
Draws onAbovePrompt

Is cache-clock safe to install?

cache-clock scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.state.get
$.state.set
$.ui.invalidatedraws interface
$.ui.resolvedraws 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/tartinerlabs/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/cache-clock
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add tartinerlabs/claude-code-mods && claude plugin install cache-clock@tartinerlabs-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/tartinerlabs/claude-code-mods/tree/main/plugins/cache-clock. Run claude plugin validate on it first and show me what it can access before you enable it.

More from tartinerlabs/claude-code-mods

This repository has 8 Claude Code mods on MCPMods.

  • auto-resume: Sends "continue" once a usage limit resets, so a turn cut off by the limit picks up where it stopped. (Low risk)
  • auto-session-name: Names each session from its first prompt, and again a few prompts in when that one was short, so it is easy to find in / (Low risk)
  • limit-watch: Draws the 5-hour and weekly usage limits and the session's cost above the prompt, limits coloured by use, with reset cou (Low risk)
  • pr-pilot: Shows the current branch's pull request above the prompt, with its checks and whether it can merge, toasts when checks f (Low risk)
  • release-notes: Drafts App Store release notes for Xcode projects when the version is bumped, into fastlane metadata or CHANGELOG.md, an (Review before installing)
  • smart-compact: Compacts between turns when the context is full enough, sooner after a commit, PR, approved plan or finished todo list, (Low risk)
  • token-weather: A live forecast of the context window, drawn above the prompt. (Low risk)