Dialing Claude Code compaction to 300K in T3 Code yields 20% more weekly usage

PawelHuryn · x · 2026-11-24

Developer lucastohdev shared a usage optimization for coding agents: in T3 Code, Claude Code defaults to 1M context and Codex to 256K, both without auto compaction. Setting CLAUDECODEAUTOCOMPACTWINDOW to 300000 for Claude Code and enabling "Compact Idle Thread" in T3 Code's Providers -> Advanced settings can yield up to 20% more Claude usage per week, with no compaction wait after long runs.

Paweł Huryn points out his AFK Pilot VS Code extension (190K+ downloads) can set this once for six agents—Claude Code, Codex, Muse Code, Grok Build, Google Antigravity, and DeepSeek—in one sidebar, with phone-based remote control, mid-turn steering, unified compaction limits, and optional voice control. A settings screenshot shows the "Compact at a token limit" toggle with a 300K threshold (not applicable to Antigravity).

Original post →

More from coding & agent

coding & agent channel →