tooluniverse-clinical-trial-matching
AI-driven patient-to-trial matching for precision oncology and rare-disease care. Transforms a patient's molecular profile (mutations, biomarkers, expression) and clinical state into ranked clinical-trial recommendations with evidence tiers. Searches ClinicalTrials.gov plus cross-references CIViC, OpenTargets, ChEMBL, and FDA labels. Use for matching patients to trials by genotype, biomarker-driven trial selection, and trial-eligibility scoring.
What this skill does
# Clinical Trial Matching for Precision Medicine Transform patient molecular profiles and clinical characteristics into prioritized clinical trial recommendations. Searches ClinicalTrials.gov and cross-references with molecular databases (CIViC, OpenTargets, ChEMBL, FDA) to produce evidence-graded, scored trial matches. **KEY PRINCIPLES**: 1. **Report-first approach** - Create report file FIRST, then populate progressively 2. **Patient-centric** - Every recommendation considers the individual patient's profile 3. **Molecular-first matching** - Prioritize trials targeting patient's specific biomarkers ## Molecular Matching Priority Match patients to trials by molecular profile FIRST (specific mutations), then by disease stage, then by prior treatments. A patient with EGFR L858R should match to EGFR-targeted trials regardless of other factors. 4. **Evidence-graded** - Every recommendation has an evidence tier (T1-T4) 5. **Quantitative scoring** - Trial Match Score (0-100) for every trial 6. **Eligibility-aware** - Parse and evaluate inclusion/exclusion criteria 7. **Actionable output** - Clear next steps, contact info, enrollment status 8. **Source-referenced** - Every statement cites the tool/database source 9. **Completeness checklist** - Mandatory section showing analysis coverage 10. **English-first queries** - Always use English terms in tool calls. Respond in user's language ## LOOK UP, DON'T GUESS When uncertain about any scientific fact, SEARCH databases first rather than reasoning from memory. A database-verified answer is always more reliable than a guess. --- ## COMPUTE, DON'T DESCRIBE When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it. ## When to Use Apply when user asks: - "What clinical trials are available for my NSCLC with EGFR L858R?" - "Patient has BRAF V600E melanoma, failed ipilimumab - what trials?" - "Find basket trials for NTRK fusion" - "Breast cancer with HER2 amplification, post-CDK4/6 inhibitor trials" - "KRAS G12C colorectal cancer clinical trials" - "Immunotherapy trials for TMB-high solid tumors" - "Clinical trials near Boston for lung cancer" - "What are my options after failing osimertinib for EGFR+ NSCLC?" **NOT for** (use other skills instead): - Single variant interpretation without trial focus -> Use `tooluniverse-cancer-variant-interpretation` - Drug safety profiling -> Use `tooluniverse-adverse-event-detection` - Target validation -> Use `tooluniverse-drug-target-validation` - General disease research -> Use `tooluniverse-disease-research` --- ## Input Parsing ### Required Input - **Disease/cancer type**: Free-text disease name (e.g., "non-small cell lung cancer", "melanoma") ### Strongly Recommended - **Molecular alterations**: One or more biomarkers (e.g., "EGFR L858R", "KRAS G12C", "PD-L1 50%", "TMB-high") - **Stage/grade**: Disease stage (e.g., "Stage IV", "metastatic", "locally advanced") - **Prior treatments**: Previous therapies and outcomes (e.g., "failed platinum chemotherapy", "progressed on osimertinib") ### Optional - **Performance status**: ECOG or Karnofsky score - **Geographic location**: City/state for proximity filtering - **Trial phase preference**: I, II, III, IV, or "any" - **Intervention type**: drug, biological, device, etc. - **Recruiting status preference**: recruiting, not yet recruiting, active For biomarker parsing rules and gene symbol normalization, see [MATCHING_ALGORITHMS.md](./MATCHING_ALGORITHMS.md). --- ## Workflow Overview ``` Input: Patient profile (disease + biomarkers + stage + prior treatments) Phase 1: Patient Profile Standardization - Resolve disease to EFO/ontology IDs (OpenTargets, OLS) - Parse molecular alterations to gene + variant - Resolve gene symbols to Ensembl/Entrez IDs (MyGene) - Classify biomarker actionability (FDA-approved vs investigational) Phase 2: Broad Trial Discovery - Disease-based trial search (ClinicalTrials.gov) - Biomarker-specific trial search - Intervention-based search (for known drugs targeting patient's biomarkers) - Deduplicate and collect NCT IDs Phase 3: Trial Characterization (batch, groups of 10) - Eligibility criteria, conditions/interventions, locations, status, descriptions Phase 4: Molecular Eligibility Matching - Parse eligibility text for biomarker requirements - Match patient's molecular profile to trial requirements - Score molecular eligibility (0-40 points) Phase 5: Drug-Biomarker Alignment - Identify trial intervention drugs and mechanisms (OpenTargets, ChEMBL) - FDA approval status for biomarker-drug combinations - Classify drugs (targeted therapy, immunotherapy, chemotherapy) Phase 6: Evidence Assessment - FDA-approved biomarker-drug combinations - Clinical trial results (PubMed), CIViC evidence, PharmGKB - Evidence tier classification (T1-T4) Phase 7: Geographic & Feasibility Analysis - Trial site locations, enrollment status, proximity scoring Phase 8: Alternative Options - Basket trials, expanded access, related studies Phase 9: Scoring & Ranking (0-100 composite score) - Tier classification: Optimal (80-100) / Good (60-79) / Possible (40-59) / Exploratory (0-39) Phase 10: Report Synthesis - Executive summary, ranked trial list, evidence grading, completeness checklist ``` --- ## Critical Tool Parameters ### Clinical Trial Search Tools | Tool | Key Parameters | Notes | |------|---------------|-------| | `search_clinical_trials` | `query_term` (REQ), `condition`, `intervention`, `pageSize` | Main search | | `search_clinical_trials` | `action="search_studies"` (REQ), `condition`, `intervention`, `limit` | Alternative search | | `get_clinical_trial_descriptions` | `action="get_study_details"` (REQ), `nct_id` (REQ) | Full trial details | ### Batch Trial Detail Tools (all take `nct_ids` array) | Tool | Second Required Param | Returns | |------|----------------------|---------| | `get_clinical_trial_eligibility_criteria` | `eligibility_criteria="all"` | Eligibility text | | `get_clinical_trial_locations` | `location="all"` | Site locations | | `get_clinical_trial_conditions_and_interventions` | `condition_and_intervention="all"` | Arms/interventions | | `get_clinical_trial_status_and_dates` | `status_and_date="all"` | Status/dates | | `get_clinical_trial_descriptions` | `description_type="brief"` or `"full"` | Titles/summaries | | `get_clinical_trial_outcome_measures` | `outcome_measures="all"` | Outcomes | ### Gene/Disease Resolution | Tool | Key Parameters | |------|---------------| | `MyGene_query_genes` | `query`, `species` | | `OpenTargets_get_disease_id_description_by_name` | `diseaseName` | | `OpenTargets_get_target_id_description_by_name` | `targetName` | | `ols_search_efo_terms` | `query`, `limit` | ### Drug Information | Tool | Key Parameters | Notes | |------|---------------|-------| | `OpenTargets_get_drug_id_description_by_name` | `drugName` | Resolve drug to ChEMBL ID | | `OpenTargets_get_drug_mechanisms_of_action_by_chemblId` | `chemblId` | Drug MoA and targets | | `OpenTargets_get_associated_drugs_by_target_ensemblID` | `ensemblId`, `size` | Drugs for a target | | `drugbank_get_targets_by_drug_name_or_drugbank_id` | `query`, `case_sensitive`, `exact_match`, `limit` (ALL REQ) | Drug targets | | `fda_pharmacogenomic_biomarkers` | (none) | FDA biomarker-drug list | | `FDA_get_indications_by_drug_name` | `drug_name`, `limit` | FDA indications | ### Evidence Tools | Tool | Key Parameters | |------|---------------| | `PubMed_search_articles` | `query`, `max_results` | | `civic_get_variants_by_gene` | `gene_id` (CIViC int ID), `limit` | | `PharmGKB_search_genes` | `query` | ### Known CIViC Gene IDs EGFR=19, BRAF=5, ALK=1, ABL1=4, KRAS=30, TP53=45, ERBB2=20, NTRK1=197, NTRK2=560, NTRK3=
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.