cc-context-bar

by Rendi Febrian · ★ 0 · updated 4 days ago

PanesBandsCommandswarnings

0

Context bar for Claude Code: context length, tokens in/out and estimated cost, drawn in the band above the prompt.

install cc-context-bar

Install

/plugin marketplace add rendi-febrian/rendifebrian-mods
/plugin install cc-context-bar@rendifebrian-mods

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.startturn.completesession.measurecommand.runui.render
API calls
$.command.register$.session.usage$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve
Draws
PaneAbovePrompt
Reach
level 0 of 3 persists 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/rendi-febrian/rendifebrian-mods
Path in repo
cc-context-bar
Source commit
71d8464 the exact code the scan read
Author
Rendi Febrian @rendi-febrian
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.