cache-bar
by TsungYing · ★ 0 · updated 2 days ago
0
Shows prompt cache hit rate and TTL status in Claude Code
Install
/plugin marketplace add TheTsungYing/claude-cache-bar/plugin install cache-bar@claude-cache-barThen 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
session.startcommand.runturn.startturn.completeturn.stepsession.compactprompt.sectionprompt.contexttool.describeui.renderui.closesession.end- API calls
$.clock.every$.clock.now$.command.register$.config.list$.config.set$.model.fork$.state.get$.state.set$.store.get$.store.set$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePromptPane- Can see
compactionthe system prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setchanges configdrives Claudepersists 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/TheTsungYing/claude-cache-bar
- Path in repo
plugins/cache-bar- Source commit
12c1b78the exact code the scan read- Author
- TsungYing @TheTsungYing
- License
- MIT
- 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.