claudemods

All Claude Code modstjanuki/claude-mod-context-meter

context-meter

A Claude Code mod in tjanuki/claude-mod-context-meter

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.

context-meter reaches L2 (writes or runs) and passed claude plugin validate with warnings on Claude Code 2.1.304.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads mod state, draws

Validation

Passed with warnings on Claude Code 2.1.304

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, session.measure, ui.render {component=AbovePrompt}, command.run {command=ctx}
API calls
$.clock.now, $.command.register, $.prompt.submit, $.state.get, $.state.set, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.304
Passed with warnings
Scanned revision
ce205e3313a3

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. What a mod can access and how the scan works.

Badge for your README

Reach badge for context-meter Validation badge for context-meter

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/tjanuki--claude-mod-context-meter--context-meter-reach.svg)](https://mods.aidojo.si/mods/tjanuki--claude-mod-context-meter--context-meter/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/tjanuki--claude-mod-context-meter--context-meter-validates.svg)](https://mods.aidojo.si/mods/tjanuki--claude-mod-context-meter--context-meter/)