cache-clock

cache-clock is a Claude Code mod by tylergraydev that a prompt-cache countdown in the status line, and a Compact / Handoff / Clear band once the cache has lapsed.

Updated 2026-10-12

What is cache-clock?

cache-clock is a Claude Code mod by tylergraydev that a prompt-cache countdown in the status line, and a Compact / Handoff / Clear band once the cache has lapsed. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authortylergraydev
Repositorytylergraydev/cc-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (96/100)
Rank#4,906 of 5,272 Claude Code mods; #975 in Cost & usage
Last commit2026-10-12
Hooks7 events
Seescompaction
Draws onAbovePrompt

Is cache-clock safe to install?

cache-clock scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.list
$.command.register
$.command.rundrives Claude
$.session.compactdrives Claude
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.statusdraws 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/tylergraydev/cc-mods
    claude plugin validate ./cc-mods/cache-clock
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/tylergraydev/cc-mods && claude --plugin-dir ./cc-mods/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/tylergraydev/cc-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 tylergraydev/cc-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-deck: Live pane of the session's subagents: status, tool calls, answers, launch and nudge, spawn caps and model rules (Low risk)
  • arcade: Tic-tac-toe, sudoku, tetris, video poker, blackjack and UNO in a side pane, playable by keyboard, mouse or an Xbox contr (Low risk)
  • ask-on-auto-deny: When auto mode's classifier blocks a tool call, asks you above the prompt and lets you allow that exact call once (Low risk)
  • booster-pane: Open pretend Pokémon TCG booster packs by set in a side pane: card art in the terminal, a collection and pull stats (Review before installing)
  • claim-check: Flags confident claims about prod, data, deployments and tickets that no query backed up in the same turn (heuristic) (Low risk)
  • dev-doctor: Read-only environment checks on session start (bash on PATH, .NET SDK/runtime, ports, git locks, worktrees, Docker, AUTH (Review before installing)
  • diff-viewer: Diff pane: what Claude changed this turn and this session, per file, plus git diff on demand (Low risk)
  • gb-pane: Play Game Boy and Game Boy Color games in a side pane with /gb; they pause when Claude finishes or needs you. (Review before installing)