`/compact` doesn't clear the full context
# bugs-forum
Kind of odd to see why it's always fixed at
92%
even for smaller sessions
f
Thanks for reporting @proud-printer-9482 please check this
p
That 92% is actually the expected floor, not a fixed value. The number comes straight from Claude Code itself (the same thing its
/context
command shows), and it counts everything in the window, not just your messages.
/compact
only shrinks the conversation history. It can't touch the fixed stuff that ships with every request: the system prompt, built-in tool schemas, skills, MCP tool definitions, and your CLAUDE.md / memory files. Add the compaction summary on top, and you get a baseline of roughly 8% of the 200K window. Running
/compact
again just swaps one summary for another of similar size, so it ends up with the same reading every time. Your screenshot lines up with that: messages went 121K → 11.6K, and what's left is that 11.6K plus the fixed baseline.
s
ok thanks for the clarification
6 Views