agent/claude/code/commands/dispatch.md
Snider 6045805dfc feat(plugin): add dispatch, status, recall, scan commands
New slash commands for the agentic system:
- /dispatch — dispatch subagent to sandboxed workspace
- /status — show workspace status (running/blocked/completed)
- /recall — search OpenBrain memories
- /scan — find actionable Forge issues

Fix MCP URL: api.lthn.sh/mcp → mcp.lthn.sh (subdomain routing).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 14:47:17 +00:00

30 lines
909 B
Markdown

---
name: dispatch
description: Dispatch a subagent to work on a task in a sandboxed workspace
arguments:
- name: repo
description: Target repo (e.g. go-io, go-scm, mcp)
required: true
- name: task
description: What the agent should do
required: true
- name: agent
description: Agent type (claude, gemini, codex)
default: claude
- name: template
description: Prompt template (coding, conventions, security)
default: coding
- name: plan
description: Plan template (bug-fix, code-review, new-feature, refactor, feature-port)
---
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)
After dispatching, report the workspace dir and PID.