What's wrong with this entry?
Anonymous. No account, no email.
What: Override the default autocompact threshold using an environment variable
How to use:
# Set autocompact to trigger at 75% of context capacity
export CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=75
claude
# Or inline
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=90 claude
Details:
- Accepts percentage values from 1-100
- Falls back to default if invalid value provided
- Provides more control over memory management
- Useful for balancing context usage vs. compaction frequency
- Evidence:
Gn6()at line 296137