Home / Claude Code mods / Cost & usage / context-meter

context-meter

context-meter is a Claude Code mod by Krs7N that see your context window fill up as you work, no /context needed. A live band above the prompt shows an animated fill bar, token count, auto-compact headroom and the turns it lasts, usage.

Updated 2026-10-16

What is context-meter?

context-meter is a Claude Code mod by Krs7N that see your context window fill up as you work, no /context needed. A live band above the prompt shows an animated fill bar, token count, auto-compact headroom and the turns it lasts, usage. It is listed under Cost & usage and has 2 GitHub stars.

TypeClaude code mod
AuthorKrs7N
RepositoryKrs7N/context-meter
Popularity2 GitHub stars
CategoryCost & usage
SecurityLow risk (84/100)
Rank#2,440 of 9,397 Claude Code mods; #414 in Cost & usage
LicenseMIT
Last commit2026-10-16
Hooks11 events
Seescompaction, every prompt
Draws onAbovePrompt

Is context-meter safe to install?

context-meter scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. 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
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.rundrives Claude
$.config.list
$.session.compactdrives Claude
$.session.model
$.session.surfaces
$.session.usage
$.session.version
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install context-meter?

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

Or ask Claude to set it up

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

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