Skip to content
Back to skills

Universal Single Cell Annotator

ASecurity

--> --- name: 'universal-single-cell-annotator' description: 'Annotate scRNA-seq' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools: - read_file - run_shell_command --- This skill wraps multiple cell type annotation strategies into a single Python class. It allows agents to flexibly choose between rule-based (markers), data-driven (CellTypist), or reasoning-based (LLM) approaches depending on the context.

  • 2,984 stars
  • 0 votes
  • 0 copies
  • 15 views
  • Added May 27, 2026
data-aipythonshell

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill universal-single-cell-annotator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Universal Single Cell Annotator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Universal Single Cell Annotator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/freedomintelligence-universal-single-cell-annotator/badge)](https://www.skillsdirectory.com/skills/freedomintelligence-universal-single-cell-annotator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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: 'universal-single-cell-annotator'
description: 'Annotate scRNA-seq'
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
  - read_file
  - run_shell_command
---


# Universal Single-Cell Annotator

This skill wraps multiple cell type annotation strategies into a single Python class. It allows agents to flexibly choose between rule-based (markers), data-driven (CellTypist), or reasoning-based (LLM) approaches depending on the context.

## When to Use This Skill

*   **Initial Analysis**: When processing raw AnnData objects.
*   **Validation**: When cross-referencing automated labels with known markers.
*   **Discovery**: When identifying rare cell types using LLM reasoning on marker lists.

## Core Capabilities

1.  **Marker-Based Scoring**: Scores cells based on provided gene lists (e.g., "T-cell": ["CD3D", "CD3E"]).
2.  **Deep Learning Reference**: Wraps `celltypist` to transfer labels from massive atlases.
3.  **LLM Reasoning**: Extracts top markers per cluster and constructs prompts for LLM interpretation.

## Workflow

1.  **Load Data**: Ensure data is in `AnnData` format (standard for Scanpy).
2.  **Choose Strategy**:
    *   Use **Markers** if you have a known gene panel.
    *   Use **CellTypist** for broad immune/tissue profiling.
    *   Use **LLM** for novel clusters.
3.  **Annotate**: Run the corresponding method.
4.  **Inspect**: Check `adata.obs` for the new annotation columns.

## Example Usage

**User**: "Annotate this dataset looking for T-cells and B-cells."

**Agent Action**:
```python
from universal_annotator import UniversalAnnotator
import scanpy as sc

adata = sc.read_h5ad('data.h5ad')
annotator = UniversalAnnotator(adata)

markers = {
    'T-cell': ['CD3D', 'CD3E', 'CD8A'],
    'B-cell': ['CD79A', 'MS4A1']
}

annotator.annotate_marker_based(markers)
# Results in adata.obs['predicted_cell_type']
```


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

Files in this skill

  • SKILL.md2.3 KB
  • cellidentifierdx-main/.gitignore1 B
  • cellidentifierdx-main/LICENSE404 B
  • cellidentifierdx-main/README.md3.7 KB
  • cellidentifierdx-main/cellidentifierdx/__init__.py440 B
  • cellidentifierdx-main/cellidentifierdx/cli.py1.5 KB
  • cellidentifierdx-main/cellidentifierdx/scoring.py1003 B
  • cellidentifierdx-main/cellidentifierdx/utils.py691 B
  • cellidentifierdx-main/setup.py1.1 KB
  • cellidentifierdx-main/tests/__init__.py402 B
  • cellidentifierdx-main/tests/test_scoring.py781 B
  • universal_annotator.py6.2 KB

Attribution

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

Loading comments…