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

context-meter

context-meter is a Claude Code mod by vumichien that a band above the prompt with what fills the context window, by category, a countdown to when the prompt cache expires, and a Compact button. Starts off: /context-meter on turns it on.

Updated 2026-10-10

What is context-meter?

context-meter is a Claude Code mod by vumichien that a band above the prompt with what fills the context window, by category, a countdown to when the prompt cache expires, and a Compact button. Starts off: /context-meter on turns it on. It is listed under Cost & usage and has 2 GitHub stars.

TypeClaude code mod
Authorvumichien
Repositoryvumichien/claude-code-mods-kit
Popularity2 GitHub stars
CategoryCost & usage
SecurityLow risk (88/100)
Rank#1,419 of 5,272 Claude Code mods; #260 in Cost & usage
LicenseMIT
Last commit2026-10-10
Hooks7 events
Seescompaction
Draws onAbovePrompt

Is context-meter safe to install?

context-meter scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. 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
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.session.compactdrives Claude
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.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/vumichien/claude-code-mods-kit
    claude plugin validate ./claude-code-mods-kit/plugins/context-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add vumichien/claude-code-mods-kit && claude plugin install context-meter@chien-mods

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/vumichien/claude-code-mods-kit/tree/main/plugins/context-meter. Run claude plugin validate on it first and show me what it can access before you enable it.

More from vumichien/claude-code-mods-kit

This repository has 8 Claude Code mods on MCPMods.

  • assumption-check: After a turn that edited files or ran commands, Haiku lists the choices Claude made that you did not state. Mark each ri (Low risk)
  • done-gate: Notices when Claude marks a task done while code it changed has not been tested since, and tells Claude and you; a band (Low risk)
  • idea-shelf: Park an idea while Claude works, without interrupting it: /idea , or the shelf's own box. Ideas are kept per project acr (Low risk)
  • plan-meter: A band above the prompt with how far your plan file is (phases and steps done, what is in progress, what is next) and Cl (Low risk)
  • prompt-enhancer: An Enhance button above the prompt: Haiku rewrites your draft to name the skills that fit, the questions Claude should a (Low risk)
  • secret-guard: Hides secrets in tool results before Claude reads them: the secret values of every .env and .env.* from your session's f (Low risk)
  • session-monitor: See your other Claude Code sessions from this one: which are working, which wait for you, which are done, and which shar (Review before installing)