context-window

context-window is a Claude Code mod by chrishan17 that a pane listing everything that entered the context window since the session started, by turn and by category.

Updated 2026-10-02

What is context-window?

context-window is a Claude Code mod by chrishan17 that a pane listing everything that entered the context window since the session started, by turn and by category. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorchrishan17
Repositorychrishan17/claude-mod-context-window
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (88/100)
Rank#2,904 of 5,272 Claude Code mods; #269 in Context & memory
LicenseMIT
Last commit2026-10-02
Hooks11 events
Seescompaction, the system prompt
Draws onPane

Is context-window safe to install?

context-window scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.command.register
$.config.list
$.env.getreads env vars
$.prompt.compose
$.session.messagesreads the transcript
$.session.surfaces
$.session.usage
$.state.get
$.state.set
$.tool.list
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install context-window?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/chrishan17/claude-mod-context-window
    claude plugin validate ./claude-mod-context-window/plugins/context-window
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add chrishan17/claude-mod-context-window && claude plugin install context-window@claude-mod-context-window

Or ask Claude to set it up

Paste this into Claude Code and it installs context-window for you:

Install the "context-window" Claude Code mod from https://github.com/chrishan17/claude-mod-context-window/tree/main/plugins/context-window. Run claude plugin validate on it first and show me what it can access before you enable it.