One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill cellxgene-census-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cellxgene-census
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/cellxgene-census
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill cellxgene-census-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you access and analyze large-scale, versioned single-cell expression data without manually handling dataset discovery, filtering logic, and memory constraints. It supports both exploratory metadata queries and practical extraction of expression matrices for downstream analysis and modeling.

Core Features & Use Cases

  • Versioned CELLxGENE Census access: Open stable or pinned releases for reproducible work.
  • Flexible filtering by biological and technical metadata: Narrow results by cell type, tissue, disease, donor, assay, and more (including primary-cell deduping).
  • Scalable data retrieval: Use in-memory AnnData loading for smaller queries and out-of-core axis queries for larger ones.
  • Integration-ready workflows: Provide patterns for scanpy analysis and experimental PyTorch dataloaders.
  • Rich reference guidance: Includes schema and common query patterns to correctly compose filters and choose the right access method.

Use Case: You want to compare CD4 T cells across brain tissues in a specific disease context, load the right genes, and run scanpy preprocessing and UMAP—without writing extensive boilerplate for dataset navigation and SOMA queries.

Quick Start

Use the cellxgene-census skill to query anndata for Homo sapiens CD4 T cells in brain with is_primary_data set to True while selecting only the metadata columns you need.

Frequently Asked Questions about cellxgene-census

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query single-cell genomics data from CELLxGENE Census by cell type and tissue?

Querying single-cell genomics data from CELLxGENE Census uses SOMA-based value_filter syntax to narrow results by cell identity, tissue, disease, and donor metadata across obs and var dimensions. You can retrieve specific cell types like CD4 T cells in brain tissues by applying these metadata-driven filters.

What's the best way to load large single-cell expression datasets without running out of memory?

Loading large single-cell expression datasets without memory limits requires out-of-core axis queries for large result sets, while smaller queries use in-memory AnnData loading. This scalable data retrieval method handles 61M+ cells by iterating chunked matrices rather than loading everything at once.

How does SOMA querying syntax work for filtering single-cell RNA-seq metadata?

SOMA querying syntax filters single-cell RNA-seq metadata by applying explicit value_filter conditions across obs and var dimensions. You must use strict primary-data filtering with is_primary_data set to True and specify explicit census versioning for reproducible queries.

Can I use scanpy and PyTorch dataloaders with CELLxGENE Census data?

You can use scanpy and PyTorch dataloaders with CELLxGENE Census data through integration-ready workflows. The system provides patterns for scanpy preprocessing and experimental PyTorch training dataloaders to feed extracted AnnData subsets directly into downstream analysis.

Do I need to pin a specific CELLxGENE Census version for reproducible single-cell analysis?

You need to pin a specific CELLxGENE Census version for reproducible single-cell analysis to ensure stable dataset access. The system requires explicit census versioning and supports opening stable or pinned releases, preventing data drift when querying 61M+ single cells.