Allow --resume to accept session name as an alternative to UUID

Resolved 💬 3 comments Opened Apr 29, 2026 by jciafardini-lv Closed May 31, 2026

Feature Request

Summary

Allow claude --resume <name> to work as an alternative to claude --resume <uuid>, using the session name set via /rename.

Current behavior

  • Sessions can be named via /rename <name>, but the name is only a display label.
  • --resume only accepts a UUID.
  • --continue resumes the most recent session with no way to specify which one.
  • There is no way to resume a session by name from the CLI.

Desired behavior

claude --resume lte-dvt-procedure

Should resolve the session name to its UUID and resume it, equivalent to:

claude --resume bfba5447-39eb-4980-a341-dab9b4566da8

Why

Session names are already supported via /rename and shown in --list. Supporting name-based resume would make it much easier to return to long-running or named work sessions without having to look up or remember UUIDs.

A simple workaround is a shell function that greps the .jsonl files for the title, but this should be a built-in capability given that naming is already a first-class feature.

Suggested implementation

When --resume <arg> is passed and <arg> is not a valid UUID, fall back to searching session files for a matching title and resume the most recent match.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