← All publications

Workflow Topology–Guided Skill Loading for Agentic AI in Clinical Trial Data Pipelines: Sequential Exploratory Evaluation

Jaime Yan

Journal article · JMIR Formative Research · 2026 · sole author

DOI · 10.2196/100769

Abstract

Clinical trial data pipelines must follow CDISC standards (SDTM, ADaM), yet general-purpose large language models can produce plausible artifacts that omit required variables, misuse terminology, or invent derivation logic. This study examines when workflow topology–guided skill loading adds value beyond a domain prompt, nonrouted curated context, or lexical retrieval. A 45-node, 7-layer directed acyclic workflow graph was linked to 59 modular rule files (SKILL.md) and evaluated across four evidence regimes (task as the inferential unit; blinded rescoring of 60 outputs by a practicing statistical programmer). Routed context scored 4.63 versus 4.20 for prompt-only (difference 0.43; 95% CI 0.25–0.63; Holm-adjusted P=.01) but did not exceed flat or random loading; a lower-context scheduler used 28.82% less context while retaining quality, with every injected fragment sourced and all 120 manifests reproduced exactly. On lexically reachable tasks, graph+BM25 and BM25-only were equivalent, whereas on topology-dependent tasks graph-only selection outperformed BM25-only (difference 0.348; 95% CI 0.178–0.530) and raised required-evidence recall from 0.500 to 1.000. Workflow topology acts as a conditional retrieval prior; findings come from a synthetic benchmark with one generator backbone and one expert rater.

Keywords

agentic AI · large language models · CDISC · SDTM · ADaM · context engineering · retrieval · workflow graph

Cite

Jaime Yan. "Workflow Topology–Guided Skill Loading for Agentic AI in Clinical Trial Data Pipelines: Sequential Exploratory Evaluation." JMIR Formative Research, 2026. doi:10.2196/100769.