context-bar
by Hamza Zafar · ★ 0 · updated 7 days ago
0
Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. Click the ▾ to open every row's share and what sits under the rows. /context-bar shows or hides it.
Install
/plugin marketplace add see-stack/claude-code-mods/plugin install context-bar@seestack-modsThen 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.startturn.completesession.compactprompt.composecommand.runui.render- API calls
$.command.register$.session.messages$.session.usage$.state.get$.state.set$.store.get$.store.set$.tool.list$.ui.resolve- Draws
AbovePrompt- Can see
compaction- Reach
- level 1 of 3 reads the transcriptreads 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/see-stack/claude-code-mods
- Path in repo
mods/context-bar- Source commit
3103f2bthe exact code the scan read- Author
- Hamza Zafar @see-stack
- 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.