What's wrong with this entry?
Anonymous. No account, no email.
What
Allows manual control of the maximum context token limit when automatic compaction is disabled.
Usage
export DISABLE_COMPACT=1
export CLAUDE_CODE_MAX_CONTEXT_TOKENS=500000Details
- Only takes effect when
DISABLE_COMPACTis set to a truthy value - Parses the value as an integer; ignores invalid or non-positive values
- When compaction is disabled without this variable, the context limit message now shows "Compaction is disabled." instead of the previous autocompact instructions
Evidence
Context limit override (search for "CLAUDE_CODE_MAX_CONTEXT_TOKENS" and "Compaction is disabled.")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.