| name | copilot-delegate |
| description | Delegate coding tasks to the GitHub Copilot CLI (`copilot`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility. |
| risk | safe |
| category | agent-orchestration |
| source | https://github.com/amElnagdy/delegate-skills |
| source_repo | amElnagdy/delegate-skills |
| source_type | community |
| date_added | 2026-08-26 |
| license | MIT |
| license_source | https://github.com/amElnagdy/delegate-skills/blob/master/LICENSE |
| compatibility | Requires the `copilot` CLI installed and authenticated (`copilot login`), Node 18+ to run the relay (the copilot CLI itself requires Node 22+), and git. The orchestrator must be able to run shell commands and read files. |
| metadata | {"version":"0.5.0"} |
Copilot Delegate
When to Use
- You want to delegate a bounded coding task to a separate
copilot implementer (GitHub Copilot CLI) and then review its diff yourself.
- The user explicitly asked for delegation to this implementer.
You are the orchestrator. Delegate a bounded coding task to a separate implementer — the
GitHub Copilot CLI — then review what it produced and land it yourself. You write the brief and own
the judgment; the implementer makes changes in its own session in a clean working tree; you verify
and commit.
The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
When NOT to use this
- The task is small enough to do inline; delegation overhead is not worth it.
- The
copilot CLI is not installed or authenticated.
- You need a hard sandbox. Copilot exposes sandbox controls, but they are upstream-experimental
(MXC-based, controlled via the
/sandbox command and settings, disabled by default) — this relay
does not configure them. --read-only only disables edit tools (--mode plan); shell commands
still run. If project files must not change at all, dispatch against a clean or isolated worktree.
Prerequisites (check once)
- Install
copilot (npm install -g @github/copilot; the CLI requires Node 22+, the relay
itself runs on Node 18+ — the relay probes copilot version).
- Authenticate: run
copilot login (interactive web/device flow), or set
COPILOT_GITHUB_TOKEN / GH_TOKEN / GITHUB_TOKEN in the environment.
- Confirm
copilot version succeeds.
- Work in, or point
--cd at, the target git repository.
Choose the model (optional)
Copilot picks a default model (auto). To choose another, pass --model <name>.
The relay accepts letters, digits, and . _ : / - only (the value reaches a shell on Windows).
Choose the effort (optional)
Copilot supports a reasoning effort dial: --effort <level> with values
low, medium, high, xhigh, or max. The relay rejects any other value
before dispatch.