Loading...
Loading...
Use when coordinating multiple coding agents, delegating independent software work, managing OpenCode Ensemble teams, choosing teammate roles or models, reviewing teammate output, or deciding whether parallel execution is appropriate.
npx skill4agent add hueyexe/opencode-ensemble opencode-ensembleplan_approval: trueteam_createteam_tasks_adddepends_onteam_spawnworktree: falseexploreplan_approval: trueteam_resultsteam_shutdownteam_mergeteam_cleanup| Role | Agent | Worktree | Model guidance | Use for |
|---|---|---|---|---|
| Scout | | | | Codebase mapping, risk discovery, file ownership plan |
| Builder | | | | Narrow implementation slice |
| QA | | | strong balanced model | Tests, fixtures, regression coverage |
| Reviewer | | | | Diff review, risk review, missed-test review |
references/coordination-patterns.mdreferences/prompt-recipes.mdreferences/lead-checklists.mdreferences/anti-patterns.mdreferences/eval-scenarios.mdteam_tasks_adddepends_onclaim_taskteam_spawnteam_shutdownteam_mergeteam_cleanupteam_viewteam_messageteam_create({ name: "checkout-idempotency" })
team_tasks_add({
tasks: [
{ content: "Map checkout webhook flow and risky files", priority: "high" },
{ content: "Implement duplicate-webhook idempotency guard", priority: "high" },
],
})
// Record returned IDs, for example: task_abc123 for scout and task_def456 for builder.
team_tasks_add({
tasks: [
{ content: "Add duplicate-webhook regression tests", priority: "high", depends_on: ["task_def456"] },
],
})
// Record returned QA task ID, for example: task_ghi789.
team_tasks_add({
tasks: [
{ content: "Review merged diff for correctness and missed tests", priority: "medium", depends_on: ["task_def456", "task_ghi789"] },
],
})
team_spawn({
name: "scout",
agent: "explore",
worktree: false,
model: "openai/gpt-5.3-codex-spark",
claim_task: "task_abc123",
prompt: "Trace the checkout webhook flow. Report files, data model, existing tests, risks, and a smallest-safe-change plan. Do not edit files.",
})
team_spawn({
name: "api-dev",
agent: "build",
model: "anthropic/claude-opus-4-7",
plan_approval: true,
claim_task: "task_def456",
prompt: "Use scout's findings to implement only the idempotency guard. Commit your work and send a task-result message with files changed and tests run.",
})