context-canary
by Nachx639 · ★ 1 · updated 23 Oct 2026
0
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.
Install
git clone https://github.com/Nachx639/context-canaryclaude --plugin-dir ./context-canaryThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.endclassic.SessionStartclassic.SubagentStartclassic.SubagentStopturn.startclassic.PostCompactturn.completecommand.runui.render- 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- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads env varsreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Nachx639/context-canary
- Path in repo
- repository root
- Source commit
7f8e3f6the exact code the scan read- Author
- @Nachx639
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Related mods
Other mods in Bands, close to this one by stars.