Skip to content

Standard scRNA-seq workflow in Scanpy covering loading, QC, clustering, marker genes, and annotation for AnnData data.

CCM score
61 of 100
skills.sh installs
325
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full workflow: data loading from 10X, .h5ad, and CSV, QC, normalization, dimensionality reduction, Leiden clustering, and marker gene detection
  • Includes trajectory inference with PAGA and diffusion pseudotime, batch correction with ComBat, and publication-quality plotting guidance
  • Provides a QC script (scripts/qc_analysis.py) and a plotting reference (references/plotting_guide.md) for automated and visual analysis steps
  • Designed for analysts working with single-cell RNA-seq data in Python who need AnnData-based workflows

Install

$ npx -y skills add davila7/claude-code-templates --skill scanpy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Scanpy: Single-Cell Analysis

Overview

Scanpy is a scalable Python toolkit for analyzing single-cell RNA-seq data, built on AnnData. Apply this skill for complete single-cell workflows including quality control, normalization, dimensionality reduction, clustering, marker gene identification, visualization, and trajectory analysis.

When to Use This Skill

This skill should be used when:

  • Analyzing single-cell RNA-seq data (.h5ad, 10X, CSV formats)
  • Performing quality control on scRNA-seq datasets
  • Creating UMAP, t-SNE, or PCA visualizations
  • Identifying cell clusters and finding marker genes
  • Annotating cell types based on gene expression
  • Conducting trajectory inference or pseudotime analysis
  • Generating publication-quality single-cell plots

Quick Start

Basic Import and Setup

import scanpy as sc
import pandas as pd
import numpy as np

# Configure settings
# sc.settings.verbosity = 'hint'  # enable for debugging
sc.settings.figdir = './figures/'
sc.print_header()  # in notebooks

Loading Data

# From 10X Genomics
adata = sc.read_10x_mtx('path/to/data/')
adata = sc.read_10x_h5('path/to/data.h5')

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the scanpy skill do?

The scanpy skill analyzes single-cell RNA-seq data built on AnnData. It covers loading .h5ad and 10X data, quality control, normalization, PCA, UMAP and t-SNE, Leiden clustering, marker genes, cell type annotation and trajectory analysis.

How do I install the scanpy skill?

Run npx -y skills add davila7/claude-code-templates --skill scanpy -y inside a project to install it. Once installed, the scanpy skill lets the agent run complete single-cell workflows on your datasets.

Where does the scanpy skill sit in its category?

The scanpy skill is listed under Data Science & Analytics on Claude Marketplaces, next to azure-kusto, analyze-project and run-train. It is aimed at single-cell RNA-seq work, which those neighbors do not cover.

Which data formats can the scanpy skill load?

The scanpy skill loads .h5ad files, 10X Genomics data in matrix or HDF5 form, and CSV files. It uses these inputs to build an AnnData object for the rest of the analysis.

More from davila7/claude-code-templates

All 398