QuestionQ92

Context Management & Reliability

You are developing developer-productivity tools with the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

An engineer used Claude Code yesterday to investigate authentication flows in a legacy monolith, accumulating significant context during a 2-hour session. Today, she wants to continue that same investigation. She has worked on three other codebases since then and knows the session was named auth-deep-dive.

How should she resume?

Explanation

Claude Code supports resuming a specific prior session by its display name with claude --resume <name>. A session named auth-deep-dive can therefore be resumed directly with --resume auth-deep-dive. --continue instead loads the most recent conversation in the current directory, so it would not reliably select the earlier authentication investigation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!