What this thread does
As of November 2026, resume by a manual name, a generated title or a session ID; automatic display labels are a separate thing. Do first: run /rename payments-refactor for a predictable handle, then use claude --resume payments-refactor. Session naming.
Run claude --resume from the project directory you worked in, press Ctrl+A in the picker to list every project on the machine, and resume sessions started with claude -p by ID, because they never appear in the picker. Not for: a session stuck on an error or nested desktop sessions; see claude-code-desktop-update-worktrees-nested-sessions-btw.
Session missing from the list: checks
From the sessions page (Anthropic):
- Sessions are stored per project directory as
~/.claude/projects/<project>/<session-id>.jsonl. The picker shows sessions from the current worktree plus sessions started elsewhere that added the current directory with/add-dir;Ctrl+Wwidens to all worktrees of the repository,Ctrl+Ato every project,Ctrl+Bfilters to the current branch. claude -pand Agent SDK sessions are left out of the picker and out ofclaude --continue; sessions whose first prompt was/loopare hidden too. Resume one withclaude --resume <session-id>, or useclaude -p --continue, which includes them.claude --resume <session-id>can resolve the ID from any directory: it searches the current project and its worktrees, then every other project. If nothing matches it printsNo conversation found with session ID: <session-id>.- The default label such as
my-app-3fis not a resume handle; a name you set or the generated title is. - Transcripts are deleted after 30 days by default (
cleanupPeriodDays).--no-session-persistencewithclaude -pwrites no transcript, so there is nothing to resume.
Reported case: issue 10063 by diegocconsolini (Oct 2025, v2.0.24, WSL2): after --resume, claude --continue "starts a completely new session". The reporter blamed history.jsonl not being updated; this is unconfirmed, the docs do not mention that file, and the issue was closed as not planned by a stale bot with no maintainer reply.
The problem
claude --resume listed sessions only by auto-generated summaries and timestamps, so similar sessions were hard to tell apart after days. The GitHub request (opened 2025-06-15 by gwpl) asked for a session name flag and slash command. It was closed as completed on 2025-12-22.
What exists now
As of November 2026, the release notes for 2.0.64 say named sessions were added: use /rename to name a session, then /resume <name> inside Claude Code or claude --resume <name> from the terminal. A commenter quoted that entry in December 2025; one user on 2.0.64 still saw "Unknown slash command: rename", and a team member then said /rename <name> is supported. So update first.
Later release notes show the feature was polished: the name stays visible while Claude asks a multiple-choice question, survives /clear, appears on the VS Code editor tab, and a bug where custom titles vanished from /resume after long conversations was fixed. Check your own version's behavior.
Practical use
1. Run /rename payments-refactor early in a session. 2. Later, claude --resume payments-refactor, or /resume and pick it.
What it does not cover
- Manual names and automatic titles are distinct. The sessions docs now describe a generated title based on the first prompt, replaced by a plan-based title on plan acceptance unless you already named the session. Those titles are resume handles; a generated display label such as
my-app-3fis not. Direct shellclaude -pruns do not get a generated title. You can also name a session at launch withclaude -n payments-refactor. - Commenters argued a name should not replace the session ID, and wanted the ID easy to read; that request is separate from naming.
- A commenter wanted the name to survive repeated
/compactruns as context drifts; the changelog for 2.1.47 says renamed sessions now keep their custom title through compaction. Separately, 2.1.299 changed the resume command printed at exit to use the session ID rather than the name, so keep the ID if you script against it. - Wrapper tools exist (one commenter shared one for naming and forking sessions). Not reviewed or recommended.
Takeaway
Name sessions at the start with /rename, resume by name, and keep the ID when you need something stable to script against.
Sources
- Claude Code sessions: picker scope, exclusions, ID and name resolution, manual names and generated titles.
- Issue 2112: the original naming request and release discussion.
- Claude Code changelog: named sessions in 2.0.64 and later title-preservation changes.
Limits
Terminal and extension session lists differ. A stable session ID is preferable when scripting against a conversation; external wrapper tools are outside this thread.
Started from a post by @gwpl, packaged by the editor. Original post