context-view
by kongyo2 · ★ 1 · updated 12 Oct 2026
The context window as one row above the prompt, drawn the way Claude Code draws its own meters: the context's cells, the percentage used, the tokens over the window, and the tokens left before auto-compact. /context-view hides and shows it. With the awareness option on, Claude itself reads the same figures in a line after your prompts and its tool results, from the point you set, such as 400k...
Install
/plugin marketplace add kongyo2/context-view/plugin install context-view@context-viewThen 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.SessionStartcommand.runsession.measureturn.stepsession.compactclassic.PostModelSwitchconfig.setui.renderprompt.submittool.call- API calls
$.clock.after$.clock.every$.command.register$.env.get$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve- Draws
AbovePrompt- Can see
classic hookscompactionevery promptevery tool call- Reach
- level 1 of 3 reads env varsreads 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/kongyo2/context-view
- Path in repo
- repository root
- Source commit
30afc56the exact code the scan read- Author
- @kongyo2
- License
- MIT
- 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.