opencode-ensemble
БесплатноБез исполняемых скриптовНе проверенUse when coordinating multiple coding agents, delegating independent software work, managing OpenCode Ensemble teams, choosing teammate roles or models…
от hueyexe★ 273 звезды на GitHubОб этом скилле
OpenCode Ensemble
Use OpenCode Ensemble as a coordination system, not a shortcut for avoiding judgment. Parallel agents work best when the lead owns decomposition, sequencing, review, merge, and verification.
Core Principle
Spawn teammates only for independent, verifiable work. A good Ensemble team has narrow task ownership, clear dependencies, and a lead that integrates results deliberately.
Use Ensemble When
- Work can be split into independent research, implementation, test, or review slices.
- A read-only scout can map unfamiliar code before edits begin.
- Multiple files or subsystems can be changed without overlapping ownership.
- A risky change benefits from
plan_approval: truebefore edits. - A final reviewer can inspect merged changes without creating another branch.
Do Not Use Ensemble When
- The task is small enough for one agent to finish quickly.
- The work is tightly coupled and every teammate would need the same files.
- The lead cannot describe each teammate's output and success criteria.
- The user needs one coherent design decision rather than parallel exploration.
- You are tempted to spawn agents because the task feels hard but not divisible.
Lead Workflow
- Decide whether parallelism is justified.
- Create a team with
team_create. - Add tasks with
team_tasks_add; usedepends_onfor sequencing. - Spawn teammates one at a time with
team_spawn. - Use
worktree: falsefor read-onlyexploreteammates. - Use
plan_approval: truefor risky implementation work. - Wait for teammate messages instead of polling status repeatedly.
- Read full results with
team_resultswhen messages are truncated or consequential. - Shut down completed teammates with
team_shutdown. - Merge branches with
team_merge; inspect the diff before trusting it. - Run project verification before
team_cleanupand before claiming done.
Role Defaults
| Role | Agent | Worktree | Model guidance | Use for |
|---|---|---|---|---|
| Scout | explore |
false |
e.g. openai/gpt-5-mini |
Codebase mapping, risk discovery, file ownership plan |
| Builder | build |
true |
e.g. anthropic/claude-opus-4-7 |
Narrow implementation slice |
| QA | build |
true |
strong model, e.g. anthropic/claude-opus-4-7 |
Tests, fixtures, regression coverage |
| Reviewer | explore |
false |
e.g. openai/gpt-5-mini |
Diff review, risk review, missed-test review |
Model IDs are examples — verify current IDs with your provider. Match cost to the task: cheap models in bulk for scouts and reviewers, smart expensive models for builders doing tricky work, different providers per role if that suits. Always pass an explicit model on team_spawn: an omitted model falls back to the server default, which may be paid or misconfigured.
Start with two or three teammates. Add more only when the work has more independent slices than active teammates.
Load References As Needed
- Need a team shape? Read
references/coordination-patterns.md. - Need prompts? Read
references/prompt-recipes.md. - Need a pre-spawn, merge, cleanup, or verification gate? Read
references/lead-checklists.md. - Something feels off or too chatty? Read
references/anti-patterns.md. - Creating or improving this skill? Read
references/eval-scenarios.md.
Hard Rules
- Do not invent task IDs.
team_tasks_addgenerates IDs; use the IDs returned by earlier calls when settingdepends_onorclaim_task. - Keep teammate prompts short. The plugin already injects team role, allowed tools, worktree context, and the required task-result format.
- Do not give teammates vague prompts like "fix the bug" or "work on tests".
- Do not ask teammates to use lead-only tools such as
team_spawn,team_shutdown,team_merge, orteam_cleanup. - Do not tell teammates to report only in plain text. They must use
team_message. - Do not merge a teammate branch without reading its result and inspecting the diff.
- Do not call the work complete until the repository's verification commands pass or you have clearly reported the blocker.
- On OpenCode v2, teammate reports and notifications arrive as persistent synthetic system lines in the transcript,
team_viewswitches the TUI only when passednavigate: true(never unprompted — that hijacks the user's client), andteam_cleanuppurge needs human approval of the preview before confirmation.
Minimal Example
team_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: [
Установить opencode-ensemble в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл opencode-ensemble?
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.
Как установить скилл opencode-ensemble?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл opencode-ensemble запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic