Orchestrator

From mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- · View interactive version

Orchestrator is an AI agent skill from the GitHub repository mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills-. Load when routing a natural-language omics query to the correct domain skill across spatial / singlecell / genomics / proteomics / metabolomics / bulkrna domains via keyword / LLM / hybrid matching. Skip when the target skill is already known — invoke that skill directly.

How to use this skill

Skill file

orchestrator

When to use

The user asks a natural-language omics question (e.g. "find spatial

domains in my Visium data", "call CNVs from this BAM", "run DE on

my proteomics CSV") and you need to dispatch to the correct skill

across the 6 routed OmicsClaw domains (_DOMAINS at omics_orchestrator.py:190). Three routing modes:

trigger_keywords in every skill's parameters.yaml.

If the target skill is already known, invoke it directly — this

skill exists to dispatch ambiguous queries, not as a wrapper.

For scaffolding NEW skills use omics-skill-builder.

Inputs & Outputs

| Input | Format | Required |

|---|---|---|

| Query | --query <text> (natural language) | yes (unless --demo) |

| Optional input file | --input <path> (used to bias domain detection) | no |

| Routing mode | --routing-mode {keyword,llm,hybrid} (default keyword) | no |

| Output | Path | Notes |

|---|---|---|

| Routing result | result.json | written via out_json.write_text(json.dumps(result)) (omics_orchestrator.py:409) — includes selected skill, confidence, candidates |

| Demo report | demo_report.txt | only when --demo (omics_orchestrator.py:334) |

Flow

  1. Parse --query (or --demo).
  2. If --input is provided, call detect_domain_from_path (omicsclaw.loaders) to bias domain selection.
  3. Dispatch to route_keyword / route_query_unified per --routing-mode (omics_orchestrator.py:24-26 imports).
  4. Resolve the chosen skill via resolve_capability (omicsclaw.core.capability_resolver); look up registry entry via omicsclaw.core.registry.registry.
  5. Write result.json (omics_orchestrator.py:409); print the selected skill name + suggested CLI invocation.

Gotchas

Key CLI

# Demo (synthetic queries)
python omicsclaw.py run orchestrator --demo --output /tmp/orch_demo

# Keyword routing (default — fastest)
python omicsclaw.py run orchestrator \
  --query "find spatial domains in my Visium" --output results/

# File-only routing with --routing-mode (LLM mode needs LLM_API_KEY)
python omicsclaw.py run orchestrator \
  --input mystery.csv --output results/ --routing-mode llm
# Note: --routing-mode is IGNORED if --query is also set; file-only path uses it.

# Hybrid (file-only path, keyword first then LLM fallback)
python omicsclaw.py run orchestrator \
  --input data.csv --output results/ --routing-mode hybrid

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.