claudemods

All Claude Code mods404Mayank/cachebeat

cachebeat

A Claude Code mod in 404Mayank/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.

Install hint

/plugin install cachebeat --marketplace 404Mayank/cachebeat

From 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, draws

Validation

Passed

Listed 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

Reach badge for cachebeat Validation badge for cachebeat

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/404Mayank--cachebeat--cachebeat-reach.svg)](https://mods.aidojo.si/mods/404Mayank--cachebeat--cachebeat/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/404Mayank--cachebeat--cachebeat-validates.svg)](https://mods.aidojo.si/mods/404Mayank--cachebeat--cachebeat/)