What is context-meter?
context-meter is a Claude Code mod by AndrewDongminYoo that reads each model request's own usage, shows the real context fill above the prompt, vetoes an auto-compact the advisor's double-counted usage would fire, and sends the handoff nudge once. It is listed under Cost & usage and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | AndrewDongminYoo |
| Repository | AndrewDongminYoo/cc-agents-kit |
| Popularity | 3 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (88/100) |
| Rank | #1,727 of 9,397 Claude Code mods; #290 in Cost & usage |
| License | Apache-2.0 |
| Last commit | 2026-11-28 |
| Hooks | 5 events |
| Sees | compaction, every prompt |
| Draws on | AbovePrompt |
Is context-meter safe to install?
context-meter scores 88/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.session.append | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install context-meter?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/AndrewDongminYoo/cc-agents-kit claude plugin validate ./cc-agents-kit/plugins/context-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add AndrewDongminYoo/cc-agents-kit && claude plugin install context-meter@cc-agents-kit
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/AndrewDongminYoo/cc-agents-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 AndrewDongminYoo/cc-agents-kit
This repository has 2 Claude Code mods on MCPMods.
- quick-look: Collects the files the agent reads, writes or names in its answer, and opens them in macOS Quick Look from a /ql command (Low risk)