Name a session so it is easy to find later
sessions
// what it does
claude -n "my-feature-work" (or --name) sets a display name for the session so it stands out in the /resume picker and in claude -r instead of a random ID. You can rename an existing session in the resume picker with R, or from print mode by passing the name to /rename. Names make multi-session and worktree workflows navigable.
// shell
$ claude -n "payment-refactor"$ claude --name "flaky-test-hunt"