Skip to content

Manage the context window

Run /context. It breaks the window down: system prompt and tools, CLAUDE.md and rules, skill descriptions, MCP tool names, memory, conversation.
terminal
/context
/compact summarises the conversation and drops old tool output. Add a focus — /compact focus on the auth refactor — so the summary keeps what you still need.
terminal
/compact focus on the auth refactor
A subagent runs in its own window and returns only its answer. Use one for wide searches, log reading and reviews so the noise never lands in your session.
terminal
/agents

Step 4. Trim the MCP servers you do not use

Section titled “Step 4. Trim the MCP servers you do not use”
Every connected server contributes tool names to every session. Check the cost with /mcp and disconnect the ones you are not using.
terminal
/mcp