numcodecs Compression / Decompression Starter

SkillAI & models

Use this skill to round-trip a small integer matrix through a deterministic numcodecs compressor and inspect the encoded payload summary.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the numcodecs Compression / Decompression Starter skill

About this capability

A framework for discovering, compiling, and validating reusable skills for scientific agents.

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/data-acquisition-and-dataset-handling/numcodecs-compression-decompression-starter/SKILL.md and read by ahel’s review.

Use this skill to round-trip a small integer matrix through a deterministic numcodecs compressor and inspect the encoded payload summary.

What This Skill Does

  • reads a tiny tabular integer matrix
  • encodes the matrix bytes with numcodecs.Blosc
  • decodes the payload and verifies lossless recovery
  • reports shape, dtype, encoded byte count, and simple row statistics

When To Use It

  • when you need a starter for compression-decompression
  • when you want a repo-local numcodecs example outside the full Zarr stack
  • when you need a small regression fixture for round-trip codec checks

Run

./slurm/envs/data-tools/bin/python skills/data-acquisition-and-dataset-handling/numcodecs-compression-decompression-starter/scripts/run_numcodecs_compression_decompression.py --input skills/data-acquisition-and-dataset-handling/numcodecs-compression-decompression-starter/examples/toy_matrix.tsv --out scratch/numcodecs/toy_matrix_summary.json

Notes

  • The codec configuration is fixed so the canonical asset stays stable.
  • The example is intentionally tiny and integer-only; validate codec choices on real payloads before production use.

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
numcodecs-compression-decompression-starter
Source
github.com/ma-compbio-lab/skillfoundry