copilot-delegate
/copilot-delegate
Delegate a self-contained task to GitHub Copilot CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and Copilot CLI is installed and signed in on a Copilot plan. Follow the delegate-skills level (low, medium, ultra) given in session context.
- Author
- joezhuo2 ↗
- Repository
- delegate-skills ↗
- Licence
- MIT
- Last repository change
- 11.11.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: copilot-gate.ps1, copilot-run.ps1
What it does and when to use it
Delegate a self-contained task to GitHub Copilot CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and Copilot CLI is installed and signed in on a Copilot plan. Follow the delegate-skills level (low, medium, ultra) given in session context.
Original author description
Delegate a self-contained task to GitHub Copilot CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and Copilot CLI is installed and signed in on a Copilot plan. Follow the delegate-skills level (low, medium, ultra) given in session context.
How it works
- Delegation level
- Gate (automatic)
- Model
- How
- Prompt template
- After Copilot returns (mandatory)
- Notes
SKILL.md preview
--- name: copilot-delegate description: Delegate a self-contained task to GitHub Copilot CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and Copilot CLI is installed and signed in on a Copilot plan. Follow the delegate-skills level (low, medium, ultra) given in session context. --- # copilot-delegate Run `copilot -s` headless as a worker. Claude stays orchestrator and reviewer. ## Delegation level Set with `/delegate low|medium|ultra` (default `medium`); a SessionStart hook prints the saved level into each session. - `low`: delegate only when the user explicitly asks. - `medium`: delegate when the task fits the rules below. - `ultra`: prefer delegating over doing the work yourself; while the `claude` part is enabled, choose between this worker and a Claude subagent per task (see `claude-delegate`), otherwise prefer this worker over Claude subagents. Delegate anything a worker can do; keep orchestration, review and work no worker can do. Fall back only when gates block or the worker fails. ## Gate (automatic) `copilot-run.ps1` first runs `copilot-gate.ps1`. It blocks (exit 3, `GATE_BLOCKED: <why>`) if `copilot` is missing or the part is disabled. If blocked, use a normal Claude subagent instead. `COPILOT_AUTH` means the user must run `copilot` and use `/login`; never try to log in yourself. `COPILOT_LIMIT` means quota is exhausted; fall back, do not retry. ## Model Copilot CLI's default model is used. Pass `-Model <id>` when you decide the task needs a specific model. ## How The scripts sit next to this SKILL.md; use this skill's base directory as `<skill dir>`: ```powershell & "<skill dir>\copilot-run.ps1" -Prompt "<task>" -Cwd "<project dir>" [-Model <id>] [-Write] [-TimeoutSec 900] ``` - Default is read-only (`--allow-all-tools --deny-tool=write --deny-tool=shell`: reads only). - `-Write` uses `--allow-all`: Copilot may run commands and edit files. Use only on a git repo you can diff, never with secrets in the prompt. - Long jobs: run with `run_in_background` and wait for the notification. - Output starts with `model=<id|default>` then Copilot's reply. ## Prompt template Copilot has no access to this conversation. Include: goal, files in scope and out of scope, conventions (point at an example file), done criteria with a verify command, and "Do not commit. Report changed files and anything unverified." ## After Copilot returns (mandatory) 1. Read `git diff` / `git status`. 2. Re-run the verify command yourself. 3. Fix small issues directly; re-delegate or take over for big misses. 4. Tell the user what Copilot did and what you verified. ## Notes - Install: `npm install -g @github/copilot`, then run `copilot` and `/login` (or set `COPILOT_GITHUB_TOKEN`). Needs an active Copilot plan.
Files in this package (3)
- SKILL.md 3 KB
- copilot-gate.ps1 1 KB
- copilot-run.ps1 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · joezhuo2/delegate-skills | 100 | MIT |
| FrancoStino/opencode-skills-collection | 100 | MIT |
| sickn33/agentic-awesome-skills | 100 | MIT |
| amelnagdy/delegate-skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version 201c53bc4f2c (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100qwen-delegate
Delegate a self-contained task to Qwen Code CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and Qwen Code is installed and signed in. Follow the delegate-skills… - 100gemini-delegate
Delegate a self-contained task to Google Gemini CLI as an extra worker beside normal subagents. Use when a task is well-specified, bounded, and can run headless (implementation, tests, docs, reviews, research), and the Gemini CLI is installed and signed in. Follow the… - 100copilot
Delegate shell command lookups and GitHub CLI (gh) tasks to GitHub Copilot CLI. Use for shell/gh command suggestions and explanations only — not for code review, security decisions, or architecture. - 100copilot-sdk
Use GitHub Copilot SDK to programmatically call Copilot from Python. Use when integrating AI capabilities via Copilot CLI into applications. - 100copilot-cli-setup
Installs GitHub Copilot CLI with npm and starts it in the terminal with a GitHub login. Use when the user wants to get Copilot running in their terminal, for example "install GitHub Copilot CLI", "set up Copilot in my terminal", "how do I start the copilot command". Not for… - 92github
GitHub CLI operations for issues, PRs, reviews, CI, and Copilot workflows. Use when working with pull requests, issues, CI status, code review, GitHub Copilot, triage, or PR shipping.