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.

Updated 2026-11-20

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.

TypeClaude code mod
Authorkakwok
Repositorykakwok/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (96/100)
Rank#6,800 of 9,397 Claude Code mods; #1,288 in Cost & usage
Last commit2026-11-20
Hooks6 events
Seesevery tool call
Draws onTurnDuration, 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.session.model
$.session.usage
$.ui.invalidatedraws interface
$.ui.resolvedraws interface

How do I install context-bar?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)