context-manager
Context Manager
The smart zone (read this first)
This skill judges context against a healthy window — the "smart zone" — not the model's raw context window.
The raw window can be 200k or 1M, but model quality starts degrading (context rot) long before it fills. By default the smart zone is 150k tokens: the band where recall, reasoning, and instruction-following stay sharp. Past it, quality falls off no matter how much window remains. So every token under the smart zone is gold — that's the budget you actually do good work in, and the point of this skill is to spend as little of it as possible on startup overhead.
All percentages, verdicts, and bars here are measured against the smart zone, not the raw window.
The healthy-window setting (used by every mode). The smart-zone size persists in ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/context-manager.json under healthy_window_tokens. At the start of any mode, read it by running the bundled helper (alongside this SKILL.md):
bash scripts/read-window.sh # prints the token count, default 150000
If it's the default 150k, say so (and that Mode 4 can change it). If the user set a custom value, use it everywhere and mention it.