All Claude Code modsNachx639/context-canary
context-canary
A pixel-art canary above the prompt that dies when a reply forgets a rule from CLAUDE.md, compacts the session keeping your instructions, and revives.
review UI rewrite
context-canary reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 10
- API methods referenced: 18
- Access from classified calls: L2, writes or runs: writes files, drives Claude, reads files, reads env vars, persists state, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsother: $.state.get, other: $.state.set, writes files, drives Claude, reads files, reads env vars, 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
- Hooks
session.start, session.end, classic.SessionStart {source=clear|resume|fork}, classic.SubagentStart, classic.SubagentStop, turn.start, classic.PostCompact, turn.complete, command.run {command=canary|canario}, ui.render {component=AbovePrompt}- API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.fs.write, $.session.compact, $.session.root, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.ask, $.ui.invalidate, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
ee4a4b561221- 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/context-canary/hooks/register.js:308
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/Nachx639--context-canary--context-canary/)
[](https://mods.aidojo.si/mods/Nachx639--context-canary--context-canary/)