agent/claude/code/commands/dispatch.md
Snider 03b77bd9db fix(plugin): drop core: prefix — commands use code: namespace from dir
Plugin commands derive namespace from directory (claude/code/) not
the name field. Commands now: /code:dispatch, /code:status, /code:recall,
/code:review, /code:sweep, /code:scan.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 16:51:40 +00:00

1.1 KiB

name description arguments
dispatch Dispatch a subagent to work on a task in a sandboxed workspace
name description required
repo Target repo (e.g. go-io, go-scm, mcp) true
name description required
task What the agent should do true
name description default
agent Agent type (claude, gemini, codex) claude
name description default
template Prompt template (coding, conventions, security) coding
name description
plan Plan template (bug-fix, code-review, new-feature, refactor, feature-port)
name description
persona Persona slug (e.g. engineering/engineering-backend-architect)

Dispatch a subagent to work on $ARGUMENTS.repo with task: $ARGUMENTS.task

Use the mcp__core__agentic_dispatch tool with:

  • repo: $ARGUMENTS.repo
  • task: $ARGUMENTS.task
  • agent: $ARGUMENTS.agent
  • template: $ARGUMENTS.template
  • plan_template: $ARGUMENTS.plan (if provided)
  • persona: $ARGUMENTS.persona (if provided)

After dispatching, report the workspace dir, PID, and whether it was queued or started immediately.