# databricks-industry-solutions/vital-skills architecture

> Architecture diagram of the GitHub repository databricks-industry-solutions/vital-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/databricks-industry-solutions/vital-skills
- Repository: https://github.com/databricks-industry-solutions/vital-skills

## Overview

Vital Skills is a collection of Agent Skills that teaches Genie Code to perform health and life-sciences workflows. The principal workflow is: a user adds the repository’s skills folder to Genie Code, selects a skill for a task, and receives a domain-specific analysis, cohort, de-identified data, or report. The graph preserves the README’s major capability areas and uses available script paths where the tree shows them. Most runtime skill instructions and implementations were not sampled, so internal workflow links are limited to documented relationships.

Main entry points: [`skills/bulk-rnaseq/scripts/run_deseq2_analysis.py`](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/bulk-rnaseq/scripts/run_deseq2_analysis.py) (Bulk RNA-seq), [`skills/sc-rnaseq`](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/sc-rnaseq) (Single-cell RNA-seq), [`skills/cohort-builder/scripts/cohort_run.py`](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/cohort-builder/scripts/cohort_run.py) (Cohort building), [`skills/phi-deidentifier/scripts/run_deid.py`](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/phi-deidentifier/scripts/run_deid.py) (PHI de-identification)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bio["Bioinformatics"]
  node_bulk["Bulk RNA-seq"]
  node_single["Single-cell RNA-seq"]
  node_pathway["Pathway enrichment"]
  node_analysisresult["Analysis results"]
end

subgraph group_clinical["Clinical workflows"]
  node_cohort["Cohort building<br/>[cohort_run.py]"]
  node_deid["PHI de-identification<br/>[run_deid.py]"]
  node_rwe["Cohort studies"]
  node_semantic["Semantic catalogs"]
  node_clinicalresult["Clinical data outputs"]
end

subgraph group_reports["Reporting and presentation"]
  node_html["HTML reports<br/>[html_report.py]"]
  node_presentation["Presentation decks<br/>[build_deck.py]"]
  node_latex["PDF reports"]
  node_shareable["Shareable reports"]
end

subgraph group_models["Model workflows"]
  node_openmodels["Open-weight models"]
  node_accelerators["HLS accelerators"]
end

node_user(("User"))
node_genie["Genie Code"]
node_skillset["Skill collection"]

node_user -->|"requests task"| node_genie
node_user -->|"adds skills"| node_genie
node_genie -->|"loads skills"| node_skillset
node_skillset -->|"offers skill"| node_bulk
node_skillset -->|"offers skill"| node_single
node_skillset -->|"offers skill"| node_pathway
node_skillset -->|"offers skill"| node_cohort
node_skillset -->|"offers skill"| node_deid
node_skillset -->|"offers skill"| node_rwe
node_skillset -->|"offers skill"| node_semantic
node_skillset -->|"offers skill"| node_openmodels
node_skillset -->|"offers skill"| node_accelerators
node_skillset -->|"offers skill"| node_html
node_skillset -->|"offers skill"| node_presentation
node_skillset -->|"offers skill"| node_latex
node_genie -->|"uses for analysis"| node_bulk
node_genie -->|"uses for analysis"| node_single
node_genie -->|"uses for enrichment"| node_pathway
node_genie -->|"builds cohort"| node_cohort
node_genie -->|"de-identifies data"| node_deid
node_genie -->|"runs study"| node_rwe
node_genie -->|"maps measures"| node_semantic
node_genie -->|"handles models"| node_openmodels
node_genie -->|"routes task"| node_accelerators
node_genie -->|"creates report"| node_html
node_genie -->|"creates deck"| node_presentation
node_genie -->|"creates PDF"| node_latex
node_bulk -->|"finds genes"| node_analysisresult
node_single -->|"analyzes data"| node_analysisresult
node_pathway -->|"enriches pathways"| node_analysisresult
node_cohort -->|"produces cohort"| node_clinicalresult
node_deid -->|"produces governed data"| node_clinicalresult
node_rwe -->|"estimates effects"| node_clinicalresult
node_semantic -->|"maps metrics"| node_clinicalresult
node_openmodels -->|"deploys models"| node_clinicalresult
node_accelerators -->|"gives next step"| node_clinicalresult
node_html -->|"renders HTML"| node_shareable
node_presentation -->|"renders deck"| node_shareable
node_latex -->|"compiles PDF"| node_shareable

