fork-session
Installation
SKILL.md
fork-session
Three different things are all called "forking". Pick by what the user wants to happen next:
| User wants | Mechanism | Who runs it |
|---|---|---|
| A copy of me to go do a task in the background while we keep talking here | Agent tool, subagent_type: "fork" |
Claude (you) |
| To switch into a copy and try a different direction, keeping the original to return to | /branch [name] |
User types it |
| A copy running as its own background session they can attach to later | /fork [prompt] |
User types it |
| A fork from the terminal of a past session | claude --continue --fork-session or claude --resume <name-or-id> --fork-session |
User types it |
Built-in slash commands cannot be invoked from a skill — for the user-typed rows, give the exact command and one line on what happens. Don't claim you ran it.