DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
Environment variable to force full transcript reads after a compaction boundary
Use it now
Useful3Signal3
CompactionNotablenot in their notes
Set CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP to force full transcript reads after a compaction boundary.
What's wrong with this entry?
Anonymous. No account, no email.
CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP
What
Setting CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP makes Claude Code read the whole transcript after a compaction boundary instead of skipping that work on large files. Unset, the skip stays in place.
Evidence
CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP
Strings lifted out of the shipped bundle, so the claim above can be checked against them.