Skip to content

Query CZ CELLxGENE Census for filtered single-cell expression data, metadata, and ML-ready datasets.

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

Own this skill? Claim it

What it does

  • Covers opening versioned Census snapshots, exploring dataset metadata, and querying cells and genes by cell type, tissue, or disease
  • Includes get_anndata() for in-memory queries, axis_query() for out-of-core chunked processing, and an experimental PyTorch dataloader
  • Enforces is_primary_data == True in examples to avoid counting duplicate cells, and recommends pinning census_version for reproducibility
  • Integrates with scanpy for normalization, PCA, UMAP, and plotting, and suits population-scale single-cell analysis

Install

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

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

Files

CZ CELLxGENE Census

Overview

The CZ CELLxGENE Census provides programmatic access to a comprehensive, versioned collection of standardized single-cell genomics data from CZ CELLxGENE Discover. This skill enables efficient querying and analysis of millions of cells across thousands of datasets.

The Census includes:

  • 61+ million cells from human and mouse
  • Standardized metadata (cell types, tissues, diseases, donors)
  • Raw gene expression matrices
  • Pre-calculated embeddings and statistics
  • Integration with PyTorch, scanpy, and other analysis tools

When to Use This Skill

This skill should be used when:

  • Querying single-cell expression data by cell type, tissue, or disease
  • Exploring available single-cell datasets and metadata
  • Training machine learning models on single-cell data
  • Performing large-scale cross-dataset analyses
  • Integrating Census data with scanpy or other analysis frameworks
  • Computing statistics across millions of cells
  • Accessing pre-calculated embeddings or model predictions

Installation and Setup

Install the Census API:

uv pip install cellxgene-census

Details

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

Questions

What does the cellxgene-census skill do?

cellxgene-census queries the CZ CELLxGENE Census, a collection of more than 61 million single-cell genomics cells from human and mouse. It filters cells by cell type, tissue and disease, retrieves expression data, and integrates the results with scanpy and PyTorch for population-scale single-cell analysis.

How do I install the cellxgene-census skill?

Run npx -y skills add davila7/claude-code-templates --skill cellxgene-census -y in your project. After that, cellxgene-census lets the agent query Census expression data by cell type, tissue or disease.

Which skills lead the Data Science & Analytics category, and where does cellxgene-census stand?

cellxgene-census sits in the Data Science & Analytics category on Claude Marketplaces, next to azure-kusto, analyze-project and run-train. Its distinct focus is single-cell expression queries against the CELLxGENE Census, with scanpy and PyTorch integration.

Does cellxgene-census work with scanpy or PyTorch?

Yes, the cellxgene-census SKILL.md shows loading Census data into AnnData for scanpy workflows and streaming it into a PyTorch dataloader for model training. Its experimental ML module supports train and test splits.

More from davila7/claude-code-templates

All 398

Similar to Cellxgene Census

More Data Science & Analytics