3 hacks
Spin up a subagent for codebase search or verification so only the conclusion returns to your main context.
Define custom subagents with `isolation: worktree` so delegated edits happen on a temporary branch checkout.
Turn off MCP servers unrelated to the current project—their tool schemas still consume context at session start.