context-lens Claude Code mod
Tracks context-window occupancy and changes between turns.
- session.start
- turn.complete
- session.compact
- command.run
- ui.close
- ui.render
Install commands
Enter these two lines in the Claude Code prompt, in order.
1. Add marketplace 2. Install plugin
/plugin marketplace add Arunjay4213/claude-mods
/plugin install context-lens@claude-modsReview the source before installing. Installation guide →
Source & updates
- Last updated
- 2026-09-15
- License
- Not verified
- Plugin version
- 0.1.0
- Claude Code
- 2.1.287+
- Source
d4fffd7- Repository stars
- 5
Source files
Source inventory
Declared events: session.start | turn.complete | session.compact | command.run{command=clear} | command.run{command=context-lens} | ui.close{id=context-lens} | ui.render{component=Pane}
Declared API calls: $.command.register | $.session.usage (via read) | $.ui.close | $.ui.invalidate (via show) | $.ui.log | $.ui.open | $.ui.resolve | $.ui.status (via show)
Review methodology · Source and updates · Runtime limits · Function hooks guide