9 pages for /fork.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…d` sends the current conversation there and frees your terminal, and `/fork` sends a copy while you keep working where you are. #### Send the session to the background Run `/background` or its alias…
Run agents in parallel
Claude Code CLI · in the page
agents
…/en/agent-view.md#from-inside-a-session) that runs alongside it, use `/fork`. With [agent view turned off](https://code.claude.com/docs/en/agent-view.md#turn-off-agent-view), the forked-subagent comma…
Claude Code changelog
Claude Code CLI · in the page
changelog
…sion handed over, on runners started for a session * \[VSCode] Added `/fork` to fork a conversation after its last reply (anthropics/claude-code#69272) * \[VSCode] Added `/workflows`, which opens the…
Run tool calls from code with Code Mode
Claude Code CLI · in the page
code-mode
…kground session](https://code.claude.com/docs/en/agent-view.md), and `/fork` can't start a background copy ## Requirements * **Version**: Claude Code v2.1.323 or later, on either [release channel](h…
Commands
Claude Code CLI · in the page
commands
…`/branch` branches the current one to try a different direction, and `/fork` copies it into a new [background session](/docs/en/agent-view). `/teleport` pulls a cloud session into this terminal, and `…
Hooks reference
Claude Code CLI · in the page
hooks
…existing one: `--fork-session` with `--resume` or `--continue`, the `/fork` background copy, `/branch`, or a conversation you [move to the background](https://code.claude.com/docs/en/agent-view.md#fr…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…lier request cached: * **Session copies**: a session you [copy with `/fork`](https://code.claude.com/docs/en/agent-view#copy-the-session-with-%2Ffork) receives its isolation instruction as a message…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…n/agent-view.md#turn-off-agent-view), `/subtask` isn't available and `/fork` starts the forked subagent instead; otherwise `/fork` copies the whole session into a new [background session](https://code…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…rt file changes to this point To fork from the latest message, type `/fork` in the prompt box once Claude finishes responding. Text you add, as in `/fork try the other approach`, waits unsent in the…