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-11-30

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#8,701 of 9,397 Claude Code mods; #1,732 in Cost & usage
LicenseMIT
Last commit2026-11-30
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 at least 9 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 re-checks the name every few prompts as the work moves on, so it is easy to (Low risk)
  • git-status: Shows the branch, working tree and the branch's pull request above the prompt, toasts when checks finish or a rebase sto (Low risk)
  • limit-watch: Draws the 5-hour and weekly usage limits above the prompt, coloured by use, with reset countdowns and toasts at 80% and (Low risk)
  • package-manager: Holds Claude to the project's package manager and wrapper, giving the exact command to run instead, and stops it weakeni (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)
  • resource-watch: Shows which Claude Code session is using each booted Apple simulator, Claude Design project and the Xcode app, above the (Review before installing)
  • smart-compact: Asks Haiku after each turn whether the work just reached a clean break, such as a commit, PR or approved plan, and compa (Low risk)