Skip to content

Python package for annotated data matrices, the single-cell genomics backbone of the scverse ecosystem.

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

Own this skill? Claim it

What it does

  • Covers AnnData structure, h5ad and zarr I/O, concatenation, subsetting, and memory-efficient handling of large datasets
  • Documents the X, obs, var, layers, obsm, varm, obsp, varp, uns, and raw components, with reference notes for each area
  • Recommends sparse matrices, categorical conversion, backed mode, and storing raw before filtering to keep memory use down
  • Designed for single-cell RNA-seq work and for integration with Scanpy, Muon, and PyTorch loaders

Install

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

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

Files

AnnData

Overview

AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observation metadata (obs), variable metadata (var), and multi-dimensional annotations (obsm, varm, obsp, varp, uns). Originally designed for single-cell genomics through Scanpy, it now serves as a general-purpose framework for any annotated data requiring efficient storage, manipulation, and analysis.

When to Use This Skill

Use this skill when:

  • Creating, reading, or writing AnnData objects
  • Working with h5ad, zarr, or other genomics data formats
  • Performing single-cell RNA-seq analysis
  • Managing large datasets with sparse matrices or backed mode
  • Concatenating multiple datasets or experimental batches
  • Subsetting, filtering, or transforming annotated data
  • Integrating with scanpy, scvi-tools, or other scverse ecosystem tools

Installation

uv pip install anndata

# With optional dependencies
uv pip install anndata[dev,test,doc]

Quick Start

Creating an AnnData object

import anndata as ad
import numpy as np
import pandas as pd

Details

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

Questions

What does the anndata skill do?

The anndata skill helps Claude work with AnnData objects in Python, the annotated data matrices used for single-cell genomics. It covers creating, reading and writing h5ad files, subsetting and concatenating datasets, and integrating with scanpy and other scverse tools.

How do I install the anndata skill?

Run npx -y skills add davila7/claude-code-templates --skill anndata -y in your project to install it. Once installed, the anndata skill lets Claude handle AnnData objects, h5ad files and single-cell RNA-seq data.

Which category does the anndata skill belong to, and what sets it apart?

The anndata skill is in the Data Science & Analytics category. Within that category, it focuses on annotated data matrices and single-cell genomics workflows, while the other skills listed there, such as azure-kusto and analyze-project, cover different tools.

Who should use the anndata skill?

The anndata skill suits developers and researchers working with annotated data in Python, especially single-cell RNA-seq analysis and large biological datasets. It is useful when a task involves AnnData objects, h5ad files or scanpy workflows.

More from davila7/claude-code-templates

All 398