warp-delegate
它能做什么
这个工具可以把编程任务委托给名为“Warp Agent CLI”(`oz`)的工具去完成。你负责编写指令,`oz` 工具负责编写代码,而你可以在接受结果之前先进行审查。
适用场景
- ✓当你想让 AI 处理某个特定的编程任务时。
- ✓当你希望在改动生效之前先进行审查时。
- ✓当你需要一个专门的工具来完成编程任务时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/warp-delegate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“使用 `oz` 工具,委托编写一个用于验证电子邮件地址的 Python 函数。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要写一段清晰的请求,描述任务内容和预期结果。`oz` 工具会在你的代码环境中执行这项请求,并把改动呈现给你审查。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
Warp Delegate
When to Use
- You want to delegate a bounded coding task to a separate
warpimplementer (Warp Agent CLI) and then review its diff yourself. - The user explicitly asked for delegation to this implementer.
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
…
常见问题
什么是 `oz`?
它是一个命令行程序(CLI),可以自动完成编程任务。它与 `warp` 不同,`warp` 是一个交互式终端工具。
需要安装什么东西吗?
需要。你需要安装“Warp Agent CLI”(`oz`),并使用你的账户完成身份验证。
我可以使用任意 AI 模型吗?
你可以使用 Warp 的默认模型,也可以运行 `oz model list` 命令查看可选项,然后选择一个特定的模型。
详情
作者的原始描述
Delegate coding tasks to the Warp Agent CLI (`oz`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
热度
- GitHub 星标
- 48k
- 排名
- #6141
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。