Agent skill · Code Review & Quality

opencode-delegate

Delegate a coding task to the OpenCode CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to OpenCode — phrasings like "have OpenCode do X", "delegate this to OpenCode", "run it through OpenCode", or "use OpenCode to implement/fix/refactor" — or wants to run a queue of coding tasks through OpenCode while staying the reviewer. Prefer it when the user will review the diff and commit it themselves. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating

amElnagdygithub.com/amElnagdyGitHub ↗
claude-codecodexcursorships scriptsMIT
Install
npx skills add amElnagdy/delegate-skills --skill opencode-delegate --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 10 KB
Bundled scripts: yes
Version: 0.4.1
Requires: Requires the `opencode` CLI installed and authenticated, Node 18+, and git. The orchestrating agent must be able to run…
Path: skills/opencode-delegate/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 684 · +94 this week
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenCode Delegate You are the **orchestrator**. This skill lets you hand a bounded coding task to a separate **implementer** — the OpenCode CLI — then review what it produced and land it yourself. You write the brief and own the judgment; OpenCode does the typing in its own session; you verify and commit. Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell command and read a file, so any agent with those two capabilities — Claude Code, OpenCode driving a sibling session, or a comparable one — can drive it. (It is designed for and run on Claude Code; treat other orchestrators as designed-for, not yet proven.) ## When NOT to use this - The task is small enough to just do inline — delegation overhead is not worth it. - The `opencode` CLI is not installed or not authenticated (run `opencode auth login`). - You want to write the code yourself, or you only need a review (use the `plan` agent via `--read-only`). ## Prerequisites (check once) 1. `opencode --version` succeeds. If not, install (`npm i -g opencode-ai`, or the native installer from opencode.ai) and `opencode auth login`. 2. **Confirm which `opencode` is on PATH.** `command -v o

What's inside
Steps it walks through
  1. When NOT to use this
  2. Prerequisites (check once)
  3. Choose the implementer model
  4. The loop
  5. 1. Write the brief
  6. 2. Dispatch
  7. 3. Wait for completion
  8. 4. Review — do not trust the self-report
  9. 5. Land it
  10. Autonomy model
  11. Authorization model
  12. References
Ships with 5 files
  • references/dispatch-and-poll.md
  • references/multi-task-queues.md
  • references/review-and-land.md
  • references/writing-the-brief.md
  • scripts/relay.mjs
Commands it runs
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --model <provider/model> --cd /path/to/repo
fleet lane from delegate-setup:           add --lane <name>  (dials apply; flags still win)
read-only (review/diagnosis, no edits):   add --read-only   (uses the plan agent)
continue the previous OpenCode session:   add --resume-last  (delta brief only; keeps the model)
hard time limit (watchdog):               add --timeout 2h  (default: off; implementation runs routinely need 1-2h)
see all options:                          node .../relay.mjs --help
More from delegate-skills
All skills →
About this skill
What does the opencode-delegate skill do?

Delegate a coding task to the OpenCode CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to OpenCode — phrasings like "have OpenCode do X", "delegate this to OpenCode", "run it through OpenCode", or "use OpenCode to implement/fix/refactor" — or wants to run a queue of coding tasks through OpenCode while staying the reviewer. Prefer it when the user will review the diff and commit it themselves. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating

How do I install it?

Run `npx skills add amElnagdy/delegate-skills --skill opencode-delegate --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From amElnagdy/delegate-skills, a repository with 684 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going