context-meter
by Rich Tillman · ★ 0 · updated 20 Oct 2026
Keeps context use, session cost, compactions, rate limit and model in the status line, with warnings before the window fills.
Install
/plugin marketplace add effinrich/claude-mods/plugin install context-meter@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startturn.completesession.compact- API calls
$.session.id$.session.model$.session.usage$.store.get$.store.set$.ui.status- Can see
compaction- Reach
- level 0 of 3 persists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/effinrich/claude-mods
- Path in repo
context-meter- Source commit
f3a543ethe exact code the scan read- Author
- Rich Tillman @effinrich
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from effinrich/claude-mods
cli-passthrough
effinrich/claude-mods
Runs claude plugin … and claude mcp … typed at the prompt directly, without spending a model turn on them.
compaction-guard
effinrich/claude-mods
Saves the task, plan and recent asks to a handoff file before each compaction, puts it back after, and warns when compaction starts thrashing.
context-audit
effinrich/claude-mods
Measures the fixed context every turn carries at session start, names the biggest contributors, and flags changes to global CLAUDE.md, enabled plugins and user hooks.
crew
effinrich/claude-mods
Plans a goal as a ticket graph, then runs specialist agents (designer, frontend, backend, tester, docs, reviewer) in parallel worktrees, each limited to the files its ticket owns, and merges their work into one branch.
default-skills
effinrich/claude-mods
Pins chosen skills (ponytail, feature-based-architecture and its own plain-writing by default) into the system prompt every session, so they are on from the start and survive compaction.
guardrails
effinrich/claude-mods
Blocks edits outside the task spec, made-up packages, check-weakening edits and destructive git; gates finishing, committing and /ship on passing checks.
Related mods
Other mods in Status line, close to this one by stars.