cache-clock
by Jose Vega · ★ 0 · updated 19 days ago
0
For the Claude Desktop app's Code tab: shows how long each chat's prompt cache stays warm
Install
/plugin marketplace add jomplox/cache-clock/plugin install cache-clock@cache-clockThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
plugin.registersession.startcommand.runprompt.submitclassic.SessionStartsession.endclassic.SubagentStartclassic.SubagentStopturn.stepturn.startturn.completesession.compactclassic.Stoptool.callagent.spawnclassic.PostCompactclassic.PostModelSwitchui.render- API calls
$.agent.list$.audio.play$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.fs.read$.fs.stat$.model.fork$.process.run$.prompt.compose$.session.compact$.session.cwd$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.list$.ui.invalidate$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
every promptclassic hookscompactionWorkflow callssubagent spawns- Reach
- level 2 of 3 runs processesdrives Claudereads filesreads env varsreads the system promptreads mod stateplays audiopersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/jomplox/cache-clock
- Path in repo
- repository root
- Source commit
3633781the exact code the scan read- Author
- Jose Vega @jomplox
- License
- Apache-2.0
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.