warp-delegate
Skill2.3k starsChanged 4 months agoMITView on GitHub
Delegate a coding task to the Warp Agent CLI (`oz`) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Warp - phrasings like "have Warp implement X", "delegate this to the Warp CLI", "run it through Warp", "use oz to implement/fix/refactor" - or wants to run a queue of coding tasks through Warp while staying the reviewer. DO NOT USE for tasks small enough to do inline, when the user wants the code written directly without delegating, or for the interactive `warp` TUI (this skill drives the headless `oz agent run`, not the terminal app).
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about amElnagdy/delegate-skills
- @github-trending-js.bsky.social“📦 amElnagdy / delegate-skills ⭐ 1,766 (+53) 🗒 JavaScript Delegate a coding task to a separate coding …”Bluesky · Sep 7, 2026 · 2 likes
- A Hacker News story“delegate-skills”Hacker News · Aug 12, 2026 · 2 points
- sudosubin/agents.nix“agent-skills.github.amelnagdy.delegate-skills: v0.5.0 → refs/tags/v0.5.0”GitHub · Oct 3, 2026
- theknight87/CNG-Station-Management“Vendor delegate-skills (18 skills) into .claude/skills”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] amelnagdy/delegate-skills/skills/grok-delegate - grok-delegate”GitHub · Sep 27, 2026
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
- Oct 3, 2026agent-skills.github.amelnagdy.delegate-skills: v0.5.0 → refs/tags/v0.5.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Vendor delegate-skills (18 skills) into .claude/skills — theknight87/CNG-Station-Management0 reactions · 1 comment
- Sep 27, 2026[Candidate] amelnagdy/delegate-skills/skills/grok-delegate - grok-delegate — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/delegate-setup - delegate-setup — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/cursor-delegate - cursor-delegate — ProSkillsMD/proskills0 reactions · 1 comment
8 more on GitHub
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/cline-delegate - cline-delegate — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/claude-delegate - claude-delegate — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/aider-delegate - aider-delegate — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] amelnagdy/delegate-skills/skills/agy-delegate - agy-delegate — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.amelnagdy.delegate-skills: init at 0.5.0 — sudosubin/agents.nix0 reactions
- Sep 21, 2026Add a headless lane mechanic to /coordinator via delegate-skills relays (Codex/OpenCode), keep herdr panes for watched lanes — Observerstudio/coordinator0 reactions
- Aug 26, 2026feat: add 18 delegate skills docs-only from amElnagdy/delegate-skills — sickn33/agentic-awesome-skills0 reactions · 1 comment
- Aug 25, 2026feat: add 18 delegate skills from amElnagdy/delegate-skills — sickn33/agentic-awesome-skills0 reactions · 1 comment
On Hacker News · 1
- Aug 12, 2026delegate-skills2 points
On Bluesky · 1
- Sep 7, 2026📦 amElnagdy / delegate-skills ⭐ 1,766 (+53) 🗒 JavaScript Delegate a coding task to a separate coding agent CLI, review the diff, land the… — @github-trending-js.bsky.social2 likes and reposts
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agy-delegateSkill
- aider-delegateSkill
- claude-delegateSkill
- cline-delegateSkill
- codex-delegateSkill
- commandcode-delegateSkill
- copilot-delegateSkill
- cursor-delegateSkill
- delegate-setupSkill
- grok-delegateSkill
- kimi-delegateSkill
- omp-delegateSkill
- opencode-delegateSkill
- pi-delegateSkill
- qoder-delegateSkill
- vibe-delegateSkill
- zcode-delegateSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Very specific: line 35
If oz is missing but warp is installed, you have the TUI, not the CLI.
- Distinctive: line 74
Run these five steps per task.
- Very specific: line 87
Use the bundled relay. It runs oz agent run --output-format ndjson, captures the event stream, and writes result.json.
- Distinctive: line 119
Treat Warp's final message and gate claims as claims:
- Very specific: line 122
Read the diff against the brief, starting with touchedFiles.
- Distinctive: line 123
Run relevant guard skills if installed.
- Very specific: line 145
Treat this as *aim*, not a fence: on oz 0.2026.05.27 shell commands did run in the pinned workspace, but the agent's file tool resolved …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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.
Files
Warp Delegate
You are the orchestrator. Delegate a bounded coding task to a separate implementer - the Warp Agent 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 conversation; you verify and commit.
The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
The binary is oz, not warp
Warp ships two different programs, and only one of them can be delegated to:
oz- the Warp Agent CLI. Headless and scriptable;oz agent runexecutes an agent against a local directory. This is what the relay drives.warp- the interactive Warp TUI. It requires a terminal device, has no prompt or print flag (its only options are--resume,--auto-approve,--api-key, and the provider-key commands), and exits withDevice not configuredwhen stdin is a pipe. It cannot be relayed.
If oz is missing but warp is installed, you have the TUI, not the CLI.
When NOT to use this
- The task is small enough to do inline; delegation overhead is not worth it.
- The
ozCLI is not installed or authenticated. - You need a sandboxed or read-only implementer.
oz agent runhas no sandbox, no permission mode, and no read-only run - see Autonomy and permissions. - The work must stay off Warp's servers.
oz agent runuploads an end-of-run workspace snapshot unless--no-snapshotis passed, and conversations live server-side.
Prerequisites (check once)
- Install the Warp Agent CLI - see https://docs.warp.dev/cli/.
- Authenticate:
oz login, or setWARP_API_KEYfor CI, a container, or any headless host. - Confirm the account has AI quota. A working login is not enough - unlike the other CLIs in
this package.
oz whoamican succeed while every dispatch fails withIn order to use Warp's AI features, subscribe to a Warp plan, or bring your own inference.Warp records this internally asQuotaLimit/ "lack of AI quota", so it is a credit condition on the account rather than a CLI-specific entitlement:ozruns the same agent harness as the Warp app and draws on the same account, plan, and credits. Check thatoz whoaminames the account holding the plan - if it does not,oz logout && oz loginfixes it. Otherwise confirm the plan's AI credits are not spent, or store your own provider key -warp --set-provider-api-key <openai|anthropic|google|grok>, or/api-keysinside the TUI. Bring-your-own-key needs no paid Warp plan. - Confirm
oz --versionsucceeds andoz whoamiprints your user. - Work in, or point
--cdat, the target git repository.
On macOS the CLI is distributed as a signed Developer ID binary; a first run may be held by Gatekeeper until it is approved.
Choose the model (optional)
Omit --model to use Warp's configured default. To pick another, choose an id from oz model list
and pass it verbatim. The relay accepts letters, digits, and . _ : / - only, so a value cannot be
mistaken for another oz flag.
The loop
Run these five steps per task. Steps 1, 4, and 5 require judgment; 2 and 3 are mechanical.
1. Write the brief
Warp sees only the text you send plus what it can inspect in the workspace - no chat history or
shared context. Include the goal, current state, what to change, what to leave untouched, the
project's actual gates, and a report contract. Tell it not to commit. Keep one task per brief.
The brief is delivered as the --prompt value on argv, so it is visible in the host process list -
keep secrets out of it and reference workspace files instead. See
references/writing-the-brief.md.
2. Dispatch
Use the bundled relay. It runs oz agent run --output-format ndjson, captures the event stream, and
writes result.json. (<skill-dir> is the installed folder containing this SKILL.md.)
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --cd /path/to/repo
# choose a model: add --model <id from oz model list>
# use an agent profile: add --profile <id>
# label the run: add --name <label>
# continue an existing conversation: add --conversation <id> (delta brief only)
# base the run on a Warp skill: add --skill <name|repo:name|org/repo:name>
# start MCP servers: add --mcp <path-or-inline-json> (repeatable)
# suppress the workspace snapshot upload: add --no-snapshot
# hard time limit (watchdog): add --timeout 2h (the 30m default suits short runs; implementation briefs routinely need 1-2h)
# see all options: node .../relay.mjs --helpThe relay pins the workspace with both the child process's cwd and Warp's own --cwd. It writes
artifacts under the system temp dir by default and never commits. See
references/dispatch-and-poll.md.
3. Wait for completion
The relay blocks until oz finishes. Run it with the orchestrator's background-command facility, or
background it in the shell and poll for result.json. A pre-run usage error exits 2 and writes no
result; a missing oz exits 127 and writes status: "warp_unavailable".
Trust process state and the working tree over a progress display. Completion means the process
exited and result.json exists. Warp's report is the finalMessage field in result.json (also
printed on stdout between the report markers); the raw event stream is always in events.jsonl.
4. Review - do not trust the self-report
Treat Warp's final message and gate claims as claims:
- Re-run the project's gates yourself.
- Read the diff against the brief, starting with
touchedFiles. - Run relevant guard skills if installed.
- Round-trip migrations and grep for dangling references after removals or renames.
Because there is no read-only mode to fall back on, the diff is the only record you get - and it records what git can see in the workspace afterward, not everything the run did. Dispatch from a clean tree so the two are as close as they can be. See references/review-and-land.md.
5. Land it
The implementer edits the working tree; the orchestrator commits. Commit only after the gates
pass and the diff holds. If rework is needed, send a delta brief with --conversation <id> using the
conversationId from result.json, then review again.
Autonomy and permissions
oz agent run has no sandbox, no permission mode, and no read-only mode. A headless run reads,
writes, edits, and executes commands with your own user permissions and never prompts. There is
nothing in the CLI to restrict that surface, so this relay ships no --read-only flag - offering one
would imply an enforcement that does not exist. The controls you actually have are:
- Scope by directory.
--cdpins the workspace, and the relay passes it to Warp's own--cwd. Treat this as aim, not a fence: on oz 0.2026.05.27 shell commands did run in the pinned workspace, but the agent's file tool resolved bare relative paths against$HOME. Name absolute paths in the brief - see references/writing-the-brief.md. - Review the diff.
touchedFilesisgit status --porcelaintaken after the run - post-run, git-visible worktree state, not a log of what the agent did. It cannot show an ignored file, an edit the run made and then reverted, or a write outside the repository (see item 1), and it carries anything that was already dirty before dispatch. Dispatch from a clean tree so those are the same set, and treat the diff as the best available record, not a complete one. - Snapshot egress.
--no-snapshotforwards Warp's flag so the end-of-run workspace snapshot is not uploaded. Without it, the upload is Warp's default.
--auto-approve belongs to the interactive warp TUI and has no bearing on oz agent run.
Authorization model
Delegation is something the human opts into. Once they have ("run this queue", "proceed"), committing verified, gate-passing work is the agreed contract. Two limits remain: surface, don't absorb (report Warp's design decisions, defensible-but-unasked turns, and non-blocking nitpicks) and stop for scope changes (if correct completion needs going beyond the brief, ask instead of expanding the mandate). See references/review-and-land.md.
References
- references/writing-the-brief.md - structure, report contract, real gates, argv delivery, and delta briefs.
- references/dispatch-and-poll.md - flags, artifacts,
result.json, polling, and failure recovery. - references/review-and-land.md - review checklist, commit boundary, and rework through Warp conversations.
- references/multi-task-queues.md - sequential queues, constraint carry-forward, progress tracking, and the final coherence pass.
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
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.

