What is context-bar?
context-bar is a Claude Code mod by kakwok that context-window bar above the prompt, broken down by category like /context with Messages split by source, plus plan usage, the model colored by family, and a per-turn context summary. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | kakwok |
| Repository | kakwok/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (96/100) |
| Rank | #6,800 of 9,397 Claude Code mods; #1,288 in Cost & usage |
| Last commit | 2026-11-20 |
| Hooks | 6 events |
| Sees | every tool call |
| Draws on | TurnDuration, AbovePrompt |
Is context-bar safe to install?
context-bar scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.session.model | |
$.session.usage | |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
How do I install context-bar?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/kakwok/claude-mods claude plugin validate ./claude-mods/context-bar
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add kakwok/claude-mods && claude plugin install context-bar@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs context-bar for you:
Install the "context-bar" Claude Code mod from https://github.com/kakwok/claude-mods/tree/main/context-bar. Run claude plugin validate on it first and show me what it can access before you enable it.
More from kakwok/claude-mods
This repository has 2 Claude Code mods on MCPMods.
- lens: One pane for the session: plan, subagents with the tokens they spent and a timeline, files and commands Claude touched, (Review before installing)