Sub-agents forkés (/fork)
A Claude Code capability (the `/fork` command) that spawns a sub-agent sharing the parent session's context cache, instead of starting from an empty context. The child inherits the already-loaded prefix (the code read, the decisions made), works in isolation, then reports back. Like a git branch for your session: you start from a shared state, explore a track on the side, without re-paying the context or polluting the main session. Massively saves input tokens on child agents.
Strengths
- Inherits the parent context: the child does not relearn it, big input-token savings
- Isolates an exploratory track without polluting the main session (like a git branch)
- Lets you parallelize several subtasks from a common starting point
Limitations
- Claude Code specific capability: not a pattern portable to another runtime
- Children do not coordinate with each other: for real collaborative work, aim for agent teams
Best for
- A tech lead orchestrating several subtasks on the same code without reloading context
- Anyone opening parallel tracks (architecture, tests, debug) from a shared state