All Claude Code modseddywong888/claude-castle-mod
castle-hud
A Castlevania-style HUD above the prompt in the Claude Code desktop app. It shows how full the context is (a blood meter), your 5-hour and weekly limits (moons), how long the prompt cache stays warm (a stopwatch), what this session and the 5-hour window cost, how long the session has run, the last turn, lines changed and running subagents (bats). A pixel castle grows bolder as the context fills and catches fire as the prompt cache runs down. You earn XP, levels, daily streaks and 14 achievements as you work; type /castle to see them. Everything stays on your machine.
review UI rewrite
castle-hud reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 12
- API methods referenced: 17
- Access from classified calls: L1, reads: reads mod state, requests an Anthropic credential handle, plays audio, 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 castle-hud --marketplace eddywong888/claude-castle-modFrom 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
L1 Readsreads mod state, requests an Anthropic credential handle, plays audio, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, compaction, every tool call, Bash calls, subagent spawns
- Hooks
session.start, session.end, classic.SessionStart, classic.PostModelSwitch, session.compact, turn.start, session.measure, tool.call, tool.call {tool=Bash}, command.run {command=castle}, agent.spawn, turn.complete, ui.render {component=AbovePrompt}- API calls
$.agent.list, $.audio.play, $.clock.every, $.clock.now, $.command.register, $.session.authorize, $.session.id, $.session.surfaces, $.session.usage, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.keys, $.store.set, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
7aa50c8c1288- Marketplace passed
- claude-castle-mod
- 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/xp.ts:227
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/eddywong888--claude-castle-mod--castle-hud/)
[](https://mods.aidojo.si/mods/eddywong888--claude-castle-mod--castle-hud/)