Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Zarr-Python Large Array Guide

Helps Claude write correct Zarr 3.x code for chunked, compressed N-dimensional arrays on local disk or cloud object storage.

Data & AnalyticsIntermediate33,0303,248AI score 9/10Last updated: Aug 9, 2026

What it does

  • Produces up-to-date Zarr 3.x code: array creation (create_array, zeros, ones, full), opening arrays, NumPy-style and advanced indexing (vindex, oindex, blocks), resize and append.
  • Shows how to build group hierarchies, attach JSON-serializable attrs metadata, and inspect structure with tree().
  • Points to bundled references for chunk sizing (~1 MB local, 5–100 MB in cloud), sharding, codec choice, fsspec S3/GCS stores, and credential hygiene (prefer IAM roles, never print secrets).
  • Flags Zarr 2 → 3 breaking changes such as removed create_dataset/require_dataset and their replacements.

Who it's for

  • Researchers and data engineers handling GB–TB scale array data (climate, satellite, microscopy).
  • Teams building parallel I/O pipelines with Dask and Xarray.
  • Anyone migrating an existing Zarr 2 codebase to 3.x.

Example uses

  1. "Create a 10000×10000 float32 array with 1000×1000 chunks and write it to an S3 bucket" → create_array snippet plus zarr[remote]/s3fs setup.
  2. "Build a group hierarchy for temperature and precipitation with unit metadata" → create_group + attrs example.
  3. "My old create_dataset call fails on zarr 3" → rewritten with create_array per the migration notes.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/zarr-python/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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 && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/zarr-python ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and go to your home directory: cd ~
  2. Clone the repo: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Create the skills folder if needed: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r scientific-agent-skills/skills/zarr-python ~/.claude/skills/
  5. Verify the references/ files came along: ls ~/.claude/skills/zarr-python
  6. Restart Claude Code, then try: "use zarr to create a chunked array on S3".
  7. In your Python environment install the library separately: uv pip install zarr (add zarr[remote] with s3fs/gcsfs for cloud stores). Check the official docs for the true latest version before pinning.