Slash command
Orchestrate large-scale changes across a codebase in parallel. Decomposes work into 5–30 independent units, each in its own git worktree with its own PR.
Syntax
/batch <instruction>Example
/batch migrate src/ from Solid to ReactWorkflow. Researches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan. Once approved, spawns one background subagent per unit in an isolated git worktree. Each subagent implements its unit, runs tests, and opens a pull request. Requires a git repository.
session-management
Start a new conversation with empty context. Previous session stays in /resume; use /rewind (v2.1.191+) to undo a clear in-session. Aliases: /reset, /new.
context-management
Ask a quick side question without adding it to the main conversation history.
parallel-agents
Spawn a forked subagent that inherits the full conversation and works on a directive while you keep going in the main session.
session-management
Rewind code and/or conversation to a checkpoint. As of v2.1.191, restore context from before /clear ran. Aliases: /checkpoint, /undo.
parallel-agents
View and manage background work in the current session. Stops from the tasks panel are permanent as of v2.1.191.
parallel-agents
Stop the attached background session while keeping its transcript and git worktree.