context-bar

context-bar is a Claude Code mod by barneym that a live breakdown of the context window, right above the prompt.

Updated 2026-10-11

What is context-bar?

context-bar is a Claude Code mod by barneym that a live breakdown of the context window, right above the prompt. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorbarneym
Repositorybarneym/claude-context-bar
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (84/100)
Rank#5,087 of 9,397 Claude Code mods; #451 in Context & memory
LicenseMIT
Last commit2026-10-11
Hooks5 events
Seescompaction
Draws onAbovePrompt

Is context-bar safe to install?

context-bar scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 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
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.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/barneym/claude-context-bar
    claude plugin validate ./claude-context-bar/context-bar
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add barneym/claude-context-bar && claude plugin install context-bar@claude-context-bar

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/barneym/claude-context-bar/tree/main/context-bar. Run claude plugin validate on it first and show me what it can access before you enable it.