Skip to content

Standard AnnData data-structure skill for annotated single-cell matrices, h5ad/Zarr I/O, and scverse integration.

CCM score
65 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, reading, writing, concatenating, and manipulating AnnData objects holding X, obs, var, layers, obsm, and uns
  • Includes reference guides on data structure, I/O (h5ad, Zarr, CSV, MTX, Loom, 10X), concatenation, and manipulation
  • Uses anndata.io helpers for non-native formats; ad.concat replaces the removed AnnData.concatenate() in 0.13
  • Designed for analysis of .h5ad files; use scanpy for workflows, scvi-tools for probabilistic models, and cellxgene-census for population queries

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --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

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What is the anndata skill for?

The anndata skill handles annotated data matrices in single-cell analysis, including .h5ad and Zarr files and integration with the scverse ecosystem. It is the data format skill, so analysis workflows are left to scanpy and probabilistic models to scvi-tools.

How do I install the anndata skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill anndata -y in a project. The skill then lets your agent create, read, write and subset AnnData objects and concatenate multiple datasets.

What does the anndata skill need to run?

It requires Python 3.12 or newer and the anndata package, with uv recommended for installation. Optional dask and lazy extras enable lazy I/O, and network access is needed only for installation and remote data.

Where does anndata stand in the Data Science & Analytics category?

The anndata skill is listed in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses on the annotated matrix format used in single-cell genomics rather than general analytics.

More from k-dense-ai/scientific-agent-skills

All 132