What are side chats? Claude Code, Codex, Cursor, and Grok

By

A side chat is a question beside the main coding session so the answer stays out of that transcript. How Claude Code, Codex, Cursor, and Grok Build open one.

A side chat is a question you ask next to the coding session you already have open. The answer uses that session’s context. It does not get written into the main transcript.

You use one when a detail would pull the agent off the task. “Does this handler read the body twice?” is that kind of question. A new session is the wrong tool for it. So is a subagent, which is a separate worker with its own job.

How a side chat works

The tool copies or reads the current session so the side question has something to answer from. The reply is stored beside the main thread. Follow-ups stay there. The main transcript still ends where it ended before you asked.

What “beside” means depends on the product. Claude Code’s CLI can show you the latest side question again in that session. The desktop app drops side chats when you quit. Codex calls its version an ephemeral fork. Cursor keeps a durable child conversation you can archive. Grok Build’s command list only says the question does not interrupt.

A side question stays out of the main transcriptYou ask beside the main session. The main transcript stays as it was. The answer is kept in the side chat.Main sessionSide questionMain transcriptunchangedAnswer kept besideit

Side chats in each tool

The command is /btw or /side. The lifetime of the answer is not the same.

Claude CodeCodexCursorGrok Build
Open it/btw, or Cmd+; / Ctrl+; in the desktop app/side or /btw/side, the selection menu, or Shift+Cmd+S / Shift+Ctrl+S/btw plus the question
What the side chat seesThe session so farA fork of the current chatParent history as hidden context, not printed in the side transcriptNot documented past the command
Where the answer livesCLI: you can browse earlier answers in the session. Desktop: not saved after you quit the appA separate transcript. The parent status stays on screenA durable child chat. Close archives itThe command list does not say

Claude Code

In the CLI, /btw asks a quick question about the current session without polluting conversation history, and bare /btw replays earlier side answers (or prints usage if none exist).

In the desktop app (local, SSH, or WSL), open a side chat with Cmd+; on macOS, Ctrl+; on Windows, or /btw: it reads the main thread up to that point, adds nothing back when you close it, and disappears when you quit the app because desktop side chats aren’t saved to disk.

The two surfaces diverge here: the CLI lets you browse earlier /btw answers, while the desktop app drops them once closed.

See Claude Code commands and Claude Code Desktop.

OpenAI Codex

/side and /btw start an ephemeral side chat. The point is a focused follow-up that does not disrupt the main chat’s transcript.

/side opens that fork without switching away from the main chat. You can pass the question inline. The docs’ example is /side Check whether this plan has an obvious risk. The side transcript is separate from the parent. While you are in side mode, the TUI still shows the parent chat’s status, so you can see whether the main chat is still running.

/side is unavailable inside another side chat, and unavailable during review mode. /delete is unavailable while a chat is running or while you are in a side chat.

See Codex slash commands.

Cursor

A side chat is a durable child conversation attached to a parent agent: the parent’s history is passed as hidden reference context so only the side prompt and follow-ups appear in the side transcript.

By default it focuses on reading, searching, and answering while the main agent keeps working. Open one with /side (optionally followed by your question), select text or a diff and pick Ask in Side Chat, or press Shift+Cmd+S on Mac (Shift+Ctrl+S on Windows/Linux).

Follow-ups stay out of the parent unless you @-mention the side chat back in the main thread, and closing archives it instead of deleting it.

Unlike forking (which copies messages into a brand-new chat), side chats only seed hidden context and can’t be nested inside another side chat.

Side chats are local-only (unavailable on Cloud Agents) and stay attached to their parent conversation until archived.

In the Cursor CLI, the slash-command reference documents /fork and /ask while leaving /side exclusively in the IDE chat.

See Cursor side chats and the CLI slash commands.

Grok Build

The command table lists /btw <question> as a side question that does not interrupt. The page does not describe /btw with an empty argument, and it does not say where the answer is stored.

The Build changelog adds three behaviors. Side questions reuse the parent session’s cached prefix. /btw retries when the model is temporarily overloaded. Inside grok --minimal, the answer shows in the live area and is committed to the scrollback when you press Esc.

See Grok Build modes and commands and the Build changelog.

Details checked against each vendor’s documentation in November 2026.

A real example

You are in the middle of a plan and you want a check that should not become the next instruction. In Codex the documented form is:

/side Check whether this plan has an obvious risk

The same shape in Claude Code and Grok Build is /btw plus the question:

/btw Why does this handler read the body twice?

In Cursor’s IDE chat, /side opens the child conversation. Shift+Cmd+S does it from the current selection on a Mac.

When to use a side chat

Use one for a question about the code or the plan in front of you, when the answer should not steer the next edit. A naming question, a “is this assumption true?” check, and a short explanation of a function you are about to change all fit.

Skip it when you want the answer to become the task. Say that in the main thread. Skip it when you want a worker that edits files on its own. That is a subagent, or a second session. Too many conversations with coding agents is the case against opening those by habit.

Pitfalls

The four commands look alike and they do not keep the answer for the same amount of time. Claude Code Desktop drops the side chat when you quit. Cursor keeps it until you archive it, and archiving is the close button. Codex calls the chat ephemeral and keeps the parent status visible while you are in it.

A side chat still spends a model call. Grok Build reuses the parent session’s cached prefix, which is a cache hit, not a free question. The main context window is what that prefix comes from.

Cursor will not nest a side chat inside a side chat, and Codex will not open /side inside a side chat or during review mode. If the command does nothing, you are probably already in one.

The Cursor CLI offers /fork instead of /side, which duplicates the chat rather than keeping the main transcript clean.

  • Sessions: A session is a saved coding-agent conversation you can resume later. How Claude Code, Codex, the Cursor CLI and Grok Build store, name, resume and fork one.
  • Slash commands: Slash commands are the /name controls inside a coding agent session. How they work in Claude Code, Codex, Cursor and Grok Build, and how to add your own.
  • Context window: The context window is everything a coding agent can see at once. How to check it, free it and keep it small in Claude Code, Codex, Cursor and Grok Build.
  • Subagents: A subagent is a helper your coding agent starts with its own context window. How subagents work in Claude Code, Codex, Cursor and Grok Build.

All AI glossary entries → · AI for coding hub →

Want me to talk about your product? You can sponsor this site.