Zarr-Python Large Array Guide
A hands-on Zarr-Python 3 skill for chunked, compressed N-D arrays with parallel I/O on local disk and S3/GCS.
What it does
Guides Claude in writing correct Zarr-Python 3 code for storing very large N-dimensional arrays as compressed chunks. It covers array creation (create_array, zeros, ones, array), NumPy-style and advanced indexing (vindex, oindex, blocks), resizing and appending, hierarchical groups, JSON attribute metadata, chunk sizing and codec selection, fsspec-backed remote stores (S3/GCS), and integration with NumPy, Dask and Xarray. Bundled reference files handle the full API surface and v2→v3 migration.
Who it's for
- Researchers handling large scientific datasets (climate, satellite, microscopy)
- Data engineers needing a cloud-native array format inside Dask/Xarray pipelines
- Developers migrating legacy Zarr v2 code to the v3 API
Examples
- "Create a 10000x10000 float32 array with 1000x1000 chunks and write it to S3" → get working code plus remote-store setup and credential best practices
- "Design an appendable time-series Zarr store for daily observations" → chunk layout for appends and consolidated metadata guidance
- "My v2
create_datasetcall fails on Zarr 3" → mapping tocreate_array/require_arraywith a migration checklist
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/zarr-python folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/zarr-python/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/zarr-python ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r scientific-agent-skills/skills/zarr-python ~/.claude/skills/ - Install the library in your Python environment:
uv pip install "zarr==3.2.1"(adduv pip install "zarr[remote]==3.2.1" s3fs gcsfsfor cloud stores). - Restart Claude Code, then ask something like "build a chunked Zarr store for this large array" to trigger the skill.