Skip to content
Back to skills

Numcodecs Compression Decompression Starter

ASecurity

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

  • 38 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill numcodecs-compression-decompression-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Numcodecs Compression Decompression Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Numcodecs Compression Decompression Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-numcodecs-compression-decompression-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-numcodecs-compression-decompression-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# numcodecs Compression / Decompression Starter

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

```bash
./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.

Files in this skill

  • SKILL.md1.2 KB
  • assets/toy_matrix_summary.json469 B
  • examples/toy_matrix.tsv31 B
  • metadata.yaml1.5 KB
  • refs.md199 B
  • scripts/run_numcodecs_compression_decompression.py2.4 KB
  • tests/test_run_numcodecs_compression_decompression.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…