context-meter
by tjanuki · ★ 0 · updated 10 days ago
0
Shows the context window's fill after every turn and, past a threshold, says it is time to write a hand-off document and start a new session.
Install
git clone https://github.com/tjanuki/claude-mod-context-meterclaude --plugin-dir ./claude-mod-context-meterThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.measureui.rendercommand.run- API calls
$.clock.now$.command.register$.prompt.submit$.state.get$.state.set$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Reach
- level 2 of 3 drives Claudereads mod 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/tjanuki/claude-mod-context-meter
- Path in repo
- repository root
- Source commit
ce205e3the exact code the scan read- Author
- @tjanuki
- 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.