If you're working with single-cell genomics data, this is the data structure you'll be using whether you realize it or not. It's the foundation under scanpy, scvi-tools, and most of the scverse ecosystem. Think of it as a specialized container that bundles your expression matrix with all the metadata about cells and genes, plus support for sparse matrices and lazy loading when files get huge. The skill covers creating and manipulating these objects, reading h5ad and zarr files, concatenating datasets from multiple batches, and staying memory-efficient with backed mode. One thing to note is that for actual 10X file reading you'll want the scanpy skill instead, since those convenience functions live there now.

skills.sh installs
2.1K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill anndata --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

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

All 137
1k-dense-ai avatarclinical-reportsk-dense-ai/scientific-agent-skillsCreate safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only2Kskills.sh installs
2lingzhi227 avatardata-analysislingzhi227/agent-research-skillsGenerate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce analysis reports with p-values, eff2Kskills.sh installs
3unclecatvn avatarodoo-19unclecatvn/agent-skillsOdoo 19 development knowledge base with 18 specialized guides covering Actions (ir.actions.*, cron jobs, server actions), Controllers (HTTP routing, endpoints, 2Kskills.sh installs
4k-dense-ai avatarscanpyk-dense-ai/scientific-agent-skillsStandard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, visua2Kskills.sh installs
5huggingface avatarhuggingface-vision-trainerhuggingface/skillsTrains and fine-tunes vision models for object detection (D-FINE, RT-DETR v2, DETR, YOLOS), image classification (timm models — MobileNetV3, MobileViT, ResNet, 2Kskills.sh installs
6k-dense-ai avatarpydicomk-dense-ai/scientific-agent-skillsUse pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compress2Kskills.sh installs