Cmd. /rename
Changes the current session's name while retaining its conversation.
Written and reviewed by Eric Han · Co-founder & CTO, reopt
Key takeaways
- Name or auto-name the current session.
- Check the input surface and availability before using the examples below.
Purpose
Name or auto-name the current session.
/rename [name]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-10-23 · Claude Code 2.1.308 |
The installed command menu and account or organization settings determine availability.
Examples
/rename parser-migrationEffects and persistence
Changes the current session's name while retaining its conversation.
Cautions
Names are capped at 200 characters and invisible characters are normalized. A collision can produce a variant of the requested name.