跳到正文
Skillpedia
智能体5.1k · #15188

dag-ulw

它能做什么

该技能把一个大任务规划为由小任务组成的图,并行运行已就绪的任务,然后检查结果。适合希望大任务完成,而不必指导每一步的人。

适用场景

  • ✓当一项大任务有许多可以同时运行的部分时。
  • ✓当你希望一项大任务从头到尾完成,而无需逐步指导时。
  • ✓当你需要最终检查,确认整体目标已经达成时。

技能链接

https://github.com/rlaope/oh-my-hermes/blob/main/skills/dag-ulw/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/rlaope/oh-my-hermes/blob/main/skills/dag-ulw/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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=define with the complete run goal and each node's id, label, category, prompt, depends_on, write_scope and role (build by default; baseline, verify, review); fix every refusal and read the lint before going on. Never delegate_task before define returns 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_list when todo_list is in your tool list or tool_search finds it (OMH mirrors it), else omh_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_dag returns, run its route (omh_delegate_route, set or fallback as given), then delegate_task with the tasks unchanged; never more calls than it returned. A call whose route names a backend (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-work when 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-work coordinated 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_dag before 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 ready returns no call because no slot is free, end the turn; the next completion frees one.
  • When the conversation was compacted, omh_dag action=status still 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-hermes or 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能