If you're analyzing single-cell RNA-seq data, this gives Claude the full scanpy toolkit for the standard workflow: loading h5ad or 10X files, running QC on cell and gene counts, normalizing with log transforms, computing PCA and UMAP embeddings, running Leiden clustering at different resolutions, and identifying marker genes with Wilcoxon tests. The skill includes practical defaults like filtering cells with over 5% mitochondrial counts and using 2000 highly variable genes. It's built around the AnnData object structure, so Claude understands how to access expression matrices, metadata, and embeddings. Really solid for going from raw counts to annotated cell types without writing the boilerplate yourself.
- skills.sh installs
- 325
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill scanpy --agent claude-codeInstalls into .claude/skills of the current project.
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')
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Aeon324
- Web To Markdown322
- Biomni321
- Constitutional Ai321
- Nanogpt320
- Sglang320
- Uspto Database318
- Receiving Code Review317
- Transformer Lens Interpretability317
- Skypilot Multi Cloud Orchestration316
- Llava315
- Mdr 745 Specialist315
- Create Pr314
- Fda Database313
- Astropy312
- Skill Developer312
- Environment Setup Guide311
- Requesting Code Review311
- Roier Seo311
- Grpo Rl Training310
- Railway Database310
- Remotion Best Practices310
- Skill Judge310
- Lambda Labs Gpu Cloud309
