context-usage

Not yet reviewed

Per-session context-window observability. A mod writes each session's context-window figures to a snapshot file and shows the person a toast and a transcript…

Pinned commit
No commit pinned yet
Review notes

Listed from the community catalogue awesome-claude-code-mods (https://github.com/karanb192/awesome-claude-code-mods) on 2026-11-13. Not reviewed by modsforClaude.com yet: the hooked events and what it uses come from that catalogue's automated scan of the source.

What a scan found
  • Reads your prompts
  • Sees tool calls
  • Reads or writes files
  • Runs programs on your machine
  • Calls the model (uses tokens)
  • Shows something on screen

Reported by an automated scan of the source, not checked by a person yet.

Hooked events

Per-session context-window observability. A mod writes each session's context-window figures to a snapshot file and shows the person a toast and a transcript line when the context zone (light, moderate or heavy, from bands in zones.json) worsens; with model_notices on (off by default) it also tells Claude the zone at each crossing, approach and compaction. /context-usage prints status and toggles an optional band row. It answers a status tool. A PostCompact hook leaves a marker.

Made this mod? Add a badge to your README

modsforClaude badge for context-usage

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/context-usage.svg)](https://modsforclaude.com/mods/context-usage/)

← All mods