All Claude Code modsTheTsungYing/claude-cache-bar
cache-bar
Shows prompt cache hit rate and TTL status in Claude Code
review UI rewrite
cache-bar reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 12
- API methods referenced: 15
- Access from classified calls: L2, writes or runs: changes config, drives Claude, persists state, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
Install hint
/plugin install cache-bar --marketplace TheTsungYing/claude-cache-barFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsother: $.state.get, other: $.state.set, changes config, drives Claude, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- compaction, the system prompt
- Hooks
session.start, command.run {command=cache}, command.run {command=?}, turn.start, turn.complete, turn.step, session.compact, prompt.section, prompt.context, tool.describe, ui.render {component=AbovePrompt}, ui.close, ui.render {component=Pane, requestId=cache-bar}, session.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- Validation on 2.1.302
- Passed
- Scanned revision
12c1b78d2c88- Marketplace passed
- claude-cache-bar
- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. plugins/cache-bar/hooks/register.tsx:471
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/TheTsungYing--claude-cache-bar--cache-bar/)
[](https://mods.aidojo.si/mods/TheTsungYing--claude-cache-bar--cache-bar/)