by amElnagdy
Drive Codex, OpenCode, Antigravity, Grok, or Kimi as a background implementer — brief it, review its diff, land the commit yourself.
# Add to your Claude Code skills
git clone https://github.com/amElnagdy/delegate-skillsGuides for using ai agents skills like delegate-skills.
Last scanned: 6/22/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-22T09:49:30.639Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}delegate-skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by amElnagdy. Drive Codex, OpenCode, Antigravity, Grok, or Kimi as a background implementer — brief it, review its diff, land the commit yourself. It has 486 GitHub stars.
Yes. delegate-skills passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/amElnagdy/delegate-skills" and add it to your Claude Code skills directory (see the Installation section above).
delegate-skills is primarily written in JavaScript. It is open-source under amElnagdy on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh delegate-skills against similar tools.
No comments yet. Be the first to share your thoughts!
Skills for delegating coding work to a separate CLI agent and landing it yourself. Your agent (the orchestrator) writes a self-contained brief, hands it to an implementer CLI, then reviews the diff and commits — staying the reviewer the whole way.
Five skills ship today — same loop, different implementer:
| Skill | Drives | Autonomy | Resume |
|---|---|---|---|
codex-delegate |
OpenAI Codex CLI | Codex --sandbox enum (workspace-write default) |
--resume-last |
opencode-delegate |
OpenCode CLI | agent: build (write) / plan (read-only) |
--resume-last, --session <id> |
agy-delegate |
Google Antigravity CLI (agy) |
Antigravity's own permission policy; bypass is opt-in | --resume-last, --conversation <id> |
grok-delegate |
Grok Build CLI (grok) |
explicit: default workspace-scoped, --read-only best-effort with violation detection, --full-access opt-in |
--resume-last, --session <id> |
kimi-delegate |
Kimi Code CLI (kimi) |
headless runs always use Kimi's auto permission mode | --resume-last, --session <id> |
Browse first:
npx skills add amElnagdy/delegate-skills --list
Install the package, or just one skill (any name from the table above):
npx skills add amElnagdy/delegate-skills
npx skills add amElnagdy/delegate-skills --skill codex-delegate
Install for a specific agent, or globally:
npx skills add amElnagdy/delegate-skills --skill codex-delegate --agent claude-code
npx skills add amElnagdy/delegate-skills --global
Works with any orchestrating agent the Skills CLI supports.
The loop:
relay.mjs.result.json.Use $codex-delegate to have Codex implement the refactor in services/billing/, then review and commit it.
Use $kimi-delegate to have Kimi implement the UI cleanup, then review and commit it.
Use $codex-delegate to run this queue of migration tasks through Codex while I review each one.
Every relay speaks the same delegate-relay.result.v1 contract: status, exitCode, signal
(with a host-killed hint when the OOM killer ends a run), the implementer's own final report,
touchedFiles, and a session/conversation id for delta briefs. Learn the loop once, swap the
implementer freely.
Drive the OpenAI Codex CLI as a background implementer. Ships four references (writing the brief, dispatch/poll, review/land, multi-task queues) loaded only when needed, and one small helper script.
You'll feel it when: a bounded task — a migration, a mechanical refactor, a removal sweep — gets handed to Codex, comes back as a clean diff with a structured report, and you commit it after re-running the gates yourself instead of typing it all by hand.
Same loop for the OpenCode CLI. Autonomy is set by the agent rather than a sandbox enum — build
(write-capable) by default, plan (read-only) for review/diagnosis — and the brief is piped to
opencode run on stdin so multi-line XML briefs need no quoting. --model is required: OpenCode has
no safe default, so you name a model you actually pay for.
Same loop for the Google Antigravity CLI (agy). Fresh runs start a new Antigravity project and
explicitly add the target repo as the workspace; Antigravity's permission bypass
(--dangerously-skip-permissions) is opt-in, never the default, and combining it with --sandbox
must be treated as full access.
Same loop for the Grok Build CLI. Autonomy is always set explicitly because Grok's headless default
would hang a pipe: workspace-scoped by default, --full-access as the opt-in, and --read-only as
best-effort — Grok cannot be prevented from writing headlessly, so the relay snapshots the tree
and flags readOnlyViolation: true when a read-only run wrote anyway.
Same loop for the Kimi Code CLI (kimi). Headless kimi -p always runs in Kimi's auto permission
mode (it rejects --yolo/--auto/--plan outright), so the skill is blunt about it: there is no
CLI-enforced read-only mode — touchedFiles and the diff, not a flag, are the guarantee.
Planned. A delegate skill for the Gemini CLI, if and when it gains a comparable non-interactive mode. Reserved so the umbrella can grow without a rename.
The official openai-codex Claude Code plugin is excellent and complementary — codex-delegate
builds on the same codex CLI, it doesn't replace the plugin. They point in different directions:
codex:codex-rescue agent is a forwarder: it hands one task to Codex and returns
the output. It deliberately does not poll, review, or commit.codex-delegate is the orchestration loop in the other direction: you drive Codex to
implement across one task or a queue, and you review and land each result. That loop — brief →
dispatch → poll → review → commit, with the orchestrator owning the commit — is what the plugin
leaves to you, and what this skill encodes.If you have the plugin installed, its companion CLI is an optional alternative dispatch backend; the
bundled relay.mjs is the default because it needs nothing but the codex binary.
codex (codex login) · opencode
(opencode auth login) · agy (Antigravity's first-launch setup) ·
grok (npm i -g @xai-official/grok, then grok login) ·
kimi (brew install kimi-code, then kimi login).git.This package is intentionally inspectable:
scripts/relay.mjs.relay.mjs makes no network calls, reads or writes no credentials, sends no telemetry, and has
no dependencies (Node built-ins only). It shells out only to its implementer CLI and git. That CLI
authenticates exactly as you do at the terminal. Read the script before you run it.Verification status — claims here are backed by runs, not assumptions:
result.json, resume, signal
reporting, and the implementer-specific guards.agy-delegate — verified end-to-end on macOS against agy 1.0.16 (headless edit run, --print=
delivery, absolute --add-dir workspace pin).grok-delegate — verified end-to-end on macOS against grok 0.2.101 (streaming-json report capture,
file-based brief delivery, resume; read-only is best-effort by measurement, hence the violation flag).kimi-delegate — verified end-to-end on macOS against kimi 0.24.0 (headless -p edit run,
stream-json parsing, --session/--continue resume).opencode-delegate — requires --model, since OpenCode has no safe default..cmd shim (shell:true + quoting); native Windows
launch smokes for agy/grok/kimi are still pending.Every skill has the same shape — a lean SKILL.md, four references that load only when needed, and
one inspectable script:
skills/
└── <name>-delegate/
├── SKILL.md
├── scripts/relay.mjs
└── references/
├── writing-the-brief.md
├── dispatch-and-poll.md
├── review-and-land.md
└── multi-task-queues.md
MIT — see LICENSE.