Problem
When Claude Code is auto-launched (e.g., from .zshrc with claude --continue), there's no opportunity to pass -n to name the session. The only way to name a session is at launch time via -n/--name, which means users who auto-launch can't take advantage of named sessions without exiting and re-entering.
Proposed solution
Add an in-session /name or /rename slash command that sets or updates the display name of the current session. This name would then appear in /resume and the terminal title, just like -n does today.
Use case
- Users who auto-launch Claude Code on terminal open (via shell profile) can't name their sessions without exiting and re-entering
- Users who want to name a session based on what they end up working on, rather than deciding upfront
🤖 Generated with Claude Code
Problem
When Claude Code is auto-launched (e.g., from
.zshrcwithclaude --continue), there's no opportunity to pass-nto name the session. The only way to name a session is at launch time via-n/--name, which means users who auto-launch can't take advantage of named sessions without exiting and re-entering.Proposed solution
Add an in-session
/nameor/renameslash command that sets or updates the display name of the current session. This name would then appear in/resumeand the terminal title, just like-ndoes today.Use case
🤖 Generated with Claude Code