Skip to content

Interact with running tasks

These commands start, watch and stop work that runs in parallel or in the background.

A background session is a full session that continues without a terminal. A subagent is a helper agent that Claude starts for a side task.

See running work

Command Aliases Description
/tasks /bashes Show and manage the background work of this session, including finished subagents
/list-agents /peers List the subagents, teammates and other sessions that Claude can send messages to
/workflows Open the workflow progress view. Watch, pause, resume or save workflows

Background sessions

Command Aliases Description
/background [prompt] /bg Move this session to the background and free the terminal. Use claude agents to monitor it
/fork [prompt] Copy the conversation into a new background session and continue here
/stop Stop the attached background session. Claude Code keeps the transcript and the worktree
/exit /quit In an attached background session, detach and let the session continue

Subagents and parallel work

Command Description
/subtask <task> Start a forked subagent with the full conversation. Its result comes back to this conversation
/batch <instruction> Skill. Split a large change into 5 to 30 units. Each unit runs in a background subagent in its own worktree
/deep-research <question> Workflow. Search the web, cross-check sources and write a report with citations

Repeated and scheduled work

Command Aliases Description
/loop [interval] [prompt] /proactive Skill. Run a prompt again and again while the session is open, for example /loop 5m check if the deploy finished
/schedule [description] /routines Create, update, list or run routines (scheduled agents that run in the cloud)

Choose the correct command

You want to Command
Get the result of a side task in this conversation /subtask
Run a copy in parallel and continue here /fork
Move into a copy and try a different direction /branch
Free the terminal and let this session continue /background