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-mods

Review the source before installing. Installation guide →

Permissions Facts

Can read files
–
Can write files
–
Can access the network
–
Can read environment variables
–
Can change prompts
–
Can intercept tool calls
–

Capability evidence is not a security certification; “–” does not mean a capability is absent.

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
Plugin manifest ↗Hooks configuration ↗Registered module ↗Marketplace manifest ↗

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