context-bar
by akirachangtw · ★ 0 · updated 22 days ago
0
Persistent context-window usage bar above the prompt, broken down like /context
Install
git clone https://github.com/akirachangtw/claude-modsclaude --plugin-dir ./claude-mods/context-barThen 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.measuresession.compactsession.endprompt.submitcommand.runtool.checktool.callskill.promptprompt.composeturn.completeui.render- API calls
$.clock.after$.clock.now$.command.register$.config.list$.fs.list$.fs.read$.fs.stat$.session.root$.session.usage$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.resolve- Draws
AbovePrompt- Can see
compactionevery promptevery tool callevery skill- Reach
- level 2 of 3 drives Claudereads filesreads settingsreads 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/akirachangtw/claude-mods
- Path in repo
context-bar- Source commit
65b9823the exact code the scan read- Author
- @akirachangtw
- License
- No license declared — ask the author before reusing code.
- 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.