Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI-powered T-cell receptor repertoire analysis for cancer diagnosis, immunotherapy response prediction, and therapeutic TCR selection using deep learning and multi-layer ML approaches.
.claude/skills/tcr-repertoire-analysis-agent/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 73% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 51% | 0% |
<!--
#
#
-->
The TCR Repertoire Analysis Agent provides comprehensive T-cell receptor repertoire analysis for cancer immunology applications. It leverages deep learning and multi-layer machine learning approaches to analyze TCR diversity, predict immunotherapy response, identify tumor-reactive TCRs, and support therapeutic TCR selection for cancer immunotherapy.
| Metric | Definition | Clinical Significance | |--------|------------|----------------------| | Clonality | Gini coefficient of clone sizes | Immune focusing | | Shannon Entropy | Diversity measure | Immune breadth | | Richness | Unique clonotypes | Repertoire depth | | Top Clone % | Largest clone fraction | Dominant response | | Convergent TCRs | Shared across patients | Public epitope response | | Tumor-Infiltrating % | TIL-derived TCRs | Tumor reactivity |
User: "Analyze the TCR repertoire from this melanoma patient's tumor and blood to predict immunotherapy response and identify tumor-reactive TCRs."
Agent Action:
bashpython3 Skills/Immunology_Vaccines/TCR_Repertoire_Analysis_Agent/tcr_repertoire_analysis.py \ --tumor_tcr tumor_tils.tsv \ --blood_tcr pbmc_tcrs.tsv \ --cancer_type melanoma \ --hla_type HLA-A*02:01,HLA-B*07:02 \ --neoantigens patient_neoantigens.fasta \ --task response_prediction,tcr_identification \ --output tcr_analysis/
| Format | Source | Fields | |--------|--------|--------| | AIRR-seq | Standardized | CDR3, V/J genes, count | | MiXCR | MiXCR pipeline | Clone info, counts | | 10x VDJ | Single-cell | CDR3, cell barcode | | Custom TSV | Any pipeline | Flexible mapping |
| Output | Description | Format | |--------|-------------|--------| | Repertoire Metrics | Diversity scores | .json | | Response Prediction | Immunotherapy probability | .json | | Cancer Classification | Type/stage prediction | .json | | Tumor-Reactive TCRs | Ranked candidates | .csv | | TCR-pMHC Predictions | Epitope specificity | .csv | | Clonal Tracking | Dynamics over time | .csv | | Visualizations | Repertoire plots | .png, .pdf |
| Feature Category | Features | Importance | |------------------|----------|------------| | Diversity | Shannon, Gini, richness | High | | Clonality | Top clones, expansion | High | | Convergence | Public TCRs, sharing | Moderate | | Sequence Features | CDR3 length, motifs | Moderate | | TIL Characteristics | TIL fraction, phenotype | High |
Cancer Classification:
Response Prediction:
TCR-pMHC Prediction:
| Application | TCR Biomarker | Clinical Utility | |-------------|---------------|------------------| | Diagnosis | Cancer-specific TCRs | Early detection | | Staging | Clonality patterns | Disease extent | | Prognosis | Intratumoral diversity | Survival prediction | | Response | Baseline clonality | IO response | | Monitoring | Clone dynamics | Treatment tracking | | Therapy | Tumor-reactive TCRs | TCR-T development |
| Task | Dataset | Performance | |------|---------|-------------| | Cancer vs Normal | Digestive cancers | AUC 0.91 | | Metastasis Detection | CRC | AUC 0.85 | | IO Response | Melanoma | AUC 0.78 | | TCR-pMHC Prediction | IEDB benchmark | AUC 0.82 |
| CDR3 Feature | Analysis | Meaning | |--------------|----------|---------| | Length Distribution | Histogram | V(D)J usage | | Amino Acid Usage | Positional frequency | Binding properties | | Hydrophobicity | CDR3 profile | MHC interaction | | Charge | Net charge | Peptide binding | | Motif Enrichment | k-mer analysis | Epitope specificity |
| Criterion | Threshold | Rationale | |-----------|-----------|-----------| | Tumor Enrichment | >10-fold vs blood | Tumor specificity | | Clone Size | Top 1% in tumor | Functional expansion | | Neoantigen Binding | Predicted positive | Target specificity | | Safety (Cross-react) | No self-peptide hits | Safety | | HLA Restriction | Common alleles | Broad applicability |
| Cancer Type | Key TCR Features | Public TCRs | |-------------|------------------|-------------| | Melanoma | High clonality, MAA-reactive | Yes | | NSCLC | Moderate diversity | Limited | | CRC-MSI | Neoantigen-reactive | Variable | | HPV+ HNSCC | HPV-E6/E7 reactive | Yes |
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-03 | fail→fail | 9,307 | 7,967 | -14% | 1 | 1 | 0% | 1,846 | 3,271 | +77% | 0 | 0 | — |
case-20 | fail→fail | 14,081 | 22,842 | +62% | 1 | 1 | 0% | 2,527 | 5,815 | +130% | 0 | 0 | — |
case-21 | fail→fail | 19,288 | 14,709 | -24% | 1 | 1 | 0% | 4,306 | 4,983 | +16% | 0 | 0 | — |
case-22 | fail→fail | 21,657 | 24,763 | +14% | 1 | 1 | 0% | 3,846 | 6,347 | +65% | 0 | 0 | — |
case-02 | fail→fail | 15,467 | 31,516 | +104% | 1 | 1 | 0% | 2,826 | 7,913 | +180% | 0 | 0 | — |
case-09 | fail→pass | 15,659 | 2,973 | -81% | 1 | 1 | 0% | 2,633 | 2,346 | -11% | 0 | 0 | — |
case-01 | fail→fail | 19,626 | 4,842 | -75% | 1 | 1 | 0% | 4,157 | 2,107 | -49% | 0 | 0 | — |
case-04 | pass→pass | 15,121 | 8,438 | -44% | 1 | 1 | 0% | 2,776 | 3,331 | +20% | 0 | 0 | — |
case-05 | fail→pass | 16,067 | 9,525 | -41% | 1 | 1 | 0% | 2,741 | 3,374 | +23% | 0 | 0 | — |
case-06 | fail→pass | 20,320 | 21,278 | +5% | 1 | 1 | 0% | 3,515 | 6,097 | +73% | 0 | 0 | — |
case-07 | fail→pass | 15,206 | 4,149 | -73% | 1 | 1 | 0% | 2,661 | 2,680 | +1% | 0 | 0 | — |
case-08 | fail→pass | 21,016 | 21,619 | +3% | 1 | 1 | 0% | 3,526 | 5,339 | +51% | 0 | 0 | — |
case-10 | fail→pass | 12,777 | 2,878 | -77% | 1 | 1 | 0% | 2,246 | 2,338 | +4% | 0 | 0 | — |
case-11 | pass→pass | 15,033 | 12,659 | -16% | 1 | 1 | 0% | 2,713 | 4,362 | +61% | 0 | 0 | — |
case-12 | pass→pass | 4,434 | 4,676 | +5% | 1 | 1 | 0% | 736 | 2,591 | +252% | 0 | 0 | — |
case-13 | pass→pass | 17,463 | 17,387 | -0% | 1 | 1 | 0% | 3,193 | 4,996 | +56% | 0 | 0 | — |
case-14 | pass→pass | 11,973 | 9,865 | -18% | 1 | 1 | 0% | 2,056 | 3,636 | +77% | 0 | 0 | — |
case-15 | pass→pass | 16,229 | 11,811 | -27% | 1 | 1 | 0% | 2,572 | 3,811 | +48% | 0 | 0 | — |
case-16 | fail→pass | 8,076 | 6,006 | -26% | 1 | 1 | 0% | 1,402 | 2,833 | +102% | 0 | 0 | — |
case-17 | pass→pass | 7,996 | 5,630 | -30% | 1 | 1 | 0% | 1,394 | 2,691 | +93% | 0 | 0 | — |
case-18 | pass→pass | 11,991 | 8,227 | -31% | 1 | 1 | 0% | 2,093 | 3,204 | +53% | 0 | 0 | — |
case-19 | fail→pass | 13,837 | 3,559 | -74% | 1 | 1 | 0% | 2,563 | 2,486 | -3% | 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. 22 cases were attempted, and 21 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 +36 percentage points is the difference between those two pass rates over the 21 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 | +43% |
Other measured skills in the registry, with their headline benchmark lift.