cm-context-meter

by ClaudeMods · ★ 0 · updated 5 days ago

Status linevalidates

0

Puts context-window fill, 5-hour/7-day plan usage and session cost in the status line, and warns once when the context gets full.

install cm-context-meter

Install

/plugin marketplace add rotbit/claudemods-marketplace
/plugin install cm-context-meter@claudemods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
$.clock.every$.session.usage$.ui.status$.ui.toast
Can see
compaction
Reach
level 0 of 3 draws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/rotbit/claudemods-marketplace
Path in repo
cm-context-meter
Source commit
7a6da12 the exact code the scan read
Author
ClaudeMods @rotbit
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 rotbit/claudemods-marketplace

cm-block-dangerous-commands

rotbit/claudemods-marketplace

Refuses destructive Bash commands (rm -rf /, force-push to main, DROP TABLE, curl | sh, ...) before Claude runs them, and tells Claude why.

★ 0ToastsGuards

cm-done-toast

rotbit/claudemods-marketplace

Shows "Done in 2m 14s" and plays a short chime when a long Claude turn finishes; optional macOS/Linux system notification.

★ 0ToastsAudio

cm-git-branch

rotbit/claudemods-marketplace

Shows the current git branch, how many files changed and ahead/behind counts in a one-line band above the prompt.

★ 0BandsGuards

cm-tool-call-counter

rotbit/claudemods-marketplace

Counts Claude's tool calls per turn and per session, shows the count beside the spinner, and adds /tally for a per-tool breakdown with error counts.

★ 0Status lineReskinsGuards