Dokumentationerreichbar
Anthropic, Explore the context window
code.claude.com (externe Seite)
Die Herstellerseite zum Kontextfenster, aufgebaut als begehbare Simulation einer Sitzung. Sie belegt, dass das Verdichten das Gespräch durch eine strukturierte Zusammenfassung ersetzt (Ereignis „/
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 04.08.2026:
Before you type anything: CLAUDE.md, auto memory, MCP tool names, and skill descriptions all load into context.
bestätigt 10.11.2026Path-scoped rules and nested CLAUDE.md files load into message history when Claude reads, writes, or edits their trigger file, so compaction summarizes them away with everything else.
bestätigt 10.11.2026The summary keeps what you choose instead of what the automatic pass guesses is important.
bestätigt 10.11.2026Skill bodies are re-injected after compaction, but large skills are truncated to fit the per-skill cap, and the oldest invoked skills are dropped once the total budget is exceeded.
bestätigt 10.11.2026Right after compaction, Claude Code re-reads up to five of the files Claude has read or edited in the session, choosing the ones modified most recently.
bestätigt 10.11.2026Old conversation crowds out the files you need next and costs tokens on every message.
bestätigt 10.11.2026Claude Code compacts automatically as you approach the limit, so a full context window doesn't end your session.
bestätigt 10.11.2026When a long session compacts, Claude Code summarizes the conversation history to fit the context window.
bestätigt 10.11.2026The visualization uses representative numbers.
bestätigt 10.11.2026Compaction works the same way at the larger limit.
bestätigt 10.11.2026which replaces the conversation with a structured summary.
bestätigt 10.11.2026The plan Claude wrote in plan mode Re-injected from disk
bestätigt 10.11.2026If a rule must persist across compaction, drop the paths: frontmatter or move it to the project-root CLAUDE.md.
bestätigt 10.11.2026Compact part of the conversation: run /
bestätigt 10.11.2026rewind, select a message Rebuilt from your current skills and re-injected.
bestätigt 10.11.2026Requires Claude Code v2.1.304 or later
bestätigt 10.11.2026Claude Code runs them and adds their output to the compacted context
bestätigt 10.11.2026
Wenn die Zusammenfassung Anweisungen enthält, die niemand gegeben hatVerdichten im Glossar03 Der Init04 Versionierung05 Das Gedächtnis05 Kontext und Sitzungen12 Hooks und Skills13 Subagenten und Schleifen14 Anweisungen und Gedächtnis23 Plan vor Code31 Der Harness