█

AI/TLDR

Buy me a coffee
Buy me a coffee

delegate-skills

Agent skills that hand a coding task to a separate implementer CLI — Codex, Claude Code, Cursor, OpenCode and thirteen more — then leave the review and the commit to you

Agent Skills & PluginsOpen source
Language
JavaScript
License
MIT
$npx skills add amElnagdy/delegate-skills --list
IN SHORT

What is delegate-skills?

delegate-skills is a package of agent skills that turns the agent you are talking to into an orchestrator and another coding-agent CLI into its implementer. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in JavaScript and licensed MIT. To get started: browse the package.

Overview

delegate-skills is a package of agent skills that turns the agent you are talking to into an orchestrator and another coding-agent CLI into its implementer. There is one `*-delegate` skill per implementer — Aider, Google Antigravity, Claude Code, Cline, OpenAI Codex, Command Code, Cursor Agent, Grok Build, Kimi Code, OpenCode, Pi, Oh My Pi, Qoder, Mistral Vibe, GitHub Copilot CLI, Warp Agent CLI and Z.AI ZCode — plus a `delegate-setup` skill. Every dispatch follows the same review-first loop: write a self-contained brief (the implementer has none of the orchestrator's chat history), dispatch it with the bundled `relay.mjs`, wait for the structured `result.json`, review the diff and re-run the project's gates, then commit yourself. The relay never commits; committing belongs to the reviewer.

`delegate-setup` adds the fleet layer. It discovers which implementer CLIs are installed, proposes named lanes such as `feature`, `tests` and `ui` — each lane binding a kind of work to one implementer and optional dials like model, effort or variant — shows the complete configuration and writes it, globally or per repository, only after explicit approval. It never dispatches work itself. Afterwards you dispatch with the matching `*-delegate` skill and `--lane <name>`; explicit flags override lane dials, the wrong implementer skill for a lane fails loud, and project config is bound to the approval, so a cloned or edited project lane fails closed until re-approved.

Every relay speaks one `delegate-relay.result.v1` contract — `status`, `exitCode`, `signal`, the implementer's own final report, `touchedFiles` and a session id where the CLI exposes one — so the loop is learned once and the implementer can be swapped. Autonomy is stated in each CLI's own terms: the README tables each implementer's default write access, read-only mode and resume flags, and says plainly where a CLI cannot enforce read-only (Grok, Kimi, Warp) or has no sandbox at all. The scripts use Node built-ins only, with no dependencies, no network calls of their own, no credentials and no telemetry, and the README keeps a per-skill record of which platform and CLI version each relay was actually run against. MIT-licensed; the full loop is designed for and run on Claude Code, with other orchestrators supported by the Skills CLI described as designed-for but unproven.

What it does

  • Seventeen implementer skills, one per CLI: Aider, Antigravity, Claude Code, Cline, Codex, Command Code, Cursor Agent, Grok Build, Kimi Code, OpenCode, Pi, Oh My Pi, Qoder, Mistral Vibe, Copilot CLI, Warp and ZCode
  • A bundled relay.mjs per skill that launches the implementer and writes a structured result.json in a shared delegate-relay.result.v1 shape
  • delegate-setup discovers installed CLIs and writes an approved fleet of named lanes, each with its own implementer and model/effort dials
  • Read-only runs and session resume (--read-only, --resume-last, --session <id>) mapped to each CLI's own modes where it has them
  • The relay never commits — Aider's auto-commit and dirty-commit defaults are force-disabled — so the reviewer always lands the change
  • Documented limits per CLI, such as a readOnlyViolation tripwire where a CLI cannot be stopped from writing headlessly
  • Node 18+ built-ins only: no dependencies, no network calls of its own, no credentials, no telemetry
  • Per-skill verification notes listing the platform, CLI version and runs each relay was tested with

Getting started

You need Node 18+, git, an orchestrating agent that can run shell commands and read files, and — for each `*-delegate` skill — its implementer CLI installed and logged in as you would at the terminal.

Browse the package

List the skills before installing anything.

bashbash
npx skills add amElnagdy/delegate-skills --list

Install the package, or just the pieces you need

Install everything, only the setup skill, or a single implementer. Append an existing release tag as @vMAJOR.MINOR.PATCH to pin an installation.

bashbash
npx skills add amElnagdy/delegate-skills
npx skills add amElnagdy/delegate-skills --skill delegate-setup
npx skills add amElnagdy/delegate-skills --skill codex-delegate

Target a specific agent, or install globally

The Skills CLI can install for a named orchestrating agent or for every project.

bashbash
npx skills add amElnagdy/delegate-skills --skill codex-delegate --agent claude-code
npx skills add amElnagdy/delegate-skills --global

Create a fleet

Ask the orchestrator to run the setup skill. It proposes lanes and writes the config only after you approve it.

texttext
Use $delegate-setup to discover my installed implementer CLIs and create a fleet for feature, tests, and UI work.

Delegate, review, land

Name an implementer skill directly, or pick a lane. The orchestrator writes the brief, runs the relay, reviews the diff and commits.

texttext
Use $codex-delegate to have Codex implement the refactor in services/billing/, then review and commit it.
Use $opencode-delegate with --lane feature to implement the billing workflow, then review and commit it.

What the orchestrator runs underneath

Each skill's SKILL.md documents its relay. For Codex it wraps codex exec and writes result.json to a temp directory so the repo under review stays clean.

bashbash
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --cd /path/to/repo

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Hand a bounded task — a migration, a mechanical refactor, a removal sweep — to another coding agent and get it back as a clean diff with a structured report
  • Route different kinds of work to different CLIs, such as features to OpenCode, tests to Codex and UI to Cursor, through named lanes
  • Run a queue of coding tasks through one implementer while staying the reviewer of every diff
  • Ask a second agent for a read-only review or diagnosis without letting it edit the tree, where the CLI supports a read-only mode
  • Keep one delegation workflow while switching implementers, since every relay returns the same result contract

How delegate-skills compares

delegate-skills alongside other open-source agent skills & plugins tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Skills for Real Engineers★ 336kMatt Pocock's everyday agent skills for coding agents, covering alignment grilling, planning, code review and research — small, composable and meant to be edited.
Superpowers★ 331kA composable skills plugin that installs a spec-first, TDD, subagent-driven development methodology into Claude Code, Codex, Cursor, Gemini CLI and other coding harnesses.
ECC★ 313kAn installable plugin that adds 68 agents, 286 skills, hooks, rules, memory and an agent-config security scanner to Claude Code, Codex and other coding harnesses.
Karpathy Coding Guidelines★ 237kA Claude Code plugin and CLAUDE.md rule set built from Andrej Karpathy's observations on LLM coding pitfalls: think before coding, keep it simple, make surgical changes, and work to verifiable success criteria.
Ponytail★ 202kA skill and plugin that makes a coding agent take the laziest correct route — a seven-rung ladder from "does this need to exist?" to "the minimum that works" — while keeping validation, security and accessibility off the chopping block.
Caveman★ 124kA skill plus local proxy that shortens an AI coding agent's prose while leaving code, commands and paths untouched — the rule file cuts what the agent writes, the proxy compresses what it reads.
Taste Skill★ 124kA collection of portable Agent Skills for frontend work: design direction, layout, typography, motion and density dials, plus image-generation skills that produce reference boards for a coding agent to implement.
delegate-skills★ 2.7kAgent skills that hand a coding task to a separate implementer CLI — Codex, Claude Code, Cursor, OpenCode and thirteen more — then leave the review and the commit to you