Repository navigation
Releases
v0.2.0: Context overview plugin
The plugin now shows a Claude-style context overview with category attribution, a capacity grid, and expanded source details. It bundles its Python runtime so marketplace installs run independently of a source checkout or pip installation.
- CLI:
/skills→ Context Window, or$context-window. - Desktop:
@→ Context Window. - Append
all,json,statusline, orsummaryto select the output.
Plugins do not register a native /context command. Category tokens are estimated from observable payload bytes; missing definitions and compaction reserves remain unknown.
Install:
codex plugin marketplace add androidZzT/context-window-inspector
codex plugin add context-window-inspector@context-window-inspectorStart a new CLI session or restart the desktop app after installing or updating. The wheel installs the separate cw-inspect CLI. The plugin ZIP contains a standalone marketplace; extract it and add its root with codex plugin marketplace add ./context-window-plugin.
Validation: 24 passing tests, skill validation, isolated packaged MCP/helper tests, and a successful v0.2.0 local plugin installation and isolated smoke test. Claude attribution now excludes pre-compaction history and avoids counting repeated tool blocks twice.
v0.1.0
v0.1.0
Initial internal release of context-window-inspector.
Highlights
- Inspect Codex and Claude Code local session logs.
- Render exact token usage and estimated context-window attribution by bucket.
- Provide compact statusline output for Codex and Claude workflows.
- Estimate API-equivalent costs from recorded token usage, including cached input and Claude prompt-cache write/read buckets.
Validation
- pytest: 14 passed
- python -m build: wheel and sdist built
- twine check: passed
Notes
- Cost output is an API-equivalent estimate, not an authoritative Codex subscription or Claude Pro/Max bill.
- Codex detailed segmented statusline is available through the helper script; Codex TUI currently supports only built-in statusline items.