click node_bulk "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/bulk-rnaseq/scripts/run_deseq2_analysis.py"
click node_single "https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/sc-rnaseq"
click node_cohort "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/cohort-builder/scripts/cohort_run.py"
click node_deid "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/phi-deidentifier/scripts/run_deid.py"
click node_rwe "https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/rwe-cohortstudy"
click node_semantic "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/semantic-builder/scripts/generate_semantic_layer.py"
click node_openmodels "https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/open-weight-models/scripts"
click node_accelerators "https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/accelerators"
click node_html "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/html-report/scripts/html_report.py"
click node_presentation "https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/presentation-builder/scripts/build_deck.py"
click node_latex "https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/report-builder"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bulk,node_single,node_pathway,node_analysisresult,node_user toneBlue
class node_cohort,node_deid,node_rwe,node_semantic,node_clinicalresult toneAmber
class node_html,node_presentation,node_latex,node_shareable toneMint
class node_openmodels,node_accelerators toneRose
class node_genie,node_skillset toneIndigo
```

## Components

### Bioinformatics

- [Bulk RNA-seq](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/bulk-rnaseq/scripts/run_deseq2_analysis.py): `skills/bulk-rnaseq/scripts/run_deseq2_analysis.py`
- [Single-cell RNA-seq](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/sc-rnaseq): `skills/sc-rnaseq`
- **Pathway enrichment**
- **Analysis results**

### Clinical workflows

- [Cohort building](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/cohort-builder/scripts/cohort_run.py): `skills/cohort-builder/scripts/cohort_run.py`
- [PHI de-identification](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/phi-deidentifier/scripts/run_deid.py): `skills/phi-deidentifier/scripts/run_deid.py`
- [Cohort studies](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/rwe-cohortstudy): `skills/rwe-cohortstudy`
- [Semantic catalogs](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/semantic-builder/scripts/generate_semantic_layer.py): `skills/semantic-builder/scripts/generate_semantic_layer.py`
- **Clinical data outputs**

### Reporting and presentation

- [HTML reports](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/html-report/scripts/html_report.py): `skills/html-report/scripts/html_report.py`
- [Presentation decks](https://github.com/databricks-industry-solutions/vital-skills/blob/main/skills/presentation-builder/scripts/build_deck.py): `skills/presentation-builder/scripts/build_deck.py`
- [PDF reports](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/report-builder): `skills/report-builder`
- **Shareable reports**

### Model workflows

- [Open-weight models](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/open-weight-models/scripts): `skills/open-weight-models/scripts`
- [HLS accelerators](https://github.com/databricks-industry-solutions/vital-skills/tree/main/skills/accelerators): `skills/accelerators`

### Other components

- **User**
- **Genie Code**
- **Skill collection**

## Connections

- User → Genie Code: requests task (evidence: `README.md`)
- User → Genie Code: adds skills (evidence: `README.md`)
- Genie Code → Skill collection: loads skills (evidence: `README.md`)
- Skill collection → Bulk RNA-seq: offers skill (evidence: `README.md`)
- Skill collection → Single-cell RNA-seq: offers skill (evidence: `README.md`)
- Skill collection → Pathway enrichment: offers skill (evidence: `README.md`)
- Skill collection → Cohort building: offers skill (evidence: `README.md`)
- Skill collection → PHI de-identification: offers skill (evidence: `README.md`)
- Skill collection → Cohort studies: offers skill (evidence: `README.md`)
- Skill collection → Semantic catalogs: offers skill (evidence: `README.md`)
- Skill collection → Open-weight models: offers skill (evidence: `README.md`)
- Skill collection → HLS accelerators: offers skill (evidence: `README.md`)
- Skill collection → HTML reports: offers skill (evidence: `README.md`)
- Skill collection → Presentation decks: offers skill (evidence: `README.md`)
- Skill collection → PDF reports: offers skill (evidence: `README.md`)
- Genie Code → Bulk RNA-seq: uses for analysis (evidence: `README.md`)
- Genie Code → Single-cell RNA-seq: uses for analysis (evidence: `README.md`)
- Genie Code → Pathway enrichment: uses for enrichment (evidence: `README.md`)
- Genie Code → Cohort building: builds cohort (evidence: `README.md`)
- Genie Code → PHI de-identification: de-identifies data (evidence: `README.md`)
- Genie Code → Cohort studies: runs study (evidence: `README.md`)
- Genie Code → Semantic catalogs: maps measures (evidence: `README.md`)
- Genie Code → Open-weight models: handles models (evidence: `README.md`)
- Genie Code → HLS accelerators: routes task (evidence: `README.md`)
- Genie Code → HTML reports: creates report (evidence: `README.md`)
- Genie Code → Presentation decks: creates deck (evidence: `README.md`)
- Genie Code → PDF reports: creates PDF (evidence: `README.md`)
- Bulk RNA-seq → Analysis results: finds genes (evidence: `README.md`)
- Single-cell RNA-seq → Analysis results: analyzes data (evidence: `README.md`)
- Pathway enrichment → Analysis results: enriches pathways (evidence: `README.md`)
- Cohort building → Clinical data outputs: produces cohort (evidence: `README.md`)
- PHI de-identification → Clinical data outputs: produces governed data (evidence: `README.md`)
- Cohort studies → Clinical data outputs: estimates effects (evidence: `README.md`)
- Semantic catalogs → Clinical data outputs: maps metrics (evidence: `README.md`)
- Open-weight models → Clinical data outputs: deploys models (evidence: `README.md`)
- HLS accelerators → Clinical data outputs: gives next step (evidence: `README.md`)
- HTML reports → Shareable reports: renders HTML (evidence: `README.md`)
- Presentation decks → Shareable reports: renders deck (evidence: `README.md`)
- PDF reports → Shareable reports: compiles PDF (evidence: `README.md`)
