context-mode
Hold bulky tool results outside the prompt and retrieve only the needed pieces.
Browse category →Workflow problem
Large logs, long conversations and repeated tool output can consume context before the task is finished.
Large logs, long conversations and repeated tool output can consume context before the task is finished.
Run `/context` to inspect context use and `/compact` to summarize the conversation when needed. Keep durable project decisions in files so they survive compaction.
Official Claude Code documentation ↗Trim bulky outputs and keep only task-relevant facts; compression can discard details you later need.
Hold bulky tool results outside the prompt and retrieve only the needed pieces.
Browse category →Trim verbose tool output before it consumes an agent's context window.
Browse category →Keep a durable task plan in files that survives context clearing and session restarts.
Browse category →No. It summarizes conversation context; project files remain on disk.
Yes. Put critical constraints and next steps in files.