context-band

context-band is a Claude Code mod by Gat0rRex that a band above the prompt showing how full the context is (amber from 300k tokens, red from 400k), the session's cost and the plan's usage limits, with a toast at each line crossed.

Updated 2026-11-02

What is context-band?

context-band is a Claude Code mod by Gat0rRex that a band above the prompt showing how full the context is (amber from 300k tokens, red from 400k), the session's cost and the plan's usage limits, with a toast at each line crossed. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorGat0rRex
RepositoryGat0rRex/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (96/100)
Rank#6,045 of 9,397 Claude Code mods; #1,124 in Cost & usage
LicenseMIT
Last commit2026-11-02
Hooks5 events
Seescompaction
Draws onAbovePrompt

Is context-band safe to install?

context-band 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
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install context-band?

  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/Gat0rRex/claude-mods
    claude plugin validate ./claude-mods/context-band
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Gat0rRex/claude-mods && claude plugin install context-band@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs context-band for you:

Install the "context-band" Claude Code mod from https://github.com/Gat0rRex/claude-mods/tree/main/context-band. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Gat0rRex/claude-mods

This repository has 6 Claude Code mods on MCPMods.

  • agent-spend: /agent-spend opens a pane listing each subagent's type, model, tokens and estimated cost against the session's total. (Low risk)
  • checkpoint-watch: A band above the prompt saying how old the project's Checkpoint.md is and how many file edits it is behind, with a toast (Low risk)
  • context-handoff: Tells the model when the context passes 250k tokens (heads-up) and 300k (hand off), so it finishes the task it's on and (Low risk)
  • loose-ends: A band above the prompt listing what Claude started and left running: background shells, terminal tabs it opened, previe (Review before installing)
  • review-gate: A band above the prompt counting the files edited since a reviewer agent last finished; database files wait for db-adver (Low risk)