Dokumentationerreichbar
Anthropic, Manage sessions
code.claude.com (externe Seite)
Die Herstellerdokumentation zu Sitzungen in Claude Code: benennen, fortsetzen mit --continue, --resume oder --from-pr, verzweigen und wechseln, dazu Export der Verläufe und der Speicherort der Transkripte. Eine Sitzung ist ein gespeichertes Gespräch, das an ein Projektverzeichnis gebunden ist.
geprüft 22.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 10.10.2026:
A session is a saved conversation tied to a project directory.
bestätigt 22.11.2026Claude Code stores it locally as you work, so you can resume where you left off, branch to try a different approach, or switch between tasks.
bestätigt 22.11.2026Give sessions descriptive names so they're findable in the session picker and resumable by name.
bestätigt 22.11.2026pass flags such as these again, because Claude Code doesn’t restore them
bestätigt 22.11.2026The cross-project search resolves the ID only when exactly one other project holds a transcript with messages for it, so a hand-copied duplicate makes Claude Code report not-found rather than resume an arbitrary copy.
bestätigt 22.11.2026Branching creates a copy of the conversation so far and switches you into it, leaving the original intact.
bestätigt 22.11.2026both write to one transcript. When you resume that session later, messages from one of them can be missing.
bestätigt 22.11.2026Claude Code stores sessions per project directory.
bestätigt 22.11.2026Each line is a JSON object: a message, a tool use or result, a record of a request Claude Code sent the model, or a metadata entry.
bestätigt 22.11.2026that is still running, Claude Code opens the running session itself.
bestätigt 22.11.2026the dialog can appear when you resume a long conversation after a long break or on a different model.
bestätigt 22.11.2026its estimate is the share of your 5-hour usage limit that the saved conversation alone would use.
bestätigt 22.11.2026The estimated use comes when you send your first message after Resume, not when you select it.
bestätigt 22.11.2026Sessions whose first prompt was a /
bestätigt 22.11.2026loop command don’t appear in the picker, and claude --continue skips them too. The messages that the last compaction summarized aren’t loaded again.
bestätigt 22.11.2026when you resume it by full session ID with --bg after it stops. In both cases, the session keeps its flags.
bestätigt 22.11.2026
05 Kontext und Sitzungen21 Parallel arbeiten27 Übergabe zwischen Sitzungen29 Skripte und CI