/cc · Claude Code Commands
  1. Home
  2. Parallel & background work
  3. /subtask

/subtask<task>

Spawns a forked subagent that inherits the conversation and reports its result back here. The difference from /fork: /subtask reports back here, while /fork starts a separate session.

Best use

/subtask document these API endpoints while you keep coding.

Used in these situations

Related commands · Parallel & background work

← See all commands