copilot-delegate

copilot-delegate is a skill for Claude Code, Codex from amElnagdy/delegate-skills. It costs 129 tokens per session (1,719 once invoked), scanned A, original, MIT.

A workflow for handing a coding task to GitHub Copilot CLI, a command-line coding agent, and then reviewing its changes yourself.

In plain words
What is it for?
Use it to delegate bounded coding, fixing, or refactoring tasks to Copilot.
Why use it?
It lets another coding agent do the implementation while the main agent checks the result before accepting it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to delegate bounded coding, fixing, or refactoring tasks to Copilot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amelnagdy/delegate-skills/copilot-delegate
About the project

delegate-skills is a toolkit for assigning coding tasks to separate agent command-line tools while keeping control of review and commits. It is for developers who want to organize installed implementers into lanes for work such as features, tests, or UI, then delegate tasks by lane or directly. The catalogue entries define the setup and delegation workflows.

amElnagdy/delegate-skills · 1,695 stars · on GitHub · skills.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add amElnagdy/delegate-skills --skill copilot-delegate
Clone the repo
git clone --depth 1 https://github.com/amElnagdy/delegate-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for copilot-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/copilot-delegate.svg)](https://agentmods.dev/skills/amelnagdy/delegate-skills/copilot-delegate)
Your own site
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/copilot-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/copilot-delegate.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.01719
Opus 5 $0.00064 $0.00860
Sonnet 5 $0.00026 $0.00344
Haiku 4.5 $0.00013 $0.00172

Measured 7d ago against content hash 7f5040cda1a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

copilot-delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/relay.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/copilot-delegate/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Delegate

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)

  1. Install copilot (npm install -g @github/copilot; the CLI requires Node 22+, the relay itself runs on Node 18+ — the relay probes copilot version).
  2. Authenticate: run copilot login (interactive web/device flow), or set COPILOT_GITHUB_TOKEN / GH_TOKEN / GITHUB_TOKEN in the environment.
  3. Confirm copilot version succeeds.
  4. 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.

The loop

Run these five steps per task. Steps 1, 4, and 5 require judgment; 2 and 3 are mechanical.

1. Write a brief

Copilot sees only the text you send. It cannot read your conversation: the brief must stand alone with the goal, current state, what to change, what to leave untouched, the project's real gates, and a report contract. Keep each brief to a single task. Write it to a file and pass it as the relay's --brief. See references/writing-the-brief.md.

Read the full file on GitHub · 141 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 141 lines · 129 tokens per session scan A 7f5040cda1a0

Subscribe to this mod's changes

copilot-delegate is a skill published in the GitHub repository amElnagdy/delegate-skills (1,695 stars, last pushed 6d ago), licensed MIT. It adds 129 tokens to every session and 1,719 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

claude-md-improver

Audit and improve existing CLAUDE.md files across a repository. Use for a deliberate, repo-wide quality review—not to record learnings from the current session.

mrclrchtr/supi · 39 tokens

claude-md-revision

Record durable, project-specific learnings from the current session in CLAUDE.md, .claude.local.md, or AGENTS.md—not general documentation, session summaries, or repo-wide audits.

mrclrchtr/supi · 45 tokens

commit

A commit candidate is the exact patch that will enter the commit. A coherent change has one task or issue as its reason for existing.

mrclrchtr/supi · 7 tokens

openai-docs

Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, latest/current/default-model prompting guidance, or model upgrade and prompt-upgrade guidance; use…

rojim666/SztuCode · 105 tokens

visualize

Create visualizations and interactive tools directly in conversation. Use when asked to show how something works, make simulators or labs, maps, plots, charts or graphs, comparisons, UI mockups, scenarios, adjustable inputs, and exploration beyond regular text.

rojim666/SztuCode · 53 tokens

Spreadsheets

Create, edit, analyze, and verify standalone spreadsheet files or Google Sheets-ready workbooks, including .xlsx, .xls, .csv, and .tsv. Do not use for live controlling Microsoft Excel app or a live Excel session.

rojim666/SztuCode · 52 tokens