Coming soon LLMnesia Pro See where every project stands, across all your AIs. Join the waitlist

How-To

How to Resume an Old Claude Code Session

Resume a past Claude Code session with --resume, --continue, or /resume. How each option works, what the picker's search does, and how to reopen any session.

Run claude --resume to choose a saved Claude Code session or claude --continue to reopen the most recent eligible session in your current directory. If the session belongs to another project, press Ctrl+A in the picker. If you know its ID, run claude --resume <session-id>.

LLMnesia⌘ ⇧ 9
mediterranean diet inflammation
30 indexed · ↑ for previous
Mediterranean diet effects on chronic inflammation markers
Multiple cohorts show a mediterranean diet lowers CRP and other inflammation markers.
Perplexity6 days ago
Build a mediterranean diet meal plan low in inflammation triggers
A mediterranean diet built on olive oil, fish, and greens limits inflammation triggers.
ChatGPT2 weeks ago
Summarise this paper on mediterranean diet and inflammation
The paper finds mediterranean diet adherence correlates with reduced systemic inflammation.
Claude3 weeks ago

The three built-in ways to resume

claude --continue (or -c) reopens the most recent eligible session in the current directory.

claude --resume (or -r) opens the session picker. Type to filter it, or pass a session ID to jump straight to a specific session.

/resume opens the picker from inside a running Claude Code session.

All three restore the session's context so Claude picks up with the history intact, rather than starting cold.

Resume a session from another worktree or project

The picker initially shows sessions associated with the current worktree. Press Ctrl+W to include the repository's other worktrees or Ctrl+A to show all projects on the machine. When you pick a session from an unrelated project, Claude Code can copy a command that changes to that project and resumes the session.

If you pass an ID from a different directory, Claude Code searches the current project and its worktrees first, then looks for a unique match elsewhere. If an older build cannot find it, run the command from the original project directory. See where Claude Code stores its transcript files to locate the ID.

Resuming a session you can't place

If you remember a line from the conversation but cannot identify it in the picker, search the saved transcript files by content.

Two ways through it:

If you cannot place the session at all, work through the methods for finding an old Claude Code conversation first, then come back and resume it.

Keeping sessions easy to return to

These habits make a session easier to find later.

How do I resume a previous Claude Code session?

Run claude --resume (or -r) to open the session picker, filter it with a search term, and choose a session. Press Ctrl+A to show sessions from other projects. Use claude --continue (or -c) to return to the most recent session in your current directory. Inside Claude Code, use /resume.

What is the difference between --resume and --continue?

claude --continue reopens the most recent eligible session in the current directory. claude --resume opens a picker you can filter and widen across worktrees or projects. Pass a session ID to resume a known session directly.

How do I reopen a session that isn't the most recent one?

Run claude --resume <session-id> to skip the picker. For a saved local session, the ID is the filename without .jsonl. Claude Code checks the current project and its worktrees first, then looks for a unique match in other projects on the machine.

Can I resume a Claude Code session from a different folder?

Yes. In the session picker, Ctrl+W shows worktrees for the same repository, and Ctrl+A shows all projects on the machine. Selecting a session from an unrelated project may copy a terminal command to your clipboard. If you know the session ID, claude --resume <session-id> can find it from another directory.

How does LLMnesia help me resume a Claude Code session?

After you import the local session folder and indexing finishes, search for a phrase you remember. A saved result can show the matching session and give you a terminal resume command.

Anthropic documentation on Claude Code sessions

Read next

How to Search Your Claude Code Conversation History

Search all your AI conversations in one place, LLMnesia indexes your ChatGPT, Claude, Gemini, Grok, and 10+ other AI chats locally on your device. No account, no cloud, completely private. Install LLMnesia free →