Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI-powered patient digital twin creation for clinical trial simulation, treatment outcome prediction, and personalized medicine using real-world data and multi-omics integration.
.claude/skills/digital-twin-clinical-agent/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 75% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 13% | 0% |
<!--
#
#
-->
The Digital Twin Clinical Agent creates AI-powered virtual replicas of individual patients by integrating genomics, imaging, wearable data, and clinical records. These digital twins enable clinical trial simulation, treatment response prediction, and personalized therapeutic optimization, qualified by EMA and aligned with FDA guidance.
| Component | Data Sources | Models | |-----------|--------------|--------| | Genomic Twin | WES/WGS, RNA-seq | Mutation effects, expression | | Phenotypic Twin | EHR, labs, vitals | Clinical trajectories | | Imaging Twin | CT, MRI, pathology | Tumor dynamics | | Behavioral Twin | Wearables, PROs | Activity, symptoms | | Pharmacokinetic | Drug levels, metabolism | PK/PD models |
| Application | Use Case | Benefit | |-------------|----------|---------| | Trial Simulation | Virtual control arms | Reduce placebo patients | | Dose Optimization | Individual PK/PD | Personalized dosing | | Treatment Selection | Compare therapies | Optimal choice | | Progression Prediction | Disease trajectory | Early intervention | | Drop-off Prediction | Compliance forecasting | Retention improvement |
User: "Create a digital twin for this Alzheimer's patient to simulate their response to the investigational drug and compare to placebo trajectory."
Agent Action:
bashpython3 Skills/Clinical/Digital_Twin_Clinical_Agent/create_twin.py \ --patient_data patient_ehr.json \ --genomics patient_wgs.vcf \ --imaging mri_series/ \ --cognitive_scores mmse_history.csv \ --biomarkers abeta_tau_nfl.csv \ --disease alzheimers \ --simulate_treatment drug_a \ --compare_to placebo \ --prediction_horizon 24_months \ --output digital_twin_results/
| Data Type | Required | Purpose | |-----------|----------|---------| | Demographics | Yes | Base characteristics | | Medical History | Yes | Disease context | | Lab Values | Yes | Biomarker trajectories | | Medications | Yes | Treatment history | | Genomics | Recommended | Personalization | | Imaging | Recommended | Disease state | | Wearables | Optional | Real-time data | | PROs | Optional | Symptom tracking |
| Output | Description | Format | |--------|-------------|--------| | Digital Twin Model | Serialized patient model | .pt, .pkl | | Trajectory Predictions | Future state estimates | .csv | | Counterfactuals | Alternative outcomes | .csv | | Uncertainty Bounds | Prediction intervals | .json | | Comparison Report | Treatment vs control | .pdf | | Visualization | Interactive dashboard | .html |
Twin Generation:
Trajectory Modeling:
Treatment Effect:
| Trial Phase | Digital Twin Role | Benefit | |-------------|-------------------|---------| | Phase I | Safety prediction | De-risk dosing | | Phase II | Efficacy simulation | Go/no-go decisions | | Phase III | Virtual control arm | Smaller trials | | Post-marketing | Real-world outcomes | Safety monitoring |
| Agency | Status | Application | |--------|--------|-------------| | FDA | Guidance supportive | Acceptable with validation | | EMA | Qualified | Specific use cases approved | | PMDA | Under evaluation | Pilot programs |
| Validation Type | Method | Metric | |-----------------|--------|--------| | Temporal | Hold-out future data | RMSE, calibration | | External | Independent cohort | Generalization | | Subgroup | Demographic splits | Fairness | | Extreme | Edge cases | Robustness |
| Disease | Key Endpoints | Model Maturity | |---------|---------------|----------------| | Alzheimer's | ADAS-Cog, CDR | Advanced | | Oncology | PFS, OS, ORR | Advanced | | Cardiovascular | MACE, ejection fraction | Moderate | | Diabetes | HbA1c, complications | Moderate | | Multiple Sclerosis | EDSS, relapse rate | Emerging |
| Limitation | Impact | Mitigation | |------------|--------|------------| | Data Quality | Prediction accuracy | Data cleaning, imputation | | Rare Events | Underrepresentation | Transfer learning | | Novel Treatments | No historical data | Mechanism-based models | | Individual Variation | Uncertainty | Probabilistic models |
| Direction | Timeline | Impact | |-----------|----------|--------| | Real-time Twins | 3-5 years | Continuous monitoring | | Federated Twins | 2-3 years | Multi-site collaboration | | Causal Twins | Ongoing | True treatment effects | | Regulatory Integration | 5-7 years | Standard practice |
AI Group - Biomedical AI Platform
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 21,307 | 25,013 | +17% | 1 | 1 | 0% | 4,106 | 6,439 | +57% | 0 | 0 | — |
case-02 | fail→fail | 26,432 | 27,469 | +4% | 1 | 1 | 0% | 6,213 | 7,875 | +27% | 0 | 0 | — |
case-03 | pass→pass | 15,762 | 13,513 | -14% | 1 | 1 | 0% | 3,249 | 4,417 | +36% | 0 | 0 | — |
case-04 | pass→pass | 14,953 | 14,195 | -5% | 1 | 1 | 0% | 3,267 | 4,681 | +43% | 0 | 0 | — |
case-05 | pass→pass | 10,507 | 16,604 | +58% | 1 | 1 | 0% | 1,966 | 4,951 | +152% | 0 | 0 | — |
case-06 | fail→fail | 21,643 | 24,720 | +14% | 1 | 1 | 0% | 4,146 | 7,329 | +77% | 0 | 0 | — |
case-07 | fail→pass | 20,319 | 6,424 | -68% | 1 | 1 | 0% | 1,638 | 2,874 | +75% | 0 | 0 | — |
case-08 | fail→pass | 21,326 | 2,359 | -89% | 1 | 1 | 0% | 1,520 | 2,128 | +40% | 0 | 0 | — |
case-09 | fail→pass | 14,866 | 6,696 | -55% | 1 | 1 | 0% | 2,345 | 2,696 | +15% | 0 | 0 | — |
case-10 | fail→pass | 8,031 | 2,454 | -69% | 1 | 1 | 0% | 1,384 | 2,083 | +51% | 0 | 0 | — |
case-11 | fail→pass | 11,260 | 1,994 | -82% | 1 | 1 | 0% | 1,777 | 2,001 | +13% | 0 | 0 | — |
case-12 | fail→pass | 8,600 | 2,482 | -71% | 1 | 1 | 0% | 1,449 | 2,095 | +45% | 0 | 0 | — |
case-13 | fail→fail | 6,505 | 1,943 | -70% | 1 | 1 | 0% | 1,068 | 1,956 | +83% | 0 | 0 | — |
case-14 | fail→fail | 4,028 | 1,568 | -61% | 1 | 1 | 0% | 583 | 1,894 | +225% | 0 | 0 | — |
case-15 | fail→fail | 10,341 | 2,416 | -77% | 1 | 1 | 0% | 1,775 | 2,077 | +17% | 0 | 0 | — |
case-16 | pass→pass | 8,073 | 2,516 | -69% | 1 | 1 | 0% | 1,270 | 2,087 | +64% | 0 | 0 | — |
case-17 | fail→pass | 12,541 | 1,956 | -84% | 1 | 1 | 0% | 1,925 | 1,974 | +3% | 0 | 0 | — |
case-18 | pass→pass | 7,291 | 4,561 | -37% | 1 | 1 | 0% | 1,141 | 2,279 | +100% | 0 | 0 | — |
case-19 | pass→pass | 13,322 | 9,712 | -27% | 1 | 1 | 0% | 2,174 | 3,219 | +48% | 0 | 0 | — |
case-20 | pass→pass | 10,249 | 1,657 | -84% | 1 | 1 | 0% | 1,413 | 1,908 | +35% | 0 | 0 | — |
case-21 | pass→pass | 12,430 | 6,441 | -48% | 1 | 1 | 0% | 2,189 | 2,695 | +23% | 0 | 0 | — |
case-22 | pass→pass | 12,669 | 6,817 | -46% | 1 | 1 | 0% | 2,291 | 2,807 | +23% | 0 | 0 | — |
case-23 | pass→pass | 3,773 | 4,094 | +9% | 1 | 1 | 0% | 655 | 2,316 | +254% | 0 | 0 | — |
case-24 | fail→pass | 9,611 | 2,074 | -78% | 1 | 1 | 0% | 1,502 | 2,002 | +33% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted, and 23 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +33 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/26/2026 | — |
Other measured skills in the registry, with their headline benchmark lift.