Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Tme Immune Profiling Agent

ASecurity

--> --- name: 'tme-immune-profiling-agent' description: 'Comprehensive AI-powered tumor microenvironment immune profiling integrating bulk deconvolution, single-cell analysis, and spatial transcriptomics for immunotherapy biomarker discovery.' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools: - read_file - run_shell_command --- The **TME Immune Profiling Agent** provides comprehensive tumor microenvironment (TME) immune profiling by in...

2,984 stars
0 votes
0 copies
0 views
Added 5/29/2026
datapythongoshellbashexpressgitperformance

Works with

climcp

Security Analysis

A100/100

Scanned 5/29/2026

Install to Claude Code

$npx -y skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill tme-immune-profiling-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tme Immune Profiling Agent?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Tme Immune Profiling Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/freedomintelligence-tme-immune-profiling-agent/badge)](https://www.skillsdirectory.com/skills/freedomintelligence-tme-immune-profiling-agent)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
<!--
# 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: 'tme-immune-profiling-agent'
description: 'Comprehensive AI-powered tumor microenvironment immune profiling integrating bulk deconvolution, single-cell analysis, and spatial transcriptomics for immunotherapy biomarker discovery.'
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
  - read_file
  - run_shell_command
---


# TME Immune Profiling Agent

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.

## When to Use This Skill

* When characterizing immune composition of tumor microenvironment.
* For predicting immunotherapy response from TME profiles.
* To identify immune cell states and functional programs.
* When analyzing spatial organization of immune infiltrates.
* For discovering TME-based biomarkers and therapeutic targets.

## Core Capabilities

1. **Bulk Deconvolution**: Estimate immune cell fractions from bulk RNA-seq.

2. **Single-Cell Immune Profiling**: Deep characterization of immune populations.

3. **Spatial Immune Architecture**: Map immune cell locations and neighborhoods.

4. **Immune Phenotype Classification**: Hot/cold/excluded tumor classification.

5. **Functional State Analysis**: Exhaustion, activation, memory signatures.

6. **Response Prediction**: Multi-modal immunotherapy response models.

## Immune Cell Types Profiled

| 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 |

## Deconvolution Methods

| 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 |

## Workflow

1. **Input**: Bulk RNA-seq, scRNA-seq, spatial data, or IHC images.

2. **Deconvolution**: Estimate cell fractions from bulk data.

3. **Single-Cell Analysis**: Deep immune phenotyping if available.

4. **Spatial Mapping**: Localize immune populations in tissue.

5. **Integration**: Combine modalities for comprehensive profile.

6. **Classification**: Assign TME phenotype (hot/cold/excluded).

7. **Output**: Immune profiles, visualizations, response predictions.

## Example Usage

**User**: "Profile the tumor microenvironment of this lung cancer cohort to identify immunotherapy responders."

**Agent Action**:
```bash
python3 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/
```

## TME Phenotypes

| 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 Components

| 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 |

## Immune Signatures

| 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 |

## AI/ML Components

**Deconvolution Enhancement**:
- Deep learning deconvolution
- Multi-method ensemble
- Single-cell reference optimization

**Response Prediction**:
- Multi-modal fusion (bulk + spatial)
- Survival analysis integration
- Transfer learning across cancers

**Spatial Analysis**:
- Graph neural networks for niches
- Attention for region importance
- Cell-cell interaction networks

## Clinical Applications

| 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 |

## Performance Benchmarks

| 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 |

## Prerequisites

* Python 3.10+
* CIBERSORTx, EPIC, xCell
* Scanpy, Squidpy
* PyTorch for deep learning
* R for certain deconvolution methods

## Related Skills

* TCR_Repertoire_Analysis_Agent - T cell specificity
* TCell_Exhaustion_Analysis_Agent - Exhaustion phenotyping
* Spatial_Epigenomics_Agent - Spatial analysis
* Nicheformer_Spatial_Agent - Spatial foundation models

## Spatial Immune Metrics

| 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 |

## Special Considerations

1. **Reference Panel**: Use cancer-type specific references
2. **Batch Correction**: Normalize across samples/platforms
3. **Purity Effects**: Account for tumor purity in deconvolution
4. **Single-Cell Validation**: Validate bulk estimates with scRNA
5. **Spatial Context**: Bulk loses spatial information

## Therapeutic Implications

| 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 |

## Author

AI Group - Biomedical AI Platform


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

Attribution

FreedomIntelligenceFreedomIntelligence
View sourceMore from FreedomIntelligence →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Rank Tracker

This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.

1821 votes

Youtube Competitor Analyzer

Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6...

31 votes

Twitter Algorithm Optimizer

Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.

742580 votes

Weather Fetcher

Instructions for fetching current weather temperature data for Karachi, Pakistan from wttr.in API

661090 votes

Weather

Get current weather and forecasts (no API key required).

476190 votes
View all in data →