/rename
A slash command in Claude Code that assigns a name to the current session so that it can later be restored through /resume. Used together with /clear, it makes the clearing operation reversible.
Timeline (last 90 days)
The /rename command is used to name the current session, which can later be restored with /resume.
The recommended decision order for context management is: first run /context to confirm usage; when continuing the same topic, compress with /compact with a focused instruction; when switching to unrelated work, use /rename plus /clear, and /resume back when needed.
In Claude Code, you can use /rename to name a session and then use /resume to find the previously named session.
All Facts (3)
The /rename command is used to name the current session, which can later be restored with /resume.
50%UnverifiedThe recommended decision order for context management is: first run /context to confirm usage; when continuing the same topic, compress with /compact with a focused instruction; when switching to unrelated work, use /rename plus /clear, and /resume back when needed.
50%UnverifiedIn Claude Code, you can use /rename to name a session and then use /resume to find the previously named session.
50%