xiaohongshu
xiaohongshu
---name: digital-twin-clinical-agent description: AI-powered patient digital twin creation for clinical trial simulation, treatment outcome prediction, and personalized medicine using real-world data and multi-omics integration. license: MIT metadata: author: AI Group version: "1.0.0" created: "2...
Full skill instructions
"
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.
Patient Digital Twin Creation: Build comprehensive patient models.
Clinical Trial Simulation: Predict trial outcomes virtually.
Treatment Response Prediction: Individualized response modeling.
Counterfactual Generation: "What-if" treatment scenarios.
Longitudinal Prediction: Forecast disease trajectories.
Trial Design Optimization: Reduce sample sizes, improve power.
| 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 |
Data Collection: Gather multi-modal patient data.
Twin Construction: Build integrated patient model.
Calibration: Fit twin to individual patient data.
Validation: Compare predictions to observations.
Simulation: Run treatment scenarios.
Prediction: Generate outcome forecasts.
Output: Digital twin model, predictions, uncertainties.
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:
python3 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 | |
| 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
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience