context-usage

by Rotem · ★ 0 · updated 17 days ago

BandsCommandswarnings

0

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

install context-usage

Install

/plugin marketplace add rotembm12/claude-mods
/plugin install context-usage@rotem-mods

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.startsession.measuresession.compactcommand.runui.render
API calls
$.command.register$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
compaction
Reach
level 1 of 3 reads mod statepersists 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/rotembm12/claude-mods
Path in repo
context-usage
Source commit
fe89720 the exact code the scan read
Author
Rotem @rotembm12
License
No license declared — ask the author before reusing code.
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 rotembm12/claude-mods

orchestrator

rotembm12/claude-mods

Turns a session into an orchestrator that delegates work to Haiku 5.5 and Sonnet 5.5 subagents, keeps its own context small, sizes each task to about 150K tokens of subagent context, and lists the running and past agents in an expandable band whose rows open a tabbed agent inspector: the outcome at a glance, the whole brief in cards, every step with its input and output, and a token view of...

★ 0PanesBandsGuards

session-topics

rotembm12/claude-mods

Shows the session's topics and a per-session color above the prompt, so side-by-side sessions are easy to tell apart

★ 0BandsPrompt

Other mods in Bands, close to this one by stars.