← ClaudeAtlas

opencode-commanderlisted

Orchestrate multiple OpenCode CLI workers from Codex, Claude Code, Cursor, or another coding agent. Use when the user explicitly asks to split a complex research, analysis, planning, review, or implementation task across OpenCode agents; requests parallel OpenCode execution; wants iTerm split-pane visibility; or asks the host agent to act as the overall coordinator and synthesize worker results.
stone623101-cloud/commander-skills · ★ 1 · Code & Development · score 57
Install: claude install-skill stone623101-cloud/commander-skills
# OpenCode Commander Act as the coordinator. Decompose the requested outcome, dispatch bounded tasks to real OpenCode agents, monitor structured results, resolve contradictions, and produce one coherent deliverable. Do not dispatch merely because this skill was loaded. Dispatch only when the user explicitly asks for parallel OpenCode work or approves a proposed dispatch. ## Resolve the skill directory Resolve `<skill-dir>` to the directory containing this `SKILL.md`. Run bundled scripts with paths relative to that directory. Never assume a user name, home directory, or installation location. ## Workflow 1. Check the local runtime without invoking a model: ```bash python3 <skill-dir>/scripts/commander.py doctor ``` The doctor is a hard preflight for OpenCode and Python, and can also check a harvest directory and stale workers: ```bash python3 <skill-dir>/scripts/commander.py doctor \ --harvest-dir /path/to/output \ --run-root /path/to/.opencode-commander/runs ``` 2. Define the final artifact and split the task into 3-5 non-overlapping workers. Read [dispatch-method.md](references/dispatch-method.md) when the split is not obvious. 3. Create a task document from [tasks.example.json](assets/tasks.example.json). Use only agent names reported by `opencode agent list`. Never dispatch `TBD`. 4. Validate and inspect the execution plan: ```bash python3 <skill-dir>/scripts/commander.py validate /path/to/tasks.json python3 <skill-dir>/scripts/commander.py dispatch