When you're wrangling multi-dimensional arrays too big for memory, this gives you chunked storage with compression and cloud integration. It's built for scientific computing workflows where you need to slice and dice terabyte-scale datasets without loading everything at once. Works seamlessly with NumPy, Dask, and Xarray, and the chunking strategy actually matters here. Getting it wrong can make your queries 65x slower according to the docs. Supports S3, GCS, and local storage with the same API. The sharding feature is clever for when you'd otherwise end up with millions of tiny files choking your filesystem. Compression is per-chunk with Blosc by default, which keeps things fast for interactive work.

skills.sh installs
239
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill zarr-python --agent claude-code

Installs into .claude/skills of the current project.

Files

Zarr Python

Overview

Zarr is a Python library for storing large N-dimensional arrays with chunking and compression. Apply this skill for efficient parallel I/O, cloud-native workflows, and seamless integration with NumPy, Dask, and Xarray.

Quick Start

Installation

uv pip install zarr

Requires Python 3.11+. For cloud storage support, install additional packages:

uv pip install s3fs  # For S3
uv pip install gcsfs  # For Google Cloud Storage

Basic Array Creation

import zarr
import numpy as np

# Create a 2D array with chunking and compression
z = zarr.create_array(
    store="data/my_array.zarr",
    shape=(10000, 10000),
    chunks=(1000, 1000),
    dtype="f4"
)

# Write data using NumPy-style indexing
z[:, :] = np.random.random((10000, 10000))

# Read data
data = z[0:100, 0:100]  # Returns NumPy array

Core Operations

Creating Arrays

Zarr provides multiple convenience functions for array creation:

# Create empty array
z = zarr.zeros(shape=(10000, 10000), chunks=(1000, 1000), dtype='f4',
               store='data.zarr')

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & ML, Automation & Workflows, Python, Cloud & Infrastructure
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1sendaifun avatarcoingeckosendaifun/skillsComplete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for building trading bots, portfolio 239skills.sh installs
2aiskillstore avatarxlsxaiskillstore/marketplaceComprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work wit238skills.sh installs
3dylanfeltus avatartrademark-searchdylanfeltus/skillsSearch the USPTO trademark database to check name availability and get registration details. Use when the user wants to check if a name is trademarked, research238skills.sh installs
4davila7 avatarqutipdavila7/claude-code-templatesQuantum mechanics simulations and analysis using QuTiP (Quantum Toolbox in Python). Use when working with quantum systems including: (1) quantum states (kets, b237skills.sh installs
5guia-matthieu avatarhashtag-analyzerguia-matthieu/clawfu-skillsAnalyze hashtag performance and discover trending tags. Use when: researching hashtags for posts; finding related hashtags; analyzing hashtag reach; planning ha237skills.sh installs
6mvanhorn avatarpp-shopifymvanhorn/printing-press-libraryOperate a Shopify store from the terminal with local sync, analytics, and bulk exports.235skills.sh installs