dag-ulw
它能做什么
该技能把一个大任务规划为由小任务组成的图,并行运行已就绪的任务,然后检查结果。适合希望大任务完成,而不必指导每一步的人。
适用场景
- ✓当一项大任务有许多可以同时运行的部分时。
- ✓当你希望一项大任务从头到尾完成,而无需逐步指导时。
- ✓当你需要最终检查,确认整体目标已经达成时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/skills/dag-ulw/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这次迁移规划为由小任务组成的图,能并行的就并行运行,并在整体目标验证后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体写出目标以及每个任务及其依赖关系,并行运行已就绪的任务,然后用单独的检查来验证目标。在汇报之前,它会修复失败的任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Dag Ulw
This is a Hermes-native dag-ulw workflow skill.
Why This Exists
dag-ulw exists so a big job runs end to end without the person driving it: the parent plans a graph OMH can validate and draw, runs the ready nodes in parallel on Hermes' own children, verifies the goal with a separate node, and repairs before it reports.
First Steps
- Start at once; there is no plan approval. Write the goal criteria in one line.
- Plan the graph and call
omh_dag action=definewith the complete rungoaland each node's id, label, category, prompt, depends_on, write_scope and role (buildby default;baseline,verify,review); fix every refusal and read the lint before going on. Neverdelegate_taskbeforedefinereturns its calls. The saved goal reaches every native task; local VERIFY does not replace goal acceptance. - Keep the plan todo as the run's layers in ONE tool:
todo_listwhentodo_listis in your tool list or tool_search finds it (OMH mirrors it), elseomh_todo. One item per layer, named for what it delivers, never a list of its nodes (the panel draws those); advance it as each layer settles. - For each call
omh_dagreturns, run its route (omh_delegate_route, set or fallback as given), thendelegate_taskwith the tasks unchanged; never more calls than it returned. A call whose route names abackend(Hermes' model_map or profile_routes) runs no route tool: its tasks already carry what that backend takes. Then end the turn with one status line; never wait or poll. - On each completion read the node's handoff file and call
omh_dag action=settle(accepted, failed, or blocked; a provider error is failed with provider_error). Dispatch what it returns in the same turn. - When the run reports done, check each node against its SCOPE and the goal criteria: extend the run when work is missing, otherwise report.
Do Not Use When
- One small change with one owner and one check: run it directly, or use
ulw-workwhen the person named it. - The plan itself is still undecided and needs a reviewed decision record first; use
ulw-plan. - Workers must talk to each other mid-run rather than hand off through files; use
ulw-workcoordinated lanes.
Examples
Good example:
- Prompt: dag ulw: add the export API, its UI button and the docs page, then verify with the full test suite
- Expected behavior: Define four nodes (api, ui after api, docs after api, verify after all), dispatch api, settle from its handoff, dispatch ui and docs together, run the verification node, report with the run summary.
- Why: Three producers with one ordering edge and a shared verification fan-in is the shape the graph is for.
Bad example:
- Prompt: dag ulw fix the typo in README
- Expected behavior: Fix it directly; a one-node graph adds a tool round trip and a status line for nothing.
- Why: One bounded edit has no parallelism or ordering to plan.
Completion Checklist
- The run was defined in
omh_dagbefore the first dispatch, and every dispatched node was settled. - No two concurrently runnable nodes shared a write scope without an edge.
- A separate verification node ran the real command after every producer.
- Every accepted node was checked against its SCOPE; repairs stayed within two cycles per node and extend rounds within two per run.
- The report names what is still open and includes the observed run summary or an explicit run-summary not_available line before any specific next-action question.
Recovery Notes
- A node whose child returned blocked or failed blocks only its dependents: repair it, or report it.
- When
readyreturns no call because no slot is free, end the turn; the next completion frees one. - When the conversation was compacted,
omh_dag action=statusstill finds the run.
Workflow Lane
- Current lane: Intent -> plan (
oh-my-hermes,meta-router,deep-interview,context,plan,ralplan,adversarial-consensus,codebase-onboarding,+9 more) - clarify, plan, ship, or loop goals. - If intent belongs to another lane, hand back to
oh-my-hermesor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
skill_view(name='omh-routing', file_path='references/skill-common-rail.md').
When to Use
Use when the request is a job of several parts that can run in parallel or in an order (a feature across modules, a migration, a broad cleanup, research then build then verify), or when the person says dag ulw.
Strong
常见问题
它会等待我批准计划吗?
该技能在开始时没有单独的计划批准步骤,因此请仔细检查最终报告。
如果某个任务失败了怎么办?
智能体会先修复失败的任务,然后才会把任务报告为已完成。
它适用于简短的任务吗?
不适用。小任务更适合直接处理。
详情
作者的原始描述
[omh] Large multi-part job to run on its own: plan it as a graph of small nodes, run the ready ones in parallel through Hermes' delegate_task, verify the goal with a separate node, and repair failed nodes before reporting. Use when the user says: dag-ulw, dag ulw, ulw dag, dag ultrawork, ultrawork dag, даг ультраворк, граф задач, задачи графом.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15188
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。