context-meter

context-meter is a Claude Code mod by sp1e that context-window meter for every running Claude Code session, with Compact now, auto-compact and options.

Updated 2026-10-13

What is context-meter?

context-meter is a Claude Code mod by sp1e that context-window meter for every running Claude Code session, with Compact now, auto-compact and options. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorsp1e
Repositorysp1e/context-meter
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (60/100)
Rank#4,687 of 5,272 Claude Code mods; #434 in Context & memory
LicenseMIT
Last commit2026-10-13
Hooks8 events
Seescompaction
Draws onAbovePrompt, Pane

Is context-meter safe to install?

context-meter scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 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
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
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
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.model
$.session.usage
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.resolvedraws 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/sp1e/context-meter
    claude plugin validate ./context-meter/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/sp1e/context-meter && claude --plugin-dir ./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/sp1e/context-meter. Run claude plugin validate on it first and show me what it can access before you enable it.