Claude Code tip: tune context compaction with /autocompact

dotey · x · 2026-09-02

A quick Claude Code tip thread: you can adjust the Auto Compact threshold directly via /autocompact auto or e.g. /autocompact 200k, or push it to 500K for longer context before compacting. Keep Auto Compact enabled (it's on by default); one user argues long contexts degrade reasoning anyway, so compacting earlier may be better.

Related event: Tip: Disabling Claude's 1M Context Saves Tokens(4 posts)→

Original post →

More from coding & agent

coding & agent channel →