anndata
Data structure for annotated matrices in single-cell analysis.
Skill by ccfwwm
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ccfwwm-anndata
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
anndata- Description
- Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
- License
- AGPL-3.0
- Compatibility
- Requires Python 3.11+ and uv. Examples target AnnData 0.12.16, with experimental APIs clearly marked where used.
- Allowed tools
- read, write, edit, grep, pwsh, bash, python, r, run_in_context, get_run, monitor_run, cancel_run
- Metadata
- version: 1.1 · skill-author: K-Dense Inc.
- Instructions
- 433 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- best_practices.md · references/
- concatenation.md · references/
- data_structure.md · references/
- io_operations.md · references/
- manipulation.md · references/
SKILL.md (first lines)
## ZeroWall execution contract
These host rules override upstream examples when they differ:
- Call the exact native tool name with its argument object; use the host tool list to confirm the current schema. Loading a Skill supplies instructions, not execution. Use `python` for the managed local interpreter, and discover `pwsh` on Windows or `bash` on Unix when shell work is needed.
- Use `python` or `r` for short interactive work. Use `run_in_context` plus `monitor_run` for training, GPU, Nextflow, batch, remote, or otherwise long-running work; do not extend the ordinary `shell` timeout.
- Resolve credentials only through **Settings > Credentials** and the approved execution-context environment. Never create, scan, or load project `.env` files and never print or persist secret values.
- Treat network calls, cloud jobs, experiment submissions, writes, deletion, and physical equipment actions as approval-gated. Default to read-only inspection, validation, or dry-run planning until the user explicitly requests execution.
- Use `zerowall-python-packages` for managed Python dependency changes: inspect, preview, obtain confirmation, apply, and verify. Do not run pip/uv/conda against the managed snapshot. Report missing external runtimes separately.
- Use `pathlib`, project-relative paths, and platform temporary directories. Gate Unix-only commands behind an explicit WSL/SSH execution context.
- Current companion capabilities take precedence over upstream names: `publication-figures`, `figure-style`, `paper-to-report`, `literature-review`, `citation-reviewer`, `probe-compute-environment`, `ppt-maker`, `generate_image`, and bundled MCP tools discovered with Host tool registry.
# 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
Requires Python 3.11+. Current stable release: 0.12.16 (released 2026-05-18).
```bash
uv pip install "anndata==0.12.16"
# Lazy I/O and dask-backed operations
uv pip install "anndata[dask,lazy]==0.12.16"
# Development / docs (contributors)
uv pip install "anndata[dev,test,doc]==0.12.16"
```
Use unpinned installs only when intentionally tracking the latest compatible release.
Current API notes:
- Use `anndata.io` for non-native `read_*` and `write_*` helpers. Top-level `anndata.read_h5ad` and `anndata.read_zarr` remain supported.
- Avoid deprecated APIs: `ad.read`, `AnnData.concatenate()`, `AnnData.*_keys()`, and `anndata.__version__`. Prefer `ad.read_h5ad`, `ad.concat`, mapping `.keys()`, and `importlib.metadata.version("anndata")`.
- Treat `anndata.experimental` APIs as useful but unstable. Prefer them for large-data workflows only when their current caveats are acceptable.
## Quick Start
### Creating an AnnData object
```python
import anndata as ad
import numpy as np
import pandas as pd
# Minimal creation
X = np.random.rand(100, 2000) # 100 cells × 2000 genes
adata = ad.AnnData(X)
# With metadata
obs = pd.DataFrame({
'cell_type': ['T cell', 'B cell'] * 50,
'sample': ['A', 'B'] * 50
}, index=[f'cell_{i}' for i in range(100)])
var = pd.DataFrame({
'gene_name': [f'Gene_{i}' for i in range(2000)]
}, index=[f'ENSG{i:05d}' for i in range(2000)])
adata = ad.AnnData(X=X, obs=obs, var=var)
```
### Reading data
```python
# Native formats (read_h5ad/read_zarr remain at top-level)
adata = ad.read_h5ad('data.h5ad')
adata = ad.read_h5ad('large_data.h5ad', backed='r') # lazy load for large files
adata = ad.read_zarr('data.zarr')
# Other formats: prefer anndata.io (top-level imports are deprecated)
from anndata.io import read_csv, read_loom, read_mtx
adata = read_csv('data.csv')
adata = read_loom('data.loom')
# 10X Genomics: use scanpy (not anndata) — see scanpy skill
import scanpy as sc
adata = sc.read_10x_h5('filtered_feature_bc_matrix.h5')
adata = sc.read_10x_mtx('filtered_feature_bc_matrix/')
```
### Writing data
```python
# Write h5ad file
adata.write_h5ad('output.h5ad')
# Write with compression
adata.write_h5ad('output.h5ad', compression='gzip')
# Write other formats
adata.write_zarr('output.zarr')
adata.write_csvs('output_dir/')
```
### Basic operations
```python
# Subset by conditions
t_cells = adata[adata.obs['cell_type'] == 'T cell']
# Subset by indices
subset = adata[0:50, 0:100]
# Add metadata
adata.obs['quality_score'] = np.random.rand(adata.n_obs)
adata.var['highly_variable'] = np.random.rand(adata.n_vars) > 0.8From ccfwwm/zerowall-dsh-plugins, AGPL-3.0.
More from ccfwwm/zerowall-dsh-plugins
- 0.592score
analytical-method-validation
ccfwwm
Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
ppt-maker
ccfwwm
生成/编辑/逆向/导出 PPT 与演示文稿。工具优先:用插件注册的十一个 ppt_* 工具完成创建/编辑/撤销/重做/渲染/质检/导出,以及把既有 .pptx 逆向成 PPTD 工程或外科手术式轻改(引擎 @office-kit/pptx,本地纯 TS 构建最终 pptx);Python…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
issue-triage
ccfwwm
对本仓库的 issue 与 PR 做分类/判别(类型 · 领域 · 优先级),给出「关闭 / 追信息 / 留待办 / 等 review」的结论,并把结果同步到 Projects v2 排期看板与分诊文档。触发词:分诊 issue、整理/清理 issue、打优先级标签、判 issue 还是 PR、PR 排队、把 PR…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
alphafold2
ccfwwm
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
agent-infini
ccfwwm
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks, database/RAG context, and task workspace files.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
analysis-workflow
ccfwwm
Organize multi-step scientific analyses into reproducible, self-contained modules.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
dsh-release-notes
ccfwwm
根据缓存的候选 commit 为 dsh-file-review 生成精简、易读的 GitHub Release 草稿,仅包含 Features 和 Bug Fixes。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
media-create
ccfwwm
通过对话创作用户明确要求的独立视频、音乐与宣传片。普通图片生成和编辑使用 gpt-image-generator;媒体项目中的图片只作为视频参考素材。
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
academic-research-shared
ccfwwm
Shared contracts and references used by the integrated Academic Research Skills.
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
ars-abstract
ccfwwm
ARS academic-paper `abstract-only` mode — bilingual abstract + keywords
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
ars-3w
ccfwwm
ARS deep-research `three-way-scan` mode — WHY / HOW / WHAT paper comparison
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
ars-citation-check
ccfwwm
ARS academic-paper `citation-check` mode — citation error report
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (12 days ago)
- Last release
- Oct 21, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1
- License
- AGPL-3.0
- Repository
- github.com/ccfwwm/zerowall-dsh-plugins
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.597score
anndata
mkurman
Data structure for annotated matrices in single-cell analysis.
SkillAFreshness: A★ 325Claude Code +9 - 0.334score
anndata
LUNARTECH-X
Data structure for annotated matrices in single-cell analysis.
SkillCFreshness: C★ 17Claude Code +9 - 0.327score
anndata
tassiovale
Data structure for annotated matrices in single-cell analysis.
SkillCFreshness: C★ 12Claude Code +9 - 0.320score
anndata
shushuzn
Data structure for annotated matrices in single-cell analysis.
SkillCFreshness: C★ 5Claude Code +9 - 0.315score
anndata
Masterofowls
Data structure for annotated matrices in single-cell analysis.
SkillBFreshness: BClaude Code +9 - 0.315score
anndata
nikhilesh-s
Data structure for annotated matrices in single-cell analysis.
SkillBFreshness: BClaude Code +9 - 0.313score
anndata
qinyan-ai
Data structure for annotated matrices in single-cell analysis.
SkillDFreshness: D★ 87Claude Code +9 - 0.302score
anndata
Zaoqu-Liu
Data structure for annotated matrices in single-cell analysis.
SkillDFreshness: D★ 60Claude Code +9 - 0.285score
anndata
PROgram52bc
Data structure for annotated matrices in single-cell analysis.
SkillCFreshness: CClaude Code +9 - 0.269score
anndata
lamm-mit
Data structure for annotated matrices in single-cell analysis.
SkillCFreshness: C★ 250Claude Code +9 - 0.269score
anndata
mugpeng
Data structure for annotated matrices in single-cell analysis.
SkillDFreshness: D★ 2Claude Code +9 - 0.259score
anndata
Vaishnav14220
Data structure for annotated matrices in single-cell analysis.
SkillDFreshness: D★ 1Claude Code +9
More from ccfwwm
- 0.592score
analytical-method-validation
ccfwwm
Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
issue-triage
ccfwwm
对本仓库的 issue 与 PR 做分类/判别(类型 · 领域 · 优先级),给出「关闭 / 追信息 / 留待办 / 等 review」的结论,并把结果同步到 Projects v2 排期看板与分诊文档。触发词:分诊 issue、整理/清理 issue、打优先级标签、判 issue 还是 PR、PR 排队、把 PR…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
ppt-maker
ccfwwm
生成/编辑/逆向/导出 PPT 与演示文稿。工具优先:用插件注册的十一个 ppt_* 工具完成创建/编辑/撤销/重做/渲染/质检/导出,以及把既有 .pptx 逆向成 PPTD 工程或外科手术式轻改(引擎 @office-kit/pptx,本地纯 TS 构建最终 pptx);Python…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
agent-infini
ccfwwm
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks, database/RAG context, and task workspace files.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
alphafold2
ccfwwm
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
analysis-workflow
ccfwwm
Organize multi-step scientific analyses into reproducible, self-contained modules.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
anndata skill. Agent Mart. https://agentmart.dev/skills/ccfwwm-anndata (last updated 2026-10-24)