Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

15 pages for /rename.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …e session's custom title when one is set, for example with `--name`, `/rename`, a hook's `sessionTitle` output, or [`renameSession()`](#renamesession). Otherwise the AI-generated session title, if the… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …on what you send: * A session that's working: `/model`, `/effort`, `/rename`, and `/usage` run right away. Other replies join the session's [message queue](/docs/en/interactive-mode.md#queue-message… Best practices for Claude Code Claude Code CLI · in the page best-practices …for git. ### Resume conversations > [!TIP] > > Name sessions with `/rename` and treat them like branches: each workstream gets its own persistent context. Claude Code saves conversations locally,… Claude Code changelog Claude Code CLI · in the page changelog …own could silently lose the wakeup * Changed `/model`, `/effort` and `/rename` sent from `claude agents` to a busy background session to apply right away, without a confirmation, instead of when the t… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …fferently in cloud sessions: * **`/model`, `/effort`, `/color`, and `/rename`**: pass the value as an argument, for example `/model sonnet`, instead of opening the terminal picker or slider. The argu… CLI reference Claude Code CLI · in the page cli-reference …t of it](/docs/en/sessions#name-your-sessions) instead. <br /><br />[`/rename`](/docs/en/commands) changes the name mid-session and also shows it on the prompt bar… Commands Claude Code CLI · in the page commands …| | `/rename [name]` | Rename the current s… Manage costs effectively Claude Code CLI · in the page costs …d work. Stale context wastes tokens on every subsequent message. Use `/rename` before clearing so you can find the session later, then `/resume` to return to it. * **Add custom compaction instructions… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …e unless you typed that name at this terminal, with `--name` or with `/rename` and the name, since you launched or last resumed the session. When the output lists anything, it ends with a note saying… Run Claude Code programmatically Claude Code CLI · in the page headless …`, aren't available. > * `/model`, `/effort`, `/fast`, `/color`, and `/rename` accept the value as an argument, for example `/model sonnet`, and `/mcp` with no argument prints a text summary of server… Hooks reference Claude Code CLI · in the page hooks …'s custom title, present when one is set, for example with `--name`, `/rename`, a hook's `sessionTitle` output, or the Agent SDK's `renameSession()`. A hook that emits `sessionTitle` can check this fi… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …, `--remote-control`, or `/remote-control` 2. The title you set with `/rename` 3. The last meaningful message in existing conversation history 4. An auto-generated name like `myhost-graceful-unicorn`,… Manage sessions Claude Code CLI · in the page sessions …:- | | At startup | `claude -n auth-refactor` | | During a session | `/rename auth-refactor`. The name also appears on the prompt bar | | From the session picker | Highlight a session and press `Ctrl+… All settings Claude Code CLI · in the page settings-reference …le | | [`terminalTitleFromRename`](#terminaltitlefromrename) | Stop [`/rename`](/docs/en/sessions#name-your-sessions) and `--name` from changing the terminal tab title | Interface and terminal | Any f… Customize your status line Claude Code CLI · in the page statusline …` | Session name. Uses the custom name set with the `--name` flag or `/rename` when one exists, otherwise the AI-generated session title. The [default display name](/docs/en/sessions.md#name-your-sess…
Feedback