/rename

Renames the current session, auto-generating a name if none is provided.

What /rename does

Renames the current session and displays the new name on the prompt bar. If no name is provided, it auto-generates one from conversation history. It also replaces control characters and caps names at 200 characters.

Syntax

/rename

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command renames the current session and displays the new name on the prompt bar, auto-generating one if none is provided, and handles character replacement and name length?

    • Deletes the current session.
    • Changes the active model.
    • Saves the session to a file.
    • Renames the current session.
    Show answer

    /rename: Renames the current session.

  2. Which command resumes a conversation by ID or name, or opens the session picker, noting that running background sessions cannot be resumed directly?

    • Resumes a conversation by ID or name.
    • Starts a new conversation.
    • Archives the current session.
    • Lists all active sessions.
    Show answer

    /resume: Resumes a conversation by ID or name.

  3. Which command reviews the current diff, a pull request number, branch, or specified path, accepting effort levels and flags, and is an alias for /code-review?

    • Submits a pull request.
    • Reviews code changes or a PR.
    • Compiles the current project.
    • Generates a new code diff.
    Show answer

    /review: Reviews code changes or a PR.

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.