agentleFS
amElnagdyamElnagdy/delegate-skills/AGENTS.md

delegate-skills

AGENTS.md2.3k starsChanged 4 months agoMITView on GitHub

This repo is a Skills CLI package of delegation skills — skills that let an orchestrating agent drive a separate CLI coding agent as an implementer, then review and land the result. Seventeen implementer skills ship today: claude-delegate (Claude Code), cline-delegate (Cline CLI), codex-delegate (OpenAI Codex), opencode-delegate (OpenCode), agy-delegate (Google Antigravity), grok-delegate (Grok Build), kimi-delegate (Kimi Code), qoder-delegate (Qoder CLI), vibe-delegate (Mistral Vibe), cursor-delegate (Cursor Agent CLI), pi-delegate (Pi CLI), omp-delegate (Oh My Pi), aider-delegate (Aider), copilot-delegate (GitHub Copilot CLI),…

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 3 mentionsSep 2026: 10 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the amElnagdy/delegate-skills repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about amElnagdy/delegate-skills

The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 15

Talked about on GitHub, Hacker News and Bluesky (15 times).

On GitHub · 13

8 more on GitHub

On Hacker News · 1

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep description under 1024 characters — some orchestrators (e.g.

    line 74
  2. Very specific:

    Progressive disclosure: keep SKILL.md lean; push depth into references/*.md that load only when needed.

    line 80
  3. Very specific:

    Executables: keep them minimal and inspectable.

    line 82
  4. Very specific:

    If you touch how a relay.mjs launches its implementer CLI, smoke-test on Windows too (native PowerShell/cmd, not just Git Bash/WSL): the …

    line 92
  5. Distinctive:

    Keep the README's "Verification status" honest — claim only what's been run.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Working on delegate-skills

This repo is a Skills CLI package of delegation skills — skills that let an orchestrating agent drive a separate CLI coding agent as an implementer, then review and land the result. Seventeen implementer skills ship today: claude-delegate (Claude Code), cline-delegate (Cline CLI), codex-delegate (OpenAI Codex), opencode-delegate (OpenCode), agy-delegate (Google Antigravity), grok-delegate (Grok Build), kimi-delegate (Kimi Code), qoder-delegate (Qoder CLI), vibe-delegate (Mistral Vibe), cursor-delegate (Cursor Agent CLI), pi-delegate (Pi CLI), omp-delegate (Oh My Pi), aider-delegate (Aider), copilot-delegate (GitHub Copilot CLI), warp-delegate (Warp Agent CLI), zcode-delegate (Z.AI ZCode), and commandcode-delegate (Command Code); siblings like gemini-delegate can be added later without renaming the repo. One utility skill ships alongside them: delegate-setup (configure fleet lanes — setup only, never dispatches).

Vocabulary

One controlled vocabulary keeps the docs from drifting and stops edits (human or AI) from coining new jargon. Use these terms; don't invent synonyms.

UseForNot
delegate / delegationthe activity, and this skill family"relay" (as the activity), "hand-off", "offload"
orchestratorthe driving agent (Claude Code, …)"controller", "driver"
implementerthe separate agent (Claude, Cline, Codex, OpenCode, Antigravity, Grok, Kimi, Qoder, Vibe, Cursor, Pi, Oh My Pi, Aider, Copilot, Warp, ZCode, Command Code)"worker", "sub-agent", "executor"
briefthe self-contained task spec sent to the implementer"task file", "the prompt", "the spec"
gatesthe project's test/lint/build commands"checks", "CI"
dispatchsending the brief to the implementer"fire off", "kick off"
landcommit the verified work yourself—
relay / relay.mjsthe dispatch script onlynever a category of skills
lanea named fleet binding: implementer + optional dials (model, effort / variant, …)"route", "profile"
fleetthe user's set of lanes (which CLI handles which kind of work)—
setup skill / delegate-setuputility that discovers CLIs and writes the lane map after approvala *-delegate skill
exec, sandbox, resume, sessionCodex's own terms — use verbatimdon't paraphrase them
-p / --print, --yolo (--dangerously-skip-permissions), --permission-mode (standard/plan/auto-accept), --tools-all, --resume, --continue, --effort, --max-turnsCommand Code's own terms — use verbatim when discussing cmdnever say Command Code has a sandbox, or a write-capable mode between withheld-tools and --yolo: --permission-mode auto-accept and --tools-all do not enable edits headlessly. Never call the binary "the cmd shell"
run, agent (build/plan), sessionOpenCode's own terms — use verbatim"sandbox" (OpenCode has no sandbox enum; autonomy is the agent)
project, conversation, model, permissions, sandbox, TUI, tasks, subagentsAntigravity's own terms — use verbatim when discussing agydon't use subagents as a generic synonym for implementer
session, sandbox (workspace/read-only/off), permission-mode, effort, streaming-jsonGrok Build's own terms — use verbatim when discussing grokdon't paraphrase them
session, --continue, model alias, auto permission mode, plan mode, --yoloKimi Code's own terms — use verbatim when discussing kimidon't paraphrase them
session, --continue, --resume, plan mode, --force, --sandbox (enabled/disabled), --trust, modelsCursor Agent's own terms — use verbatim when discussing cursor-agentdon't paraphrase them
session, --continue, --resume, permission mode (acceptEdits/plan/bypassPermissions), sandbox, subagents, agent teams, background sessionsClaude Code's own terms — use verbatim when discussing Claudenever use subagents as a generic synonym for implementer
session, --json, -v (verbose), --auto-approve, --cwd, --model, --provider, --id (unsupported by the JSON relay), --plan, --data-dir / CLINE_SANDBOX (sandbox), -t/--timeout (CLI's own flag)Cline's own terms — use verbatim when discussing cline. The relay's --timeout watchdog is a different flag with the same spellingdon't invent a Cline permission-mode enum
session, -c, --resume, permission mode (default/accept_edits/auto/bypass_permissions/dont_ask/plan), print mode, stream-json, model, context windowQoder CLI's own terms — use verbatim when discussing Qoderdon't paraphrase them
agent run, conversation / --conversation, run_id, run_url, --cwd, --output-format ndjson, --profile, --skill, --no-snapshot, run-cloudWarp Agent CLI's own terms — use verbatim when discussing oznever call oz "the warp CLI" in a launch context — warp is the interactive TUI and cannot be relayed; don't invent a Warp sandbox or permission-mode enum (oz agent run has neither)
--prompt, --output (streaming/json/text), --agent (plan/accept-edits/auto-approve), --max-turns, --max-price, --max-tokens, --trust, --resume, --continue, --enabled-tools, --disabled-toolsMistral Vibe's own terms — use verbatim when discussing vibedon't invent a Vibe sandbox enum; --trust is not a permission mode
session, --continue, --session, print mode, --mode json, tools, context files, project trustPi's own terms — use verbatim when discussing pidon't paraphrase them
session, --continue, --resume / --session, --print, --mode json, omp models, --thinking, approvalMode (always-ask/write/yolo), --yolo / --auto-approve, --tools, --no-extensions / --no-skills / --no-rules, --max-time, --profileOh My Pi's own terms — use verbatim when discussing ompnever call omp "pi" in a launch context — pi is a different CLI (pi-delegate); don't invent an omp sandbox enum; --yolo is tools.approvalMode: yolo, not a permission-mode enum
--message-file, --yes-always, --suggest-shell-commands, --auto-commits/--dirty-commits, --dry-run, --edit-format, --architect, --file/--read, chat historyAider's own terms — use verbatim when discussing aiderAider has no sandbox, no permission modes, and no session ids; don't imply any. --file/--read scope the chat context — never call them a boundary
session, -p/--prompt, --output-format json (JSONL), tools, --allow-all-tools, mode plan, --resume/--continue, --model, --effort, copilot login / env tokens, sandbox (experimental, MXC)GitHub Copilot CLI's own terms — use verbatim when discussing copilotdon't paraphrase them
mode (build/edit/plan/yolo), session (sess_…), goal (--target), --attach, app-server, plugins, skillsZCode's own terms — use verbatim when discussing zcodedon't call mode a sandbox or a permission mode; never present build/edit as usable headlessly

Banned on sight: coined umbrella terms in user-facing surfaces (README headings, skills.sh.json titles); any reference to the author's local machine or config; model/version pins (GPT-5.x → version-neutral) everywhere except the README's "Verification status" list, where the exact CLI version a run was made against is what makes the claim checkable; and claims that can't be verified ("verified" without a run → hedge or cut). Every CLI flag, field, and command in the docs must match the installed implementer CLI (claude / cline / codex / opencode / agy / grok / kimi / qodercli / vibe / cursor-agent / pi / aider / copilot / oz / omp / zcode / cmd) and the skill's relay.mjs.

Conventions

  • One skill per directory under skills/<name>/, each with a SKILL.md plus optional references/ and scripts/. Implementer skills are named <cli>-delegate (the verb is the repo; the target agent is the skill name), mirroring guard-skills → clean-code-guard.
  • Utility skills (today: delegate-setup) are the exception to the implementer shape: they are not <cli>-delegate, they do not ship scripts/relay.mjs or the four brief/dispatch/review/queue references, and they never dispatch coding work. They still use Node built-ins only, no network of their own, no credentials, no telemetry. Document any new utility in CONTRIBUTING.md and register it in skills.sh.json and the smoke suite's utility carve-out.
  • SKILL.md frontmatter: name (must equal the directory), description, and optionally license, compatibility, metadata.version, allowed-tools. The description is the only triggering signal — keep it to what the skill does and when to use it, phrased to trigger reliably. Provenance, status caveats, and how-it-works detail go in the body or here, never in the description. Keep description under 1024 characters — some orchestrators (e.g. ZCode) hard-cap it and reject the skill otherwise.
  • Package versioning: release with an annotated git tag vMAJOR.MINOR.PATCH on master. Bump every skill's metadata.version to the same semver in that release (informational only — installers pin via @v…, not frontmatter). Wire/schema ids (delegate-fleet.v1, delegate-relay.result.v1) are separate; bump those only when the JSON contract breaks.
  • Progressive disclosure: keep SKILL.md lean; push depth into references/*.md that load only when needed.
  • Executables: keep them minimal and inspectable. Each *-delegate skill has one scripts/relay.mjs. Utility skills may ship other scripts (e.g. discover.mjs, config.mjs) under the same trust line: Node built-ins only, no dependencies, no network calls of their own, no credentials, no telemetry. The README's trust section must stay accurate.

Before publishing a change

  • Validate the package locally: npx skills add . --list.
  • Smoke-test any changed script directly (e.g. node skills/<skill>/scripts/relay.mjs --help, and a no-write or read-only run against a throwaway repo) before relying on it.
  • If you touch how a relay.mjs launches its implementer CLI, smoke-test on Windows too (native PowerShell/cmd, not just Git Bash/WSL): the codex, opencode, grok, pi, cline, copilot, and commandcode launches need shell:true on win32 to resolve the .cmd shim. Cline streams its brief on stdin and uses the child process cwd; Command Code also streams its brief on stdin. The other launches quote spaceable args, and all value flags are token-validated. The claude and cursor-agent launches serialize a pre-joined command string through the shell on win32 for the same shim reason; agy, kimi, current qodercli, vibe, aider, oz, and omp installs use native binaries (pip puts a real aider.exe in Scripts, so that launch needs no shell:true). The oz launch must never gain a shell on any platform: oz agent run takes the brief as its --prompt argv value (its -f/--file config path does not satisfy the required prompt group), and a shell would reinterpret that text. zcode is resolved rather than assumed — --zcode-path/ZCODE_CLI, then PATH, then the desktop app's bundled zcode.cjs — so it takes shell:true only when it resolved to a .cmd/.bat shim, never for a node <bundle> launch. Each changed launch still needs its own Windows smoke before claiming support. Upstream Vibe works on Windows but officially supports and targets UNIX; this repository's native Windows Cline stdin launch and Vibe relay launch are unverified.
  • Keep the README's "Verification status" honest — claim only what's been run.

Local Claude Code config

Claude Code reads CLAUDE.md, not AGENTS.md. If you want this file active while working here in Claude Code, symlink it (it's gitignored): ln -s AGENTS.md CLAUDE.md (macOS/Linux, or Windows Git Bash/WSL). On native Windows PowerShell use New-Item -ItemType SymbolicLink -Target AGENTS.md -Path CLAUDE.md, or just copy it with cp/copy if you don't need a live link.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.