delegatelisted
Install: claude install-skill TuYv/claude-delegate
# Delegate: Claude as the brain, CLI agents as hands & eyes
## Division of labor
**You (Claude) only do**: understand the request, decompose it, write the task brief, review the output, push back with feedback, and report to the user.
**The executor does**: all groundwork — writing/editing code, running commands, web searches, reading docs, bulk file scanning, information gathering.
Rule of thumb: work that needs **judgment** stays with you; work that needs **labor** goes to the executor. Tiny edits (a few lines) are faster done yourself — don't delegate them.
## Executors
Auto-detect what's installed, in this order (or use the executor the user names):
```bash
command -v codex || command -v gemini || command -v opencode
```
| Executor | One-shot invocation | Follow-up (keeps context) |
|----------|--------------------|---------------------------|
| codex | `codex exec -s workspace-write --skip-git-repo-check -C "<workdir>" -o "<result-file>" "<brief>"` | `codex exec resume <session-id> -s workspace-write -o "<result-file>" "<feedback>"` |
| gemini (v0.51.0) | `cd "<workdir>" && gemini -p "<brief>" --approval-mode=yolo --skip-trust --output-format=json > "<result-file>"` | same, plus `--resume <session-id>` (no workdir flag — must run from the same directory; sessions are per-project) |
| opencode (v1.18.4) | `opencode run --dir "<workdir>" --auto --format json "<brief>" > "<result-file>"` | `opencode run --dir "<workdir>" --session <session-id> --auto --format json "<