Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI-powered TCR-peptide-MHC interaction prediction using AlphaFold3 and deep learning for therapeutic TCR discovery, neoantigen validation, and T cell immunogenicity assessment.
.claude/skills/tcr-pmhc-prediction-agent/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 55% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 34% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 108% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 28% | 0% |
<!--
#
#
-->
The TCR-pMHC Prediction Agent predicts T-cell receptor interactions with peptide-MHC complexes using AlphaFold3-based structural modeling and deep learning. Accurate TCR-pMHC prediction enables therapeutic TCR discovery, neoantigen vaccine validation, and identification of immunogenic epitopes for cancer and infectious disease applications.
| Approach | Method | Strengths | |----------|--------|-----------| | AlphaFold3 | Structure prediction | High accuracy, interpretable | | TCR-BERT | Sequence transformer | Fast, large-scale | | ERGO-II | RNN-based | Established benchmark | | pMTnet | Multi-task learning | Generalizable | | NetTCR | CNN-based | HLA-specific | | TITAN | Attention-based | State-of-art sequence |
User: "Predict whether this tumor-reactive TCR binds the identified neoantigen and check for cross-reactivity with self-peptides."
Agent Action:
bashpython3 Skills/Immunology_Vaccines/TCR_pMHC_Prediction_Agent/tcr_pmhc_predict.py \ --tcr_alpha_cdr3 CAVSDRGSTLGRLYF \ --tcr_beta_cdr3 CASSLGQAYEQYF \ --tcr_v_genes TRAV12-1,TRBV7-9 \ --peptide KRAS_G12D_VVGADGVGK \ --hla HLA-A*11:01 \ --check_cross_reactivity true \ --self_peptide_db human_proteome_9mers.fasta \ --method alphafold3 \ --output tcr_pmhc_results/
| Input | Format | Required | |-------|--------|----------| | TCR CDR3 alpha | Amino acid sequence | Yes | | TCR CDR3 beta | Amino acid sequence | Yes | | V gene usage | IMGT notation | Recommended | | Peptide | 8-11mer amino acids | Yes | | HLA allele | 4-digit resolution | Yes |
| Output | Description | Format | |--------|-------------|--------| | Binding Score | Probability of binding | .json | | Complex Structure | TCR-pMHC model | .pdb | | Contact Map | Residue interactions | .csv, .png | | Cross-Reactivity | Self-peptide hits | .csv | | Confidence Score | Prediction reliability | .json | | Binding Determinants | Key residues | .csv |
| Component | Application | Output | |-----------|-------------|--------| | pMHC Modeling | Peptide-MHC structure | Complex structure | | TCR Modeling | Variable region structure | TCR structure | | Complex Prediction | Full ternary complex | Docked model | | pLDDT Scores | Confidence per residue | Quality metric | | PAE | Positional error | Interface confidence |
| Score Range | Interpretation | Action | |-------------|----------------|--------| | >0.9 | Strong predicted binder | High confidence | | 0.7-0.9 | Moderate predicted binder | Likely positive | | 0.5-0.7 | Weak/uncertain | Experimental validation needed | | <0.5 | Predicted non-binder | Low priority |
Structural Prediction:
Sequence Models:
Cross-Reactivity:
| Method | Dataset | AUC | Notes | |--------|---------|-----|-------| | AlphaFold3 | VDJdb benchmark | 0.85 | Structural | | TCR-BERT | IEDB | 0.82 | Fast screening | | ERGO-II | McPAS-TCR | 0.78 | Established | | Ensemble | Combined | 0.88 | Best overall |
| Application | Use Case | TCR-pMHC Role | |-------------|----------|---------------| | Neoantigen Vaccines | Validate immunogenicity | Predict T cell response | | TCR-T Therapy | Select therapeutic TCRs | Screen candidates | | Safety Assessment | Check cross-reactivity | Avoid autoimmunity | | Epitope Discovery | Find immunogenic peptides | Prioritize targets |
| Database | Content | Purpose | |----------|---------|---------| | Human Proteome | All self-peptides | Primary safety | | Tissue-Specific | Expression-weighted | Toxicity prediction | | Viral Mimicry | Viral homologs | Infection mimics | | Cancer-Testis | CT antigens | On-target activity |
| Feature | Location | Significance | |---------|----------|--------------| | CDR3 beta apex | Peptide contact | Specificity | | CDR3 alpha | MHC/peptide | Fine-tuning | | CDR1/2 | MHC helices | HLA restriction | | Germline-encoded | Framework | Base recognition |
| Limitation | Impact | Mitigation | |------------|--------|------------| | Training Data Bias | Common HLA over-represented | Use diverse training | | Novel TCRs | Out-of-distribution | Lower confidence | | Post-translational | PTM peptides not modeled | Experimental validation | | Dynamics | Static structures | MD simulation |
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-01 | fail→fail | 27,651 | 21,846 | -21% | 1 | 1 | 0% | 5,228 | 6,137 | +17% | 0 | 0 | — |
case-07 | pass→pass | 12,981 | 5,944 | -54% | 1 | 1 | 0% | 2,180 | 2,886 | +32% | 0 | 0 | — |
case-02 | fail→fail | 20,398 | 33,749 | +65% | 1 | 1 | 0% | 3,403 | 8,055 | +137% | 0 | 0 | — |
case-03 | fail→fail | 14,642 | 16,476 | +13% | 1 | 1 | 0% | 2,999 | 5,394 | +80% | 0 | 0 | — |
case-04 | pass→fail | 11,654 | 19,742 | +69% | 1 | 1 | 0% | 2,264 | 6,168 | +172% | 0 | 0 | — |
case-05 | fail→fail | 14,257 | 14,059 | -1% | 1 | 1 | 0% | 2,962 | 4,642 | +57% | 0 | 0 | — |
case-06 | pass→pass | 9,750 | 4,933 | -49% | 1 | 1 | 0% | 1,566 | 2,715 | +73% | 0 | 0 | — |
case-08 | fail→pass | 9,656 | 3,802 | -61% | 1 | 1 | 0% | 1,642 | 2,538 | +55% | 0 | 0 | — |
case-09 | pass→pass | 11,933 | 6,340 | -47% | 1 | 1 | 0% | 2,041 | 2,893 | +42% | 0 | 0 | — |
case-10 | fail→pass | 16,416 | 4,264 | -74% | 1 | 1 | 0% | 3,041 | 2,788 | -8% | 0 | 0 | — |
case-11 | fail→pass | 12,117 | 5,955 | -51% | 1 | 1 | 0% | 2,219 | 2,973 | +34% | 0 | 0 | — |
case-12 | fail→pass | 7,305 | 2,715 | -63% | 1 | 1 | 0% | 1,159 | 2,412 | +108% | 0 | 0 | — |
case-13 | pass→pass | 7,204 | 2,075 | -71% | 1 | 1 | 0% | 1,157 | 2,231 | +93% | 0 | 0 | — |
case-14 | pass→pass | 7,823 | 4,868 | -38% | 1 | 1 | 0% | 1,206 | 2,559 | +112% | 0 | 0 | — |
case-15 | pass→pass | 7,582 | 6,843 | -10% | 1 | 1 | 0% | 1,242 | 3,155 | +154% | 0 | 0 | — |
case-16 | pass→pass | 4,853 | 1,345 | -72% | 1 | 1 | 0% | 847 | 2,041 | +141% | 0 | 0 | — |
case-17 | pass→pass | 14,687 | 2,260 | -85% | 1 | 1 | 0% | 2,539 | 2,228 | -12% | 0 | 0 | — |
case-18 | pass→pass | 9,557 | 7,144 | -25% | 1 | 1 | 0% | 1,709 | 2,993 | +75% | 0 | 0 | — |
case-19 | pass→pass | 5,194 | 4,226 | -19% | 1 | 1 | 0% | 872 | 2,478 | +184% | 0 | 0 | — |
case-20 | fail→pass | 14,333 | 9,012 | -37% | 1 | 1 | 0% | 2,542 | 3,254 | +28% | 0 | 0 | — |
case-21 | pass→pass | 16,376 | 2,302 | -86% | 1 | 1 | 0% | 2,821 | 2,223 | -21% | 0 | 0 | — |
case-22 | pass→pass | 27,112 | 4,584 | -83% | 1 | 1 | 0% | 2,269 | 2,610 | +15% | 0 | 0 | — |
case-23 | pass→pass | 14,002 | 12,205 | -13% | 1 | 1 | 0% | 2,518 | 3,777 | +50% | 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. 23 cases were attempted. The headline lift of +17 percentage points is the difference between those two pass rates over the 23 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
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 | +9% |
Other measured skills in the registry, with their headline benchmark lift.