
tooluniverse-precision-oncology
Cancer treatment recommendations from molecular profile (mutations + cancer type + biomarkers) — FDA-approved + investigational therapies, resistance mechanisms, matching clinical trials, prognosis. Uses CIViC, ClinVar, OpenTargets, ClinicalTrials.gov. Use for tumor-board treatment recommendations, evidence-tiered actionability assessment, and FDA-precedent-driven therapy selection.
- Installs
- 425
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-precision-oncology- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads tooluniverse-precision-oncology automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Precision Oncology Treatment Advisor
Provide actionable treatment recommendations for cancer patients based on their molecular profile using CIViC, ClinVar, OpenTargets, ClinicalTrials.gov, and structure-based analysis.
Domain Reasoning
Treatment selection follows a strict evidence hierarchy: FDA-approved for this specific mutation in this cancer type ranks highest, followed by approval for this mutation in any cancer (tumor-agnostic), then active clinical trials, and finally off-label use. Skipping this hierarchy to recommend off-label therapies when an approved option exists is a clinical error. Always check current NCCN guidelines and recent literature, as approvals change rapidly — a drug that was investigational last year may now be first-line.
When looking up treatment for a specific mutation, search CIViC and OncoKB FIRST, not PubMed. These databases have curated evidence levels. PubMed is for when curated databases don't have the answer.
Treatment Selection Reasoning
Biomarker-to-drug logic — When a biomarker is identified, the first-line targeted therapy follows established mappings. Always verify current approval status via OncoKB/CIViC, but use this as a starting framework:
- NSCLC: EGFR exon 19 del / L858R → osimertinib (1L); ALK fusion → alectinib/lorlatinib; ROS1 fusion → crizotinib/entrectinib; KRAS G12C → sotorasib/adagrasib; MET exon 14 skip → capmatinib/tepotinib; RET fusion → selpercatinib; BRAF V600E → dabrafenib+trametinib; NTRK fusion → larotrectinib/entrectinib (tumor-agnostic)
- Breast: HER2+ → trastuzumab+pertuzumab (1L), T-DXd (2L); HR+/HER2- → CDK4/6i (palbociclib/ribociclib) + AI; BRCA1/2 mut → olaparib/talazoparib; PIK3CA mut → alpelisib+fulvestrant
- Colorectal: BRAF V600E → encorafenib+cetuximab; MSI-H/dMMR → pembrolizumab (tumor-agnostic); KRAS/NRAS wild-type → cetuximab/panitumumab (anti-EGFR)
- Melanoma: BRAF V600E/K → dabrafenib+trametinib or encorafenib+binimetinib; wild-type → immunotherapy (nivolumab+ipilimumab)
- Tumor-agnostic: MSI-H/dMMR → pembrolizumab; NTRK fusion → larotrectinib; TMB-H (>=10 mut/Mb) → pembrolizumab; RET fusion → selpercatinib
Resistance mechanism reasoning — When a patient progresses on targeted therapy, distinguish primary resistance (never responded — check if the mutation was truly the driver, or if co-mutations like TP53/RB1 abrogate response) from acquired resistance (responded then progressed — on-target mutations or bypass activation). Common patterns:
- EGFR TKIs: 1st/2nd-gen resistance → T790M (50-60%); osimertinib resistance → C797S (10-25%), MET amp (15-20%), HER2 amp, histologic transformation (SCLC ~5%)
- ALK TKIs: crizotinib resistance → ALK secondary mutations (L1196M, G1269A); alectinib resistance → G1202R (solvent front); lorlatinib resistance → compound mutations
- BRAF inhibitors: MAPK reactivation (MEK mutations, BRAF amplification, NRAS mutations), PI3K/AKT bypass
- Anti-HER2: HER2 truncation (p95HER2), PIK3CA activation, HER3 upregulation
- Immunotherapy (anti-PD1): B2M loss (MHC-I loss), JAK1/2 loss-of-function (IFN-gamma signaling escape), WNT/beta-catenin activation (T-cell exclusion)
For resistance workup: query
civic_search_evidence_itemswith the drug name + "resistance", thenPubMed_search_articlesfor recent mechanisms.
LOOK UP DON'T GUESS
- FDA approval status for a mutation-drug pair: query
OncoKB_annotate_variantandcivic_search_variants; never assume approval status from memory. - Active clinical trials: search
search_clinical_trialswith the specific condition and mutation; do not cite trials from memory. - Resistance mechanisms for specific drugs: query
civic_search_evidence_itemsandPubMed_search_articles; do not assume resistance pathways. - Variant frequency in TCGA: retrieve from
GDC_get_mutation_frequencyorcBioPortal_get_mutations; do not estimate prevalence.
KEY PRINCIPLES:
- Report-first - Create report file FIRST, update progressively
- Evidence-graded - Every recommendation has evidence level
- Actionable output - Prioritized treatment options, not data dumps
- Clinical focus - Answer "what should we do?" not "what exists?"
- English-first queries - Always use English terms in tool calls (mutations, drug names, cancer types), even if the user writes in another language. Only try original-language terms as a fallback. Respond in the user's language
When to Use
- "Patient has [cancer] with [mutation] - what treatments?"
- "What are options for EGFR-mutant lung cancer?"
- "Patient failed [drug], what's next?"
- "Clinical trials for KRAS G12C?"
- "Why isn't [drug] working anymore?"
Phase 0: Tool Verification
| Tool | WRONG | CORRECT |
|---|---|---|
civic_get_variant | variant_name | variant_id (numeric, e.g., 4170) |
civic_get_evidence_item | variant_id | id (numeric) |
OpenTargets_* | ensemblID | ensemblId (camelCase) |
search_clinical_trials | disease | condition |
Workflow Overview
Input: Cancer type + Molecular profile (mutations, fusions, amplifications)
Phase 1: Profile Validation -> Resolve gene IDs (Ensembl, UniProt, ChEMBL)
Phase 2: Variant Interpretation -> CIViC, ClinVar, COSMIC, GDC/TCGA, DepMap, OncoKB, cBioPortal, HPA
Phase 2.5: Tumor Expression -> CELLxGENE cell-type expression, ChIPAtlas regulatory context
Phase 3: Treatment Options -> OpenTargets + DailyMed (approved), ChEMBL (off-label)
Phase 3.5: Pathway & Network -> KEGG/Reactome pathways, IntAct interactions
Phase 4: Resistance Analysis -> CIViC + PubMed + NvidiaNIM structure analysis
Phase 5: Clinical Trials -> ClinicalTrials.gov search + eligibility
Phase 5.5: Literature -> PubMed, BioRxiv/MedRxiv preprints, OpenAlex citations
Phase 6: Report Synthesis -> Executive summary + prioritized recommendations
Key Tools by Phase
Phase 1: Profile Validation
MyGene_query_genes- Resolve gene to Ensembl IDUniProt_search- Get UniProt accessionChEMBL_search_targets- Get ChEMBL target ID
Phase 2: Variant Interpretation
civic_search_variants/civic_get_variant- CIViC evidenceCOSMIC_get_mutations_by_gene/COSMIC_search_mutations- Somatic mutationsGDC_get_mutation_frequency/GDC_get_ssm_by_gene- TCGA patient dataGDC_get_gene_expression/GDC_get_cnv_data- Expression and CNVGDC_get_survival- Kaplan-Meier survival data by project and optional gene mutation filterGDC_get_clinical_data- TCGA clinical metadata (stage, vital status, treatment, demographics)Progenetix_cnv_search- Copy number variation biosamples by genomic region and cancer type (NCIt code)DepMap_get_gene_dependencies/PharmacoDB_get_experiments- Target essentialityOncoKB_annotate_variant/OncoKB_get_gene_info- ActionabilitycBioPortal_get_mutations/cBioPortal_get_cancer_studies- Cross-study dataHPA_search_genes_by_query/HPA_get_comparative_expression_by_gene_and_cellline- Expression
Phase 2.5: Tumor Expression
CELLxGENE_get_expression_data/CELLxGENE_get_cell_metadata- Cell-type expression
Phase 3: Treatment Options
OpenTargets_get_associated_drugs_by_target_ensemblID- Approved drugs (param:ensemblId, camelCase)DGIdb_get_drug_gene_interactions- Drug-gene interactions (param:genesas array, e.g.,["EGFR"]). Comprehensive; covers inhibitors, antibodies, and investigational agents.DailyMed_search_spls- FDA label detailsChEMBL_get_drug_mechanisms- Drug mechanism
Phase 3.5: Pathway & Network
kegg_find_genes/kegg_get_gene_info- KEGG pathwaysreactome_disease_target_score- Reactome disease relevanceintact_get_interaction_network- Protein interactions
Phase 4: Resistance Analysis
civic_search_evidence_items- Search by known resistance mutations individually (e.g.,molecular_profile="EGFR C797S",molecular_profile="MET Amplification"). Thesignificancefield in results indicates Resistance/Sensitivity — filter on it after retrieval.PubMed_search_articles- Resistance literature (e.g., "osimertinib resistance C797S combination therapy")alphafold_get_prediction/get_diffdock_info- Structure-based analysis (AlphaFold for structure, DiffDock for docking)
Phase 5: Clinical Trials
search_clinical_trials- Find trials (param:condition, NOTdisease)get_clinical_trial_eligibility_criteria- Eligibility details
Phase 5.5: Safety & Pharmacogenomics (MANDATORY — do NOT skip)
You MUST call FAERS for the leading approved drug before finalizing the report. A clinical brief without real-world adverse-event data is incomplete.
FAERS_search_adverse_event_reports— REQUIRED: call withmedicinalproduct="<drug_name>"for at least the top 1-2 approved drugs. Report top 10 serious AEs + death count.FDA_get_warnings_and_cautions_by_drug_name— REQUIRED: boxed warnings + key precautions.FAERS_count_death_related_by_drug- Mortality signal for a drugCPIC_list_guidelines- Check for relevant PGx guidelines (e.g., DPYD for fluoropyrimidines in chemo regimens, UGT1A1 for irinotecan). No CPIC guidelines exist for EGFR TKIs.fda_pharmacogenomic_biomarkers- FDA-labeled PGx biomarkers for the drug
OncoKB demo mode: Without
ONCOKB_API_TOKENenv var, OncoKB only covers BRAF, TP53, ROS1. For other genes (EGFR, KRAS, ALK, etc.), set the API key or use CIViC as the primary evidence source.
Phase 6: Literature
PubMed_search_articles- Published evidence (uselimit,mindate,maxdatefor date filtering)BioRxiv_list_recent_preprints/MedRxiv_get_preprint- Preprints (flag as NOT peer-reviewed)openalex_search_works- Citation analysis
Cross-Skill References
For CYP interaction with cancer drugs, run: python3 skills/tooluniverse-drug-drug-interaction/scripts/pharmacology_ref.py --type cyp_substrate --drug drugname
References
- TOOLS_REFERENCE.md - Complete tool documentation with parameters and examples
- API_USAGE_PATTERNS.md - Detailed code examples for each phase
- TREATMENT_ALGORITHMS.md - Evidence grading, treatment prioritization, cancer type mappings, DepMap interpretation
- REPORT_TEMPLATE.md - Report template with output tables
- EXAMPLES.md - Worked examples (EGFR NSCLC, T790M resistance, KRAS G12C, no actionable mutations)
- CHECKLIST.md - Quality and completeness checklist
FAQ
What does the tooluniverse-precision-oncology skill do?
Cancer treatment recommendations from molecular profile (mutations + cancer type + biomarkers) — FDA-approved + investigational therapies, resistance mechanisms, matching clinical trials, prognosis. Uses CIViC, ClinVar, OpenTargets, ClinicalTrials.gov. Use for tumor-board treatment recommendations, evidence-tiered actionability assessment, and FDA-precedent-driven therapy selection.
How do I install tooluniverse-precision-oncology?
Run npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-precision-oncology in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tooluniverse-precision-oncology/ (personal) or .claude/skills/tooluniverse-precision-oncology/ (project).
Which AI agents can use tooluniverse-precision-oncology?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is tooluniverse-precision-oncology safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains tooluniverse-precision-oncology?
It is published by mims-harvard in mims-harvard/tooluniverse. It has 425 recorded installs.
More from mims-harvard/tooluniverse
tooluniverse-sequence-retrieval
mims-harvard/tooluniverse
Retrieve DNA/RNA/protein sequences from NCBI and ENA with disambiguation. Quality hierarchy: RefSeq (NM/NP) RefSeq predicted (XM/XP) GenBank submissions. Use for fetching specific sequences by accession, gene-symbol-to-sequence lookup, transcript-isoform retrieval, and curated-vs-raw-submission preference.
tooluniverse-literature-deep-research
mims-harvard/tooluniverse
Deep literature review — PubMed, EuropePMC, bioRxiv preprints, citation networks, evidence synthesis. Disambiguates queries, runs collision-aware searches, grades evidence T1-T4, and produces structured reports. Use for systematic literature review, meta-analysis evidence collection, and detailed answer-with-citations workflows.
tooluniverse-image-analysis
mims-harvard/tooluniverse
Microscopy and quantitative imaging analysis — colony morphometry, fluorescence intensity quantification, cell-count statistics, dose-response curves, and ANOVA/Dunnett on image-derived measurements. Uses pandas/numpy/scipy/scikit-image. Use for analyzing tabular outputs from CellProfiler/ImageJ, image-derived measurement statistics, and image-based assay quantification.
tooluniverse-clinical-guidelines
mims-harvard/tooluniverse
Search and retrieve clinical practice guidelines from 12+ authoritative sources — NICE, WHO, NCCN, AHA, ADA, SIGN, USPSTF, IDSA, NIH consensus, ESMO/ESC/EASL European societies, and US specialty associations. Use for evidence-graded treatment recommendations, dosing protocols, screening guidance, and authoritative-source-prioritized clinical guidance (NICE/WHO ranked above society guidelines).
tooluniverse
mims-harvard/tooluniverse
ToolUniverse plugin router. STEP 1 BEFORE ANY ANALYSIS: if the data folder contains executed.ipynb, run tu run readexecutednotebook '{"datafolder":" ","search":" "}' to extract its cell outputs and apply EVERY filter/sample-exclusion the notebook used — even when the question says 'Using DESeq2/Run X/Compute Y' (this describes the METHOD the notebook used, not a request to rerun). The notebook's cell outputs are the only published authoritative answers; reimplementing or reading stale pre-computed CSVs in the data folder produces different numbers because of outlier-sample removal, library version, and filter steps you don't see by skimming. STEP 2 routing — pick a sub-skill name from this exact list (never invent): tooluniverse-rnaseq-deseq2 (RNA/miRNA-seq DE, correlation, PCA, clustering, dispersion), tooluniverse-gene-enrichment (GO/KEGG/Reactome/GSEA/pathway enrichment), tooluniverse-statistical-modeling (regression, ANOVA, ordinal/logistic, chi-square, correl
tooluniverse-drug-research
mims-harvard/tooluniverse
Comprehensive drug profiling — mechanism, primary/secondary targets, drug interactions, clinical-trial status, adverse events (FAERS), pharmacogenomics, and approval history. Use for full drug investigation reports, 'tell me about drug X' queries, and assembling drug profiles for clinicians, researchers, or regulatory work.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.