ccbar
by Emanuele Ballarin · ★ 4 · updated yesterday
ccbar — a quiet status band above the prompt, drawn natively by Claude Code's function hooks: the model and its effort, the repository (GitHub owner/name and branch, optionally as links; staged+unstaged diff), a context bar coloured by the /context categories with used/total and load, the session's new tokens (cache reads of the re-sent conversation left out, or counted too when set) counted...
Install
/plugin marketplace add emaballarin/ccplugins/plugin install ccbar@ccpluginsThen 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.completeclassic.Stopui.render- API calls
$.clock.after$.clock.every$.clock.now$.config.list$.env.get$.fs.exists$.fs.list$.fs.stat$.process.run$.session.id$.session.model$.session.repo$.session.root$.session.usage$.settings.read$.state.get$.state.set$.ui.log$.ui.resolve- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesreads filesreads env varsreads settingsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/emaballarin/ccplugins
- Path in repo
plugins/ccbar- Source commit
14a9f14the exact code the scan read- Author
- Emanuele Ballarin @emaballarin
- 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.