context-line
by Haoyu-UT · ★ 0 · updated 10 days ago
0
One-line summary of the context window under the prompt: usage, window size and the top 5 categories.
Install
/plugin marketplace add Haoyu-UT/claude-mods/plugin install context-line@hwang-modsThen 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.startclassic.SessionStartturn.stepsession.measuresession.compactui.render- API calls
$.session.usage$.state.get$.state.set$.ui.resolve- Draws
PromptHint- Can see
classic hookscompaction- Reach
- level 1 of 3 other: $.state.getother: $.state.setdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Haoyu-UT/claude-mods
- Path in repo
context-line- Source commit
ecdce2bthe exact code the scan read- Author
- @Haoyu-UT
- 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.