open-dynamic-workflows SKILL.md skillA
open-dynamic-workflows from xz1220/open-dynamic-workflows is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xz1220/open-dynamic-workflows/open-dynamic-workflows@git:20261019.9513fd0Pins git:20261019.9513fd0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xz1220/open-dynamic-workflows
- Path
skills/open-dynamic-workflows/zh-CN/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261019.9513fd0, committed Oct 19, 2026
- First version recorded
- Oct 19, 2026
- Size
- 62,534 bytes
- Repository stars
- 113
- License
- MIT
编写并运行 dynamic workflow:用 Claude Code 的 workflow 方言写一段简短的 JavaScript 脚本,再用 `odw` CLI 在宿主 agent 的上下文之外,把子任务扇出给 coding-agent CLI (Codex、Claude Code、Gemini、Qwen、Kimi 或自定义),后台跑完后只取回最终结果。 当一个任务大过单次调用——需要并行扇出多份草稿、多阶段评审流水线、对抗式核验发现, 或循环挖掘直到无新发现——或用户提到 odw、dynamic workflow、多 agent 编排、扇出 subagent 时,使用本 skill。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Open Dynamic Workflows
一个 dynamic workflow 就是一段简短的 JavaScript 脚本:编排计划写成普通代码,由
`odw` 在独立的后台进程里执行,把每个子任务派发给一个真实的 coding-agent CLI 进程。
中间产物不进入你的上下文,回到你手里的只有脚本 `return` 的最终值。
使用流程固定三步:**写脚本 → `odw run` → 检视结果再行动**。任务一次调用就能完成时
不要用——直接做。
## 写 workflow 脚本
- 文件最顶部放 `export const meta = {…}`,必须是**纯字面量**(不含变量、函数调用、
模板插值)。`meta.name` 与 `meta.description` 必填;`whenToUse`、`phases`、`model`
可选。`phases` 的条目是 `{ title, detail? }`(或者只写标题);条目里的 `adapter` 和
`model` 是该阶段 agent 的默认值(**ODW 扩展**——见[按阶段路由](#按阶段指定适配器模型分层与回退链odw-扩展))。
- 脚本体运行在 async 上下文里:直接用顶层 `await`;顶层 `return` 的值就是整个
workflow 的结果。
- 原语全部是**注入的全局**——不要 import。除 `export const meta` 外,文件里出现任何
其他顶层 `import` / `export` 都会被加载器拒绝。
- 循环、`if`、去重等普通控制流直接写在脚本里。原语只负责**派发并等待**,拿结果做
什么由脚本决定。
- 要同时能在 Claude Code 的 Workflow 工具上运行,就只用方言本身:不用 ODW 扩展,也不依赖
一致性测试套件标为 `unspecified` 的行为。通过一致性测试的脚本两边都能跑——
`odw conformance` 运行该套件(ODW 仓库的 `conformance/`;见[原语参考](references/primitives.md#odw-conformance))。
```js
// fan-out-reduce.js
export const meta = {
name: 'fan-out-reduce',
description: 'Draft in parallel, then synthesize.',
phases: [{ title: 'Draft' }, { title: 'Synthesize' }],
}
…Read the whole file at its exact version.
How to install
mdr add xz1220/open-dynamic-workflows/open-dynamic-workflows@sha256:78b6db3167bc476dThe line at the top of this page pins the label git:20261019.9513fd0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ltt3pnbhdwkil2wo)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, all committed on Oct 19, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.9513fd0 latest | 2026-10-19 | 9513fd0 | 62,534 B | A | view · diff |
| git:20261019.ca5661d | 2026-10-19 | ca5661d | 62,183 B | A | view · diff |
| git:20261019.adac0ae | 2026-10-19 | adac0ae | 61,879 B | A | view · diff |
| git:20261019.f06f463 | 2026-10-19 | f06f463 | 61,276 B | A | view · diff |
| git:20261019.1313fc2 | 2026-10-19 | 1313fc2 | 60,640 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (62534 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xz1220/open-dynamic-workflows · 113 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ltt3pnbhdwkil2wo GET https://markdownregistry.com/api/v1/resolve?ref=xz1220/open-dynamic-workflows/open-dynamic-workflows GET https://markdownregistry.com/api/v1/blob/78b6db3167bc476dd38da9817d381e9c4640a8c50c61daa4b5d87fe15adbc530
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from xz1220/open-dynamic-workflows
Every file in xz1220/open-dynamic-workflows