single-cell

single-cell is a skill for Claude Code, Codex from inflexa-ai/inflexa. It costs 50 tokens per session (4,928 once invoked), scanned A, original, Apache-2.0.

Single-cell analysis pipeline covering scRNA-seq, snRNA-seq, and CyTOF (mass cytometry) — QC, normalization, integration, clustering, annotation, differential expression, trajectory, cell communication, and TF activity inference.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install with agentmods
npx agentmods add skills/inflexa-ai/inflexa/single-cell
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add inflexa-ai/inflexa --skill single-cell
Clone the repo
git clone --depth 1 https://github.com/inflexa-ai/inflexa

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for single-cell

README.md
[![agentmods](https://agentmods.dev/badge/skills/inflexa-ai/inflexa/single-cell/github.svg)](https://agentmods.dev/skills/inflexa-ai/inflexa/single-cell)
Your own site
<a href="https://agentmods.dev/skills/inflexa-ai/inflexa/single-cell"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/single-cell/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for single-cell

Your own site · 80×15
<a href="https://agentmods.dev/skills/inflexa-ai/inflexa/single-cell"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/single-cell.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,928 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.04928
Opus 5 $0.00025 $0.02464
Sonnet 5 $0.00010 $0.00986
Haiku 4.5 $0.00005 $0.00493

Measured today against content hash 874e5e23e3ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

single-cell scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/single-cell/SKILL.md · 404 lines

How it starts

The opening of the file, as written. The whole thing — 404 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Single-Cell Analysis

Full pipeline guidance for scRNA-seq, snRNA-seq, and CyTOF (mass cytometry) analysis.

Pipeline Decision Tree

QC and Filtering

QC strategy?
├── Thresholds → Adaptive MAD-based (NOT arbitrary cutoffs)
│   ├── n_genes_by_counts: median +/- 5 MADs
│   ├── total_counts: median +/- 5 MADs
│   ├── pct_counts_mt: median + 3 MADs (upper only; >20% suspicious)
│   └── snRNA-seq: also check pct_counts_ribo (should be low)
├── Doublet detection
│   ├── Single sample → scrublet (sc.pp.scrublet)
│   └── Multiple samples / higher accuracy → SOLO (scvi-tools, deep generative)
└── Ambient RNA (optional, pre-loaded)
    └── If raw + filtered matrices available → SoupX (R via rpy2)
        Estimates contamination from the empty-droplet profile, then corrects
        counts. Report the estimated contamination fraction alongside the
        corrected matrix — a correction whose magnitude goes unstated cannot
        be judged downstream.

Normalization

Data type?
├── Standard scRNA-seq → sc.pp.normalize_total(target_sum=1e4) + sc.pp.log1p
├── Heterogeneous populations (very different sizes) → scran pooling via rpy2
└── Planning to use scVI downstream → skip normalization (scVI takes raw counts)

Highly Variable Genes (HVG)

Input state?
├── Raw counts → flavor='seurat_v3' (variance-stabilizing, works on counts)
└── Log-normalized → flavor='seurat' (default, log-normalized expected)
Always: n_top_genes=2000-3000, subset to HVGs for PCA

Integration / Batch Correction

Batch effects present? (check PCA colored by batch)
├── No batch effect → skip integration
├── Moderate batch effect (same tissue, same protocol)
│   └── Harmony (fast, operates in PCA space, corrects embeddings only)
├── Complex batch effect (different donors, protocols, tissues)
│   └── scVI (deep generative model, corrects latent space, preserves counts)
├── Alignment only (no shared latent space needed)
│   └── scanorama (fast alignment, good for simple batch structures)
└── Cell types already known, and over-correction is the risk
    └── STACAS (R via rpy2) — anchor-based, and can be told which labels
        must NOT be merged, so integration stops collapsing genuinely
        distinct populations into one

Read the full file on GitHub · 404 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 404 lines · 50 tokens per session scan A 874e5e23e3ce

Subscribe to this mod's changes

single-cell is a skill published in the GitHub repository inflexa-ai/inflexa (33 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 4,928 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

Other skills, from other repositories

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

single-cell-multi-omics-analysis-scvi

Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…

PharMolix/OpenBioMed · 94 tokens

sc-standardize-input

Load when an external single-cell h5ad/h5/loom/mtx needs to be canonicalised onto the OmicsClaw AnnData contract before downstream scRNA skills run. Skip when data already came from sc-count (already canonical); bulk RNA-seq (use bulkrna-qc); spatial (use spatial-preprocess).

TianGzlab/OmicsClaw · 73 tokens

celltypepilot

Single-cell cell-type annotation with evidence, conservative abstention, and reviewable drafts. Use this whenever the user wants to annotate, label, or identify cell types for pre-clustered single-cell or spatial transcriptomics data (.h5ad), or says things like "annotate my clusters", "what cell types are these?"…

HERRY423/CellTypePilot · 151 tokens

scrna-seq-pipeline

Scanpy-based single-cell RNA-seq analysis pipeline covering loading (10X, h5ad), QC, normalization, HVG selection, PCA/UMAP, Leiden clustering, differential expression, and batch correction (Harmony, scVI). Use when the user mentions single-cell, scRNA-seq, Scanpy, AnnData, UMAP, clustering, 10X, h5ad, leiden, highly…

awslabs/hcls-agent-skills · 174 tokens