Zarr Python

🌐Community
by davila7 · vlatest · Repository

Reads, writes, and manipulates data stored in Zarr format using Python libraries for efficient large dataset handling.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add zarr-python npx -- -y @trustedskills/zarr-python
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "zarr-python": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/zarr-python"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The zarr-python skill enables AI agents to read, write, and manipulate Zarr arrays directly within Python environments. It provides native support for chunked compression storage formats, allowing efficient handling of large-scale scientific datasets without loading the entire file into memory.

When to use it

  • Processing massive multidimensional arrays like climate models or astronomical data where RAM is limited.
  • Performing incremental updates on specific chunks of a dataset rather than rewriting the whole file.
  • Integrating Zarr storage backends with existing NumPy or Pandas workflows for seamless data access.
  • Managing distributed computing tasks where datasets need to be split across multiple nodes efficiently.

Key capabilities

  • Native creation and management of chunked, compressed Zarr arrays.
  • Efficient memory usage by loading only required data slices (chunks).
  • Compatibility with standard Python scientific stacks including NumPy and Dask.
  • Support for various compression codecs to balance storage size and read/write speed.

Example prompts

  • "Create a new Zarr array named 'climate_data' with shape (100, 100) using GZIP compression."
  • "Read the first 50 chunks of the 'temperature' variable from the existing 'weather_zarr' store."
  • "Update specific coordinates in a large Zarr dataset without reloading the entire file into memory."

Tips & gotchas

Ensure your Python environment has the zarr package installed before attempting to use this skill, as it is not included by default. Be mindful that while chunking improves performance for partial reads, writing small amounts of data frequently can be slower than writing a single contiguous block due to metadata overhead.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
davila7
Installs
119

🌐 Community

Passed automated security scans.