context-bar
by David Lambl · ★ 0 · updated 2 days ago
0
Your context window as a meter above the prompt: the conversation, the overhead every request carries, and the room left before compaction, with a drill-down into the overhead. Toggle it with /context-bar.
Install
/plugin marketplace add davidlambl/claude-extensions/plugin install context-bar@davidlamblThen 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.startcommand.runsession.measuresession.compactsession.endsession.attachui.closeui.render- API calls
$.clock.after$.command.register$.session.surfaces$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.open$.ui.resolve- Draws
AbovePromptPane- Can see
compaction- Reach
- level 1 of 3 other: $.state.getother: $.state.setpersists 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/davidlambl/claude-extensions
- Path in repo
mods/context-bar- Source commit
20b7ebfthe exact code the scan read- Author
- David Lambl @davidlambl
- 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.