context-bar
by ziedgithub · ★ 0 · updated yesterday
A footer showing the model and effort, how full the context window is, and the prompt cache, with one-click compact and clear
Install
/plugin marketplace add ziedgithub/claude-code-mods/plugin install context-bar@zied-modsThen 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.completeturn.stepsession.appendsession.endsession.compactui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.run$.session.model$.session.usage$.settings.read$.store.get$.store.set$.ui.invalidate$.ui.resolve
Origin
- How it got here
- Found through a post on X by @Zied_Ben_Amar, then checked on GitHub: the repo has a plugin manifest and function hooks. Listed .
- Repository
- github.com/ziedgithub/claude-code-mods
- Path in repo
context-bar- Source commit
246d130the exact code the scan read- Author
- @ziedgithub
- License
- MIT
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
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.
Posts about this repo
I gave Claude Code a crab buddy 🦀 It types while Claude works, ponders while it thinks, cheers after an answer and naps when idle. Each subagent gets its own colored mini crab, and an envelope flies over when it reports back. One-line install: https://github.com/ziedgithub/claude-code-mods
More from ziedgithub/claude-code-mods
crab-buddy
ziedgithub/claude-code-mods
A pixel-art Claude crab above the prompt that works, thinks, cheers and sleeps with the session, with a small crab in its own color for each subagent
warm-compact
ziedgithub/claude-code-mods
Compacts an idle session just before its prompt cache goes cold, or keeps the cache warm while you're away, so your next prompt doesn't re-read the whole conversation uncached. Two chips under the prompt, /warm-compact and /keep-warm turn each on or off for a session.