context-bar

by Jimmyeao · ★ 0 · updated 2 days ago

BandsGuardsCommandsPromptvalidates

0

Draws the context window as a stacked bar above the prompt, one colour per /context category. Toggle with /context-bar.

install context-bar

Install

/plugin marketplace add jimmyeao/claude-code-bars
/plugin install context-bar@claude-code-bars

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.startprompt.submittool.callturn.completesession.compactcommand.runui.render
API calls
$.clock.now$.command.register$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
every promptevery tool callcompaction
Reach
level 1 of 3 other: $.state.getother: $.state.setdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/jimmyeao/claude-code-bars
Path in repo
plugins/context-bar
Author
Jimmyeao @jimmyeao
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.

More from jimmyeao/claude-code-bars

usage-bar

jimmyeao/claude-code-bars

Draws your plan usage limits as bars above the prompt, one colour per window, flagging when you are using a window faster than its clock. Toggle with /usage-bar.

★ 0BandsCommandsPrompt