claudemods

All Claude Code modsrotembm12/claude-mods

context-usage

A Claude Code mod in rotembm12/claude-mods

Shows how full the session's context window is, in a band above the prompt

context-usage reaches L0 (draws and remembers) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install context-usage --marketplace rotembm12/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesother: $.state.get, other: $.state.set, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction
Hooks
session.start, session.measure, session.compact, command.run {command=context-bar}, ui.render {component=AbovePrompt}
API calls
$.command.register, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
207be2e9675f
Marketplace passed
rotem-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from rotembm12/claude-mods

Badge for your README

Reach badge for context-usage Validation badge for context-usage

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/rotembm12--claude-mods--context-usage-reach.svg)](https://mods.aidojo.si/mods/rotembm12--claude-mods--context-usage/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/rotembm12--claude-mods--context-usage-validates.svg)](https://mods.aidojo.si/mods/rotembm12--claude-mods--context-usage/)