OpenClaw-Medical-Skills tumor-mutational-burden-agent

<!--

install
source · Clone the upstream repo
git clone https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tumor-mutational-burden-agent" ~/.claude/skills/freedomintelligence-openclaw-medical-skills-tumor-mutational-burden-agent && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/tumor-mutational-burden-agent" ~/.openclaw/skills/freedomintelligence-openclaw-medical-skills-tumor-mutational-burden-agent && rm -rf "$T"
manifest: skills/tumor-mutational-burden-agent/SKILL.md
source content
<!-- # COPYRIGHT NOTICE # This file is part of the "Universal Biomedical Skills" project. # Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu> # All Rights Reserved. # # This code is proprietary and confidential. # Unauthorized copying of this file, via any medium is strictly prohibited. # # Provenance: Authenticated by MD BABU MIA -->

name: 'tumor-mutational-burden-agent' description: 'Calculates and harmonizes Tumor Mutational Burden (TMB) across platforms to predict immunotherapy response.' keywords:

  • tmb
  • immunotherapy
  • biomarker
  • harmonization
  • oncology measurable_outcome: 'Harmonizes TMB scores across 5+ assay platforms with <5% variance from WES gold standard.' allowed-tools:
  • read_file
  • run_shell_command

Tumor Mutational Burden Agent

The Tumor Mutational Burden Agent provides comprehensive TMB analysis for immunotherapy response prediction. It harmonizes TMB calculation across different assays, integrates with other biomarkers (PD-L1, MSI), and provides evidence-based therapy recommendations.

When to Use This Skill

  • When calculating TMB from panel sequencing, WES, or WGS data.
  • To harmonize TMB values across different assay platforms.
  • For predicting immunotherapy response using TMB and integrated biomarkers.
  • When determining TMB-High status for pembrolizumab eligibility.
  • To analyze TMB in context of tumor type-specific distributions.

Core Capabilities

  1. TMB Calculation: Compute TMB from different sequencing platforms with appropriate normalization.

  2. Platform Harmonization: Standardize TMB across FoundationOne, MSK-IMPACT, WES, and other assays.

  3. TMB-High Classification: Apply FDA-approved and tumor-specific thresholds.

  4. Biomarker Integration: Combine TMB with PD-L1, MSI, and gene signatures.

  5. Response Prediction: ML models predicting ICI response from TMB-inclusive features.

  6. Tumor-Specific Context: Interpret TMB relative to cancer type distributions.

TMB Calculation Methods

PlatformCoverageTMB FormulaNormalization
WES30-50 MbNonsynonymous/coding MbPer exome size
FoundationOne1.1 MbSyn + nonsyn/panel MbFDA validated
MSK-IMPACT1.0-1.2 MbNonsyn + splice/panel MbPanel-specific
TSO5001.94 MbCoding mutations/MbIllumina validated
WGS3 GbVarious metricsGenome-wide

TMB Thresholds

ContextThresholdEvidence
FDA (pan-tumor)≥10 mut/MbKEYNOTE-158
Melanoma≥10 mut/MbPractice standard
NSCLC≥10 mut/MbMultiple trials
SCLC≥10 mut/MbVariable benefit
Colorectal (MSS)Limited utilityMSI more predictive
Urothelial≥10 mut/MbIMvigor trials

Workflow

  1. Input: VCF/MAF file with somatic mutations, assay details, tumor type.

  2. Filtering: Remove germline, artifacts, known drivers (optional).

  3. Calculation: Count mutations and normalize to coverage.

  4. Harmonization: Convert to WES-equivalent TMB if needed.

  5. Classification: Assign TMB-High/Low based on thresholds.

  6. Integration: Combine with PD-L1, MSI for composite score.

  7. Output: TMB value, classification, response prediction, recommendations.

Example Usage

User: "Calculate TMB from this panel sequencing data and predict immunotherapy response."

Agent Action:

python3 Skills/Oncology/Tumor_Mutational_Burden_Agent/tmb_analyzer.py \
    --mutations tumor_somatic.maf \
    --panel foundation_one \
    --tumor_type nsclc \
    --pdl1_tps 50 \
    --msi_status stable \
    --harmonize_to wes \
    --output tmb_report.json

Platform Harmonization

Different panels yield different TMB values for the same tumor:

TMB_WES = a * TMB_panel + b

Conversion factors (example):
- FoundationOne CDx: TMB_WES ≈ 1.0 × TMB_F1
- MSK-IMPACT: TMB_WES ≈ 1.1 × TMB_IMPACT
- TSO500: TMB_WES ≈ 0.9 × TMB_TSO

Harmonization Considerations:

  • Panel size affects precision
  • Gene content affects which mutations counted
  • Algorithmic differences in filtering

Integrated Biomarker Analysis

TMB + PD-L1 + MSI Integration:

TMBPD-L1MSIICI Benefit
HighHighMSI-HVery high
HighLowMSSModerate-high
LowHighMSSModerate
LowLowMSSLimited
AnyAnyMSI-HHigh (pembrolizumab)

Cancer Type TMB Distributions

Cancer TypeMedian TMBTMB-High %
Melanoma13.545%
NSCLC7.225%
SCLC9.835%
Bladder6.520%
Colorectal4.05% (MSS)
Breast2.55%
Prostate2.03%

AI/ML Enhancement

Response Prediction Model:

  • Features: TMB, PD-L1, MSI, gene expression signatures
  • Additional: Clonal vs subclonal TMB, driver mutations
  • Performance: AUC 0.70-0.80 across tumor types

TMB Components Analysis:

  • Clonal TMB: Mutations in all cells
  • Subclonal TMB: Mutations in subpopulations
  • Clonal TMB more predictive of response

Prerequisites

  • Python 3.10+
  • Variant annotation tools
  • Panel BED files for coverage
  • Reference mutation databases

Related Skills

  • Variant_Annotation - For mutation calling
  • Liquid_Biopsy_Analytics_Agent - For blood-based TMB
  • Immune_Checkpoint_Combination_Agent - For ICI selection

Clinical Decision Support

  1. TMB-H Pembrolizumab: FDA-approved pan-tumor indication
  2. TMB + PD-L1: Combined scoring for NSCLC
  3. TMB Monitoring: Track under immunotherapy
  4. TMB Heterogeneity: Consider multiple samples

Author

AI Group - Biomedical AI Platform

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->