8 concrete methods to optimize Claude Code's context window, covering subagents, skills, plan mode, and CLI tools to avoid context rot and get better results.