CtrlK
BlogDocsLog inGet started
Tessl Logo

flow-cytometry-gating-strategist

Recommend optimal flow cytometry gating strategies for specific cell types and fluorophores

61

1.83x
Quality

41%

Does it follow best practices?

Impact

99%

1.83x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./scientific-skills/Data analysis/flow-cytometry-gating-strategist/SKILL.md
SKILL.md
Quality
Evals
Security

Skill: Flow Cytometry Gating Strategist

Recommend optimal flow cytometry gating strategies for given cell types and fluorophores.

Basic Information

  • ID: 103
  • Name: Flow Cytometry Gating Strategist
  • Purpose: Flow cytometry data analysis and gating strategy recommendations

Usage

Command Line

# Recommended format: comma-separated cell types and fluorophores
python scripts/main.py "CD4+ T cells,CD8+ T cells" "FITC,PE,APC"

# Or specify parameters separately
python scripts/main.py --cell-types "CD4+ T cells,CD8+ T cells" --fluorophores "FITC,PE,APC"

# Support more options
python scripts/main.py \
  --cell-types "B cells" \
  --fluorophores "FITC,PE,PerCP-Cy5.5,APC" \
  --instrument "BD FACSCanto II" \
  --purpose "cell sorting"

Parameters

ParameterTypeDefaultRequiredDescription
--cell-typesstring-YesComma-separated list of cell types (e.g., "CD4+ T cells,CD8+ T cells")
--fluorophoresstring-YesComma-separated list of fluorophores (e.g., "FITC,PE,APC")
--instrumentstring-NoFlow cytometer model (e.g., "BD FACSCanto II")
--purposestringanalysisNoPurpose (analysis, cell sorting, screening)
--output, -ostringstdoutNoOutput file path for JSON results

Output Format

{
  "recommended_strategy": {
    "name": "Sequential Gating Strategy",
    "description": "Gating based on FSC-A/SSC-A, followed by fluorescence intensity analysis",
    "steps": [
      {
        "step": 1,
        "gate": "FSC-A vs SSC-A",
        "purpose": "Identify target cell population, exclude debris and dead cells",
        "recommendation": "Set oval gate in lymphocyte region"
      }
    ]
  },
  "fluorophore_recommendations": [
    {
      "fluorophore": "FITC",
      "channel": "BL1",
      "detector": "530/30",
      "considerations": ["May spillover with GFP"]
    }
  ],
  "panel_optimization": {
    "suggestions": ["Recommend pairing weakly expressed antigens with bright fluorophores"],
    "avoid_combinations": ["FITC and GFP used simultaneously"]
  },
  "compensation_notes": ["FITC and PE require careful compensation"],
  "quality_control": ["Recommend setting FMO controls", "Use viability dyes to exclude dead cells"]
}

Supported Cell Types

  • T cells: CD4+ T cells, CD8+ T cells, Treg cells, Th1, Th2, Th17, γδ T cells
  • B cells: B cells, Plasma cells, Memory B cells, Naive B cells
  • Myeloid cells: Monocytes, Macrophages, Dendritic cells, Neutrophils, Eosinophils
  • Stem cells: HSC, MSC, iPSC
  • Tumor cells: Tumor cells, Cancer stem cells
  • Others: NK cells, NKT cells, Platelets, Erythrocytes

Supported Fluorophores

FluorophoreExcitation WavelengthEmission WavelengthDetection Channel
FITC488nm525nmBL1
PE488nm575nmYL1/BL2
PerCP488nm675nmRL1
PerCP-Cy5.5488nm695nmRL1
PE-Cy7488nm785nmRL2
APC640nm660nmRL1
APC-Cy7640nm785nmRL2
BV421405nm421nmVL1
BV510405nm510nmVL2
BV605405nm605nmVL3
BV650405nm650nmVL4
BV785405nm785nmVL6
DAPI355nm461nmUV
PI488nm617nmYL2

Gating Strategy Types

1. Sequential Gating

Applicable scenario: Simple immunophenotyping analysis

  • FSC-A/SSC-A → Exclude debris/dead cells → Fluorescence intensity analysis

2. Boolean Gating

Applicable scenario: Complex cell subset analysis

  • Use logical operators (AND, OR, NOT) to define cell populations

3. Dimensionality Reduction Gating

Applicable scenario: High-dimensional data (>15 colors)

  • t-SNE/UMAP visualization-assisted gating

4. Unsupervised Clustering

Applicable scenario: Discovery of unknown cell populations

  • FlowSOM, PhenoGraph and other algorithms

Notes

  1. Spectral Overlap Compensation: Multi-color panels must undergo compensation calculation
  2. Control Setup: Must use FMO (fluorescence minus one) and isotype controls
  3. Dead Cell Exclusion: Strongly recommend using viability dyes
  4. Instrument Calibration: Perform QC and standard bead detection before experiments

Dependencies

  • Python 3.8+
  • No external dependencies (pure Python standard library)

Version

v1.0.0 - Initial version, supports basic gating strategy recommendations

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionPython scripts with toolsHigh
Network AccessExternal API callsHigh
File System AccessRead/write dataMedium
Instruction TamperingStandard prompt guidelinesLow
Data ExposureData handled securelyMedium

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • API requests use HTTPS only
  • Input validated against allowed patterns
  • API timeout and retry mechanisms implemented
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no internal paths exposed)
  • Dependencies audited
  • No exposure of internal service architecture

Prerequisites

No additional Python packages required.

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support
Repository
aipoch/medical-research-skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.