Check Claude Code TUI Compact Readiness
companion_tui_compact_checkInspect the Claude Code TUI and cc-in-codex metadata to decide if it's a good moment to run /compact. A heuristic alternative to reading exact token limits.
Instructions
Inspect the visible Claude Code TUI and cc-in-codex metadata to decide whether this is a good checkpoint to run /compact. This is a heuristic, not a true token-limit reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| lines | No | Recent pane lines to inspect. Defaults to 500. |