All Claude Code mods404Mayank/cachebeat
cachebeat
Keeps the prompt cache warm while a session sits idle: shortly before the cache would go cold, a small background request re-reads it, without touching the transcript. A beating heart under the prompt shows it working, and Claude can read and change it for you. Each beat counts toward your usage.
review UI rewrite
cachebeat reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 15
- API methods referenced: 26
- Access from classified calls: L2, writes or runs: drives Claude, reads env vars, reads settings, reads the transcript, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install cachebeat --marketplace 404Mayank/cachebeatFrom 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 runsdrives Claude, reads env vars, reads settings, reads the transcript, reads mod state, persists state, drawsValidation
PassedListed under Prompt cache mods for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, every prompt, AskUserQuestion calls, mcp__cachebeat__state calls, mcp__cachebeat__set calls, compaction
- Hooks
session.start, session.end {reason=clear}, session.end {reason=resume}, classic.SessionStart, prompt.submit, tool.call {tool=AskUserQuestion}, command.run {command=cachebeat}, command.run {command=cachebeat}, tool.call {tool=mcp__cachebeat__state}, tool.call {tool=mcp__cachebeat__set}, ui.render {component=ToolUse, props has {tool=mcp__cachebeat__state}}, ui.render {component=ToolUse, props has {tool=mcp__cachebeat__set}}, ui.render {component=ToolResult, props has {tool=mcp__cachebeat__state}}, ui.render {component=ToolResult, props has {tool=mcp__cachebeat__set}}, classic.PostModelSwitch, session.compact, turn.start, turn.step, turn.complete, ui.render {component=TurnDuration}, ui.render {component=PromptHint}, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=?}, ui.focus {requestId=?}, ui.scroll {requestId=?}, ui.close {id=?}- API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.model.fork, $.session.id, $.session.messages, $.session.model, $.session.root, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.keys, $.store.set, $.tool.register, $.ui.ask, $.ui.focus, $.ui.log, $.ui.open, $.ui.resolve, $.ui.scroll, $.ui.toast- Validation
- Passed
- Scanned revision
e913faf7278c- Marketplace passed
- cachebeat
- 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. hooks/register.tsx:677
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. What a mod can access and 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/404Mayank--cachebeat--cachebeat/)
[](https://mods.aidojo.si/mods/404Mayank--cachebeat--cachebeat/)