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.
| Type | Claude code mod |
|---|---|
| Author | Gat0rRex |
| Repository | Gat0rRex/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (96/100) |
| Rank | #6,045 of 9,397 Claude Code mods; #1,124 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-02 |
| Hooks | 5 events |
| Sees | compaction |
| Draws on | AbovePrompt |
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.
| 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 |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install context-band?
- 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/Gat0rRex/claude-mods claude plugin validate ./claude-mods/context-band
- 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)