context-lens

by Gautam Singh · ★ 0 · updated 19 Oct 2026

PanesStatus lineGuardsCommandsvalidates

0

See what fills your context window, what the last prompt added, and where tokens are wasted

install context-lens

Install

/plugin marketplace add Gautamstar/context-lens
/plugin install context-lens@context-lens

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.startsession.attachcommand.runtool.callsession.compactturn.completesession.measureui.render
API calls
$.clock.after$.clock.now$.command.register$.command.run$.env.get$.fs.stat$.model.classify$.model.complete$.session.messages$.session.surfaces$.session.usage$.state.get$.state.set$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
Pane
Can see
Read callscompaction
Reach
level 2 of 3 drives Claudereads filesreads env varsreads the transcriptreads 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/Gautamstar/context-lens
Path in repo
repository root
Source commit
32249a5 the exact code the scan read
Author
Gautam Singh @Gautamstar
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.

Other mods in Panes, close to this one by stars.