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 expire, 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) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

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 runsother: $.state.get, other: $.state.set, drives Claude, reads env vars, reads settings, reads the transcript, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, mcp__cachebeat__state calls, mcp__cachebeat__set calls, compaction
Hooks
session.start, session.end {reason=clear}, session.end {reason=resume}, classic.SessionStart, 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.messages, $.session.model, $.session.root, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.register, $.ui.focus, $.ui.log, $.ui.open, $.ui.resolve, $.ui.scroll, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
c84ac68ec307
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:403

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

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/)