All Claude Code modsShaurya-Sethi/ctx-bar
ctx-bar
Claude's context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it.
ctx-bar reaches L1 (reads) and passed claude plugin validate with warnings.
- Events hooked: 6
- API methods referenced: 8
- Access from classified calls: L1, reads: reads mod state, 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
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L1 Readsreads mod state, persists state, drawsValidation
Passed with warningsListed under Context and usage meters for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- compaction
- Hooks
session.start, session.append, turn.complete, command.run {command=clear|compact|resume}, session.compact, command.run {command=context-bar}, ui.render {component=AbovePrompt}- API calls
$.clock.after, $.command.register, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.resolve- Validation
- Passed with warnings
- Scanned revision
a27a4b5a1287
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
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/Shaurya-Sethi--ctx-bar--ctx-bar/)
[](https://mods.aidojo.si/mods/Shaurya-Sethi--ctx-bar--ctx-bar/)