Environment variables

CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS

Sets the minimum token size a conversation must reach before idle compaction triggers.

Syntax

CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS

Type to search the reference, templates and lessons.