context-band

context-band is a Claude Code mod by derek1ee that context-window squares by category above the prompt, with a prompt-cache countdown and an optional keep-warm refresh. Reads the context breakdown, the prompt draft's length and the session.

Updated 2026-10-13

What is context-band?

context-band is a Claude Code mod by derek1ee that context-window squares by category above the prompt, with a prompt-cache countdown and an optional keep-warm refresh. Reads the context breakdown, the prompt draft's length and the session. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authorderek1ee
Repositoryderek1ee/claude-context-band
Popularity1 GitHub stars
CategoryCost & usage
SecurityHigh risk (44/100)
Rank#3,509 of 9,397 Claude Code mods; #566 in Cost & usage
LicenseMIT
Last commit2026-10-13
Hooks14 events
Seesclassic hooks, every prompt
Draws onAbovePrompt

Is context-band safe to install?

context-band scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 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 processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.config.setchanges config
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.process.runruns processes
$.prompt.read
$.session.cwd
$.session.id
$.session.root
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.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/derek1ee/claude-context-band
    claude plugin validate ./claude-context-band/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add derek1ee/claude-context-band && claude plugin install context-band@claude-context-band

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