/zarr-data-format:cloud-storage-backendsfrom zarr-data-format
Connects zarr-python 3 to S3, GCS, Azure Blob, and S3-compatible endpoints (MinIO). Covers credentials, caching, request tuning, and troubleshooting remote store errors or slow access.
Ships in zarr-data-format. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Connects zarr-python 3 to S3, GCS and Azure Blob through fsspec, obstore or Icechunk, covering credentials, caching and request tuning.
Core principle: on object storage every metadata or chunk read is an HTTP request with ~20–100 ms to first byte, so request count sets cost and speed. Consolidate metadata, keep chunk objects at 1 MB or more, raise concurrency, and let the provider's credential chain supply secrets.
Opening or writing a store at an s3://, gs://, az:// or S3-compatible URL; choosing FsspecStore, ObjectStore or Icechunk; or a remote store that errors, crawls or costs too much.
When NOT to use:
chunking-strategy. Rewriting to a new layout: rechunking (both in zarr-chunk-optimization).zarr-fundamentals.xr.open_zarr / to_zarr options, Dask alignment: zarr-xarray-integration.data-migration.Install the filesystem you need (s3fs, gcsfs, adlfs, obstore, icechunk). zarr[remote] adds only fsspec and obstore.
| Need | zarr-python 3 |
|---|---|
| Public S3 | FsspecStore.from_url("s3://b/x.zarr", storage_options={"anon": True}, read_only=True) |
| Public GCS / Azure | {"token": "anon"} (gcsfs ignores anon) / {"account_name": "acct", "anon": True} |
| Requester-pays S3 | {"requester_pays": True}, with credentials |
| Private bucket | Env vars, {"profile": "name"}, IAM role, {"token": "google_default"}, Azure {"account_name": "acct"} (DefaultAzureCredential) |
| MinIO / Ceph | {"endpoint_url": "http://host:9000"}, keys in AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY |
| obstore | zarr.storage.ObjectStore(S3Store.from_url(url, region="us-west-2"), read_only=True) |
| Versions, atomic commits | Icechunk: repo.writable_session("main"), write to session.store, session.commit(msg) |
| Local cache | "simplecache::s3://b/x.zarr" with {"s3": {"anon": True, "asynchronous": True}, "simplecache": {"cache_storage": "/tmp/zarr-cache"}} |
| More parallel GETs | zarr.config.set({"async.concurrency": 64}) (default 10); s3fs also needs {"config_kwargs": {"max_pool_connections": 64}} |
| Faster opens | zarr.consolidate_metadata(store) after writes (v2: .zmetadata; v3: inside the root zarr.json) |
Code per provider: patterns.md. End-to-end runs: examples.md. Fixes by symptom: common-issues.md. Credential-free demo: python assets/cloud-storage-demo.py.
| Mistake | Fix |
|---|---|
| Keys, SAS tokens or connection strings in code | Environment variables, profiles, instance roles, managed identity |
zarr-2 FSStore / LRUStoreCache; Icechunk StorageConfig / IcechunkStore.open_or_create | Removed. Use FsspecStore; icechunk.Repository + Session |
simplecache:: with only {"s3": {"anon": True}} | Add "asynchronous": True, or reads fail with an event-loop HTTPClientError whenever the process already used a sync s3fs with the same options |
simplecache:: on sharded arrays or changing data | Unsharded, unchanging data only: shard reads raise OSError and cached objects never refresh |
filecache:: / blockcache:: for Zarr on S3, GCS or Azure | Use simplecache::; through FsspecStore these re-download on every read |
| Sharding to cut GET requests | Bigger inner chunks cut GETs. A partial-shard read is an index GET plus one ranged GET per inner chunk; sharding cuts object and PUT counts |
| Parallel workers writing parts of one shard | Each partial write rewrites the whole shard; align write blocks to shards |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
zarr, object-storage, s3, gcs, azure-blob, fsspec
Generated from the plugin's indexed repository (uw-ssec/savvy) — no native marketplace selected
npx claudepluginhub p/uw-ssec-zarr-data-format-plugins-zarr-data-format5 skills in this plugin
/compression-codecsUse when choosing or configuring Zarr compression in zarr-python 3 (Blosc, Zstd, Gzip, LZ4, LZMA, BZ2; numcodecs filters such as Delta, Quantize, BitRound, FixedScaleOffset, PackBits; compressors=, filters=, serializer=), when v2-style compressor= or numcodecs code fails on a v3 array, or when a store compresses poorly, decompresses slowly, raises codec errors, or may hold corrupted chunks after Blosc multiprocessing use./data-migrationUse when converting HDF5 (.h5) or NetCDF (.nc) files to Zarr, migrating scientific datasets or a Zarr v2 store to Zarr v3, or building a virtual Zarr store over existing files with VirtualiZarr or kerchunk. Also use when a converted store lost scale_factor, _FillValue or time units, kept the old chunk layout, shows phony_dim names, or fails validation against its source./zarr-fundamentalsOther plugins' skills for the same job