Skip to content
BENIBIX Learn

/fork Command

Also known as /fork, Fork a session

It copies this chat into a new session in the back.

Think of it like

It is like you copy your picture. A friend colors the copy, and you keep yours.

Example

Jack and Claude agree on two ways to speed up a page. He forks the chat to try the second way while he and Claude keep going with the first.

Why it matters

Two ideas get tried at the same time, both with the full chat behind them.

Definition

/fork copies the chat into a new background session, and you keep working here. The copy starts with the whole chat so far. It also gets your model, permission mode and effort level. Pass a prompt and the copy starts on it at once. The copy is told to use its own worktree before it changes code, so the two do not edit the same files.

Example code

console
/fork try the streaming version
Let a copy of this chat try another idea.
The second row: /fork sends a copy to the background, and you stay in the chat.

Common mistake

Waiting for the copy to report back. It is a separate session that never sends its result here. /subtask is the one that reports back.

Key takeaways

  1. 1
    A full copy. Chat and settings.
  2. 2
    Runs in the background. You stay here.
  3. 3
    Its own worktree. Before it edits code.

Compare

Learn it properly