context-bar

by akirachangtw · ★ 0 · updated 22 days ago

BandsGuardsCommandsPromptTools & agentswarnings

0

Persistent context-window usage bar above the prompt, broken down like /context

install context-bar

Install

git clone https://github.com/akirachangtw/claude-mods
claude --plugin-dir ./claude-mods/context-bar

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
65b9823 the 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.