Six ways to make a window last longer
Usage is tokens in plus tokens out. Everything here shrinks one of the two.
Compact or restart long sessions.
/compact
Turn off extended thinking for routine edits.
Ask for targeted edits instead of whole-file rewrites.
Don't run three subagents when one will do.
Exclude build output and node_modules from what the agent reads.
Batch small questions into one message.