Name Your Sessions at Launch with --name
Descriptive session names make it easy to find and resume specific threads later. The --name flag (short: -n) sets a display name at launch, so you do not have to rename it afterward with /rename.
claude -n "auth-refactor"
claude -n "api-design-v2"
claude --name "onboarding-flow-debug"
The name shows in the terminal title bar and in the session picker when you run /resume or claude --resume with no arguments. Unlike session IDs (which are UUIDs), names are human-readable, so claude --resume auth-refactor is far easier to type from memory.
Once named, resuming that specific session is a single command:
# Start a named session
claude -n "payment-stripe"
# Come back to it later, from any directory
claude --resume payment-stripe
Combine --name with --worktree to give each isolated feature branch a clear identity:
claude -w feature-auth -n "auth-jwt-migration"
You can still rename mid-session with /rename [name] if you realize the original name was unclear, but setting it upfront means it is correct from the very first message.
Name every focused work session and your /resume picker stays clean and navigable.
Log in to leave a comment.
The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.
The language setting makes Claude respond in your preferred language by default, across every session and project.
The attribution setting lets you customize or completely remove Claude's Co-Authored-By trailer from git commits and pull requests.