scanpy-sc-analyzer

A single-cell RNA sequencing analysis workflow for checking data quality, correcting differences between batches, grouping similar cells, plotting them, and identifying marker genes.

In plain words
What is it for?
Use it to analyze Scanpy-compatible `.h5ad` data, create UMAP plots, form Leiden cell clusters, and annotate clusters using marker genes.
Why use it?
It organizes several analysis steps that would otherwise need to be configured and run separately. It helps reveal unreliable cells, batch-related distortions, and likely cell types.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yulianuzhnenko/bioinformatics-agent-skills/scanpy-sc-analyzer
Any agent
npx skills add YuliaNuzhnenko/bioinformatics-agent-skills --skill scanpy-sc-analyzer
Clone the repo
git clone --depth 1 https://github.com/YuliaNuzhnenko/bioinformatics-agent-skills

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00034 $0.00550
Opus 5 $0.00017 $0.00275
Sonnet 5 $0.00007 $0.00110
Haiku 4.5 $0.00003 $0.00055

Measured yesterday against content hash 60a9f61bcf8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scanpy-sc-analyzer 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 yesterday.

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/scanpy-sc-analyzer/SKILL.md · 68 lines

What it actually says

Agent Skill: Single-Cell RNA-Seq & Harmony Integration Skill

Domain Version

📌 Description

Autonomous single-cell RNA-seq quality control filtering, Harmony batch-effect correction, Leiden clustering, UMAP visualization, and marker gene annotation.


🤖 Agent Execution Protocol

When an AI Agent is tasked with scanpy-sc-analyzer:

  1. Input Validation: Verify that the required input files or coordinates are supplied.
  2. Environment Check: Ensure dependencies (Scanpy, Harmony, AnnData, Plotly) are installed.
  3. Execution: Run the protocol pipeline snippet below.
  4. Output Generation: Produce actionable Markdown/JSON summaries with publication figures.

💻 Protocol Code Snippet

import scanpy as sc
import numpy as np

def run_sc_pipeline(h5ad_path):
    adata = sc.read_h5ad(h5ad_path)
    sc.pp.filter_cells(adata, min_genes=200)
    sc.pp.filter_genes(adata, min_cells=3)
    sc.pp.normalize_total(adata, target_sum=1e4)
    sc.pp.log1p(adata)
    sc.pp.highly_variable_genes(adata, n_top_genes=2000)
    sc.pp.pca(adata, n_comps=30)
    sc.pp.neighbors(adata, n_neighbors=15)
    sc.tl.umap(adata)
    sc.tl.leiden(adata, resolution=0.5)
    return adata


📥 Input & Output Specifications

Input Contract

  • Target Files: Valid input data matching domain formats.
  • Parameters: Quality thresholds and cutoffs.

Output Contract

  • Results Table: Structured summary dataframe or matrix.
  • Visualization: Rendered SVG/PNG figures.

📄 License

Distributed under the MIT License. See LICENSE for details.

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. yesterday First seen · 68 lines · 34 tokens per session scan A 60a9f61bcf8a

Subscribe to this mod's changes

scanpy-sc-analyzer is a skill published in the GitHub repository YuliaNuzhnenko/bioinformatics-agent-skills (8 stars, last pushed 23d ago), licensed MIT. It adds 34 tokens to every session and 550 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data access, radiology (CT, MR, PET) or pathology AI training sets, metadata queries, visualization, or license checks — even when the user doesn't explicitly…

K-Dense-AI/scientific-agent-skills · 75 tokens

diffdock

DiffDock and DiffDock-L molecular docking. Use for protein-small-molecule pose prediction from PDB or sequence plus SMILES/SDF/MOL2, batch docking, virtual screening, and pose-confidence interpretation. Not for binding affinity prediction.

K-Dense-AI/scientific-agent-skills · 51 tokens

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

K-Dense-AI/scientific-agent-skills · 63 tokens

bids

Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…

K-Dense-AI/scientific-agent-skills · 80 tokens

citation-management

Comprehensive citation management for academic research. Search OpenAlex, PubMed, and Google Scholar for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or…

K-Dense-AI/scientific-agent-skills · 72 tokens

deeptools

NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.

K-Dense-AI/scientific-agent-skills · 51 tokens