Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Comprehensive AI-powered tumor microenvironment immune profiling integrating bulk deconvolution, single-cell analysis, and spatial transcriptomics for immunotherapy biomarker discovery.
.claude/skills/tme-immune-profiling-agent/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 66% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 133% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 82% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 13% | 0% |
<!--
#
#
-->
The TME Immune Profiling Agent provides comprehensive tumor microenvironment (TME) immune profiling by integrating multiple data modalities including bulk RNA-seq deconvolution, single-cell transcriptomics, spatial transcriptomics, and multiplex immunofluorescence. It enables biomarker discovery for immunotherapy response and TME-based patient stratification.
| Cell Type | Subtypes | Key Markers | |-----------|----------|-------------| | T cells | CD8+, CD4+, Treg, Th1/2/17 | CD3, CD8, CD4, FOXP3 | | B cells | Naive, memory, plasma | CD19, CD20, CD138 | | NK cells | CD56bright, CD56dim | NKG7, NCAM1 | | Macrophages | M1, M2, TAM | CD68, CD163, CD206 | | Dendritic | cDC1, cDC2, pDC | CLEC9A, CD1C, BDCA2 | | MDSC | M-MDSC, PMN-MDSC | CD33, CD11b, ARG1 | | CAF | myCAF, iCAF, apCAF | FAP, ACTA2, COL1A1 |
| Method | Algorithm | Cell Types | Best For | |--------|-----------|------------|----------| | CIBERSORTx | SVR | 22 | Gold standard | | xCell | ssGSEA | 64 | Comprehensive | | EPIC | Constrained regression | 8 | Tumor/stroma | | MCP-counter | Marker genes | 10 | Robust scores | | quanTIseq | Deconvolution | 10 | Pan-cancer | | TIMER2.0 | Multiple | Variable | Integrated |
User: "Profile the tumor microenvironment of this lung cancer cohort to identify immunotherapy responders."
Agent Action:
bashpython3 Skills/Immunology_Vaccines/TME_Immune_Profiling_Agent/tme_profiling.py \ --bulk_rna expression_matrix.tsv \ --scRNA_data scRNA_lung.h5ad \ --spatial_data visium_tumor.h5ad \ --cancer_type nsclc \ --deconvolution_methods cibersortx,epic,mcpcounter \ --response_labels clinical_response.csv \ --output tme_profiles/
| Phenotype | Characteristics | Immunotherapy Response | |-----------|-----------------|----------------------| | Immune Hot | High TIL infiltration, PD-L1+ | Favorable | | Immune Cold | Low TIL, low inflammation | Poor | | Immune Excluded | TILs at margin, not penetrating | Intermediate | | Immune Suppressed | TILs + MDSCs/Tregs | Variable |
| Output | Description | Format | |--------|-------------|--------| | Cell Fractions | Per-sample immune estimates | .csv | | TME Classification | Hot/cold/excluded labels | .csv | | Immune Scores | Composite signatures | .csv | | Spatial Maps | Cell type locations | .h5ad | | Neighborhood Analysis | Immune niches | .csv | | Response Prediction | IO probability | .json | | Visualizations | Deconvolution plots | .png, .pdf |
| Signature | Genes | Interpretation | |-----------|-------|----------------| | Cytotoxic | PRF1, GZMB, GNLY | T cell killing | | Exhaustion | PDCD1, LAG3, HAVCR2, TIGIT | T cell dysfunction | | IFN-gamma | IFNG, STAT1, IRF1 | Inflammation | | TLS | CD20, CD4, BCL6 | Tertiary lymphoid | | Exclusion | TGFB1, FAP, COL1A1 | Stromal barrier |
Deconvolution Enhancement:
Response Prediction:
Spatial Analysis:
| Application | TME Feature | Clinical Decision | |-------------|-------------|-------------------| | IO Selection | Immune hot phenotype | Prioritize IO | | Combination | Cold + excluded | Consider combo | | Prognosis | TLS presence | Favorable outcome | | Biomarker | CD8+ density | Response prediction | | Resistance | MDSC enrichment | Address suppression |
| Task | Dataset | Performance | |------|---------|-------------| | IO Response | NSCLC | AUC 0.78 | | IO Response | Melanoma | AUC 0.82 | | TME Classification | Pan-cancer | Accuracy 85% | | Survival | TCGA | C-index 0.72 |
| Metric | Definition | Clinical Relevance | |--------|------------|-------------------| | Immune Distance | Distance to tumor edge | Exclusion | | Clustering Coefficient | Immune aggregation | TLS formation | | CD8/Treg Ratio | Spatial ratio | Effector balance | | Contact Score | Immune-tumor contacts | Direct killing | | Neighborhood Entropy | Mixing vs segregation | TME organization |
| TME State | Therapeutic Strategy | |-----------|---------------------| | Hot, PD-L1+ | Anti-PD-1/PD-L1 | | Cold | Oncolytic virus, radiation, chemo | | Excluded | TGF-beta inhibition, VEGF targeting | | Suppressed | Treg depletion, MDSC targeting | | TLS+ | Excellent IO candidate |
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,827 | 27,726 | -0% | 1 | 1 | 0% | 6,214 | 8,126 | +31% | 0 | 0 | — |
case-02 | fail→fail | 23,552 | 25,283 | +7% | 1 | 1 | 0% | 5,227 | 7,140 | +37% | 0 | 0 | — |
case-03 | fail→pass | 12,645 | 4,577 | -64% | 1 | 1 | 0% | 1,659 | 2,747 | +66% | 0 | 0 | — |
case-04 | pass→pass | 17,441 | 19,733 | +13% | 1 | 1 | 0% | 3,260 | 5,221 | +60% | 0 | 0 | — |
case-05 | pass→pass | 16,482 | 12,515 | -24% | 1 | 1 | 0% | 3,069 | 4,219 | +37% | 0 | 0 | — |
case-06 | fail→pass | 10,165 | 10,730 | +6% | 1 | 1 | 0% | 1,614 | 3,765 | +133% | 0 | 0 | — |
case-07 | pass→pass | 9,952 | 9,509 | -4% | 1 | 1 | 0% | 1,803 | 3,404 | +89% | 0 | 0 | — |
case-08 | pass→pass | 16,273 | 16,572 | +2% | 1 | 1 | 0% | 3,006 | 4,904 | +63% | 0 | 0 | — |
case-09 | pass→pass | 13,653 | 14,803 | +8% | 1 | 1 | 0% | 2,621 | 4,371 | +67% | 0 | 0 | — |
case-10 | fail→pass | 16,927 | 19,824 | +17% | 1 | 1 | 0% | 3,207 | 5,821 | +82% | 0 | 0 | — |
case-11 | fail→pass | 13,745 | 8,723 | -37% | 1 | 1 | 0% | 2,562 | 3,525 | +38% | 0 | 0 | — |
case-12 | fail→pass | 11,867 | 3,076 | -74% | 1 | 1 | 0% | 2,213 | 2,496 | +13% | 0 | 0 | — |
case-13 | pass→pass | 12,617 | 9,286 | -26% | 1 | 1 | 0% | 2,263 | 3,234 | +43% | 0 | 0 | — |
case-14 | fail→pass | 7,134 | 2,427 | -66% | 1 | 1 | 0% | 1,358 | 2,409 | +77% | 0 | 0 | — |
case-15 | pass→pass | 16,808 | 19,078 | +14% | 1 | 1 | 0% | 3,257 | 5,131 | +58% | 0 | 0 | — |
case-16 | fail→pass | 13,313 | 10,920 | -18% | 1 | 1 | 0% | 2,607 | 3,980 | +53% | 0 | 0 | — |
case-17 | pass→pass | 11,556 | 2,284 | -80% | 1 | 1 | 0% | 1,964 | 2,272 | +16% | 0 | 0 | — |
case-18 | pass→pass | 12,729 | 1,510 | -88% | 1 | 1 | 0% | 2,277 | 2,125 | -7% | 0 | 0 | — |
case-19 | fail→pass | 18,251 | 11,575 | -37% | 1 | 1 | 0% | 3,045 | 3,949 | +30% | 0 | 0 | — |
case-20 | pass→pass | 7,767 | 8,998 | +16% | 1 | 1 | 0% | 1,479 | 3,249 | +120% | 0 | 0 | — |
case-21 | pass→pass | 15,449 | 20,191 | +31% | 1 | 1 | 0% | 2,682 | 5,772 | +115% | 0 | 0 | — |
case-22 | pass→pass | 12,844 | 11,885 | -7% | 1 | 1 | 0% | 2,638 | 4,498 | +71% | 0 | 0 | — |
case-23 | pass→pass | 18,468 | 16,288 | -12% | 1 | 1 | 0% | 3,981 | 5,162 | +30% | 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 +35 percentage points is the difference between those two pass rates over the 23 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 | +17% |
Other measured skills in the registry, with their headline benchmark lift.