logoalt Hacker News

walthamstowtoday at 8:06 AM0 repliesview on HN

There's an env var you can set in Claude Code to bring the autocompact threshold down, effectively setting your own max context window. I have it at 400k.