
Zarr Python Array Storage
Lets an agent create, read, resize and migrate chunked N-D scientific arrays with Zarr-Python 3.
- Repository
- K-Dense-AI/scientific-agent-skills
- Stars
- 55,780
- Licence
- MIT
- Files
- 8 files
What it does
Once installed, the agent knows how to store large multi-dimensional scientific arrays (such as climate grids or imaging data) in the Zarr format, split into chunks so only the needed pieces are read back. It guides choices about chunk size, compression, sharding, cloud storage, and conversion to Zarr 3, and it reminds the agent to verify data after writing. Included reference notes cover API details, migration and integration with NumPy, Dask and Xarray.
Great for
- Scientists or engineers storing large array datasets who want efficient partial reads
- Developers migrating Zarr 2 stores to the Zarr 3 format
- Teams writing array data to S3 or Google Cloud Storage with proper validation
Skip it if
- Small datasets that fit easily in a CSV or a NumPy .npy file, where Zarr adds complexity without benefit
- Work needing a guaranteed secure deletion: the skill states resize is not secure erasure
- Pipelines that must read Zarr with tools pinned to zarr<3, since this skill targets Zarr-Python 3.4.0 only
Try asking
- “Convert my 4D climate NetCDF data into a chunked Zarr 3 store with sensible chunk sizes”
- “Append new daily time steps to my existing Zarr array and verify the result”
- “Set up sharded Zarr storage on S3 for a dataset my team reads in small windows”
- “Migrate this Zarr 2 store to format 3 and check values, dtype and metadata match”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 8 original files, the MIT licence and an attribution note.
zarr-python.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip zarr-python.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip zarr-python.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Name the data shape, dtype and the typical slice you read so the agent can pick chunk sizes and benchmark them
- Always write to a new destination (overwrite=False) and keep the original until the reopened copy is verified
- Avoid full-array operations like np.asarray or .compute() on huge datasets; ask for bounded selections instead
What's inside
- references/api_reference.md
- references/chunking_and_compression.md
- references/integration.md
- references/performance_and_patterns.md
- references/review.md
- references/storage_backends.md
- references/v3_migration.md
- SKILL.md
Redistributed unmodified from K-Dense-AI/scientific-agent-skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.