context-view

by kongyo2 · ★ 1 · updated 3 days ago

BandsCommandsvalidates

0

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.

install context-view

Install

/plugin marketplace add kongyo2/context-view
/plugin install context-view@context-view

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.startclassic.SessionStartcommand.runsession.measureturn.stepsession.compactclassic.PostModelSwitchconfig.setui.render
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 hookscompaction
Reach
level 1 of 3 other: $.state.getother: $.state.setreads env varspersists 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
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.