Cmd. /rename
Rename the current saved Codex chat without changing its transcript or execution state.
Key takeaways
/rename [name]changes the saved name of the current chat without altering its transcript.- Pass a name inline or run
/renamewithout arguments to open the naming prompt. /new [name]creates and names a new chat;/renameonly updates the chat already open.- A short team naming rule based on issue, branch, and purpose makes
/resumesearch easier.
Original Command Declaration
/rename [name]Official Summary
/rename [name] updates the saved name of the current chat without changing its transcript.
Usage
/rename [name]Good Examples
- Run
/rename AUTH-241 refresh-token raceto record the issue and purpose. - Run
/renamewithout arguments and enter a readable name in the prompt.
Similar Commands
| Command | Difference | Choose It When |
|---|---|---|
/rename | Renames the current chat | Existing work needs a searchable name |
/new [name] | Creates and names a new chat | You need a fresh context |
/title | Configures the terminal window title | You need to distinguish OS windows or tabs |
Use Cases
- Identifying parallel sessions by issue number.
- Replacing an automatic name with a team-standard label.
- Improving
/resumelists and search results.
Cautions
- Renaming does not change the transcript or Git branch.
- Do not put secrets, customer data, or tokens in chat names.
- Prefer a short searchable prefix over a long description.
Release Basis
- Judgment: first source evidence plus official listing
- First evidence version:
rust-v0.93.0 - Date (UTC): 2026-01-31
- Release link: https://github.com/openai/codex/releases/tag/rust-v0.93.0
Sources
- Codex slash commands: https://developers.openai.com/codex/cli/slash-commands
- Codex 0.93.0 slash command source: https://github.com/openai/codex/blob/rust-v0.93.0/codex-rs/tui/src/slash_command.rs