Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Stores reusable DAG definition JSON files in a library directory and re-runs them by name with date and key placeholders.
27% 95%+68 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 6 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Use this skill when the user wants to KEEP a dag definition and run it again later — the graph is an asset, not a one-off. For authoring a brand-new graph, read mass-ulw first; this skill covers the storage-and-rerun half.
A stored definition is a plain dag definition JSON file named <name>.json in one of the library dirs. First hit wins:
$OMO_DAG_LIBRARY (multiple dirs, separated by : — or by ; on Windows, so drive-letter paths survive)$PWD/.omo/dags$HOME/.omo/dags{
"key": "nightly-audit",
"name": "Nightly audit",
"nodes": [
{ "id": "audit", "category": "unspecified-low", "prompt": "TASK: Audit docs/ for stale claims. DELIVERABLE: /tmp/audit-{{key}}.md listing each stale claim with its file and line. SCOPE: read docs/ and src/; write only /tmp/audit-{{key}}.md. VERIFY: test -s /tmp/audit-{{key}}.md. STOP WHEN: the findings file is written." },
{ "id": "verify", "category": "quick", "prompt": "TASK: Verify each finding in /tmp/audit-{{key}}.md against src/. DELIVERABLE: one CONFIRMED or REFUTED line per finding, citing the src/ file and line. SCOPE: read /tmp/audit-{{key}}.md and src/; write nothing. VERIFY: every finding in the file has exactly one verdict line; a missing file is FAIL. STOP WHEN: every finding has a verdict.", "dependsOn": ["audit"] }
]
}
String values may carry placeholders, filled at load time: {{key}} (the final rotated key — use it in file paths so reruns never clobber each other), {{date}} (UTC YYYYMMDD), {{datetime}} (UTC YYYYMMDD-HHmmss). Node prompts must still stand alone: dependsOn is ordering only, so pass data between nodes through files, exactly as in mass-ulw. A stored prompt follows mass-ulw's node prompt contract (TASK:, DELIVERABLE:, SCOPE:, VERIFY:, STOP WHEN:), because the workflow start behind lib.start returns advisory warnings for a prompt missing its TASK:/STOP WHEN markers.
The extension publishes library.js next to sdk.js at OMO_DAG_SDK_ROOT:
const lib = await import(`${env("OMO_DAG_SDK_ROOT")}/library.js`)
const run = await lib.start("nightly-audit")
const result = await run.done()
await lib.load(name) returns the filled definition without starting it; await lib.start(name) loads and starts in one call and returns the same handle shape as sdk.start (run_id, done(), cancel(reason)). Both are async — the kernel's read global is async, so never call them un-awaited.
The dag engine keys idempotency on key + graph fingerprint: re-starting the same key with the same graph REUSES the old run instead of running again. So the library treats the stored key as a BASE key and rotates it on every load:
Next to this one in the catalogue, plus more from the same author.