Skip to content
Back to skills

Nir Interoperability

ASecurity

Export snnTorch models to NIR and import NIR graphs back into snnTorch.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
businessnode

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill nir-interoperability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nir Interoperability?

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

Security grade badge for Nir Interoperability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-nir-interoperability/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-nir-interoperability)

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
---
name: nir-interoperability
description: "Export snnTorch models to NIR and import NIR graphs back into snnTorch."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# nir-interoperability

Use this sub-skill when the task is specifically about NIR export/import.

## Use this sub-skill for
- exporting supported snnTorch models to NIR
- importing NIR graphs back into snnTorch
- checking sequential or recurrent NIR round-trips
- validating bundled NIR fixtures and compatibility edge cases

## Keep out of scope
- spike encodings and target coding
- training loops and optimization
- plotting and animation
- dataset loading beyond what is needed to build a tiny NIR fixture

## Core contract
- `sample_data` is the trace input used to infer graph shapes.
- `ignore_dims` trims dimensions from traced shapes; use it for batch-first tensors.
- Sequential graphs round-trip through a plain NIR graph.
- Simple recurrent graphs round-trip as an embedded NIR subgraph.
- Use vector-shaped `beta`, `alpha`, `threshold`, and recurrent `V` values that match the neuron width.

## Bundled helpers
- `scripts/nir_roundtrip_smoke.py` — self-contained export/import smoke test
- `references/fixtures/lif.nir` — minimal import fixture
- `references/fixtures/conv_pool_limit.nir` — current conv/pool compatibility reference

For signatures, node mappings, workflow steps, and known failure modes, see the bundled references.

Files in this skill

  • SKILL.md1.4 KB
  • references/api-reference.md3.5 KB
  • references/fixtures/lif.nir17.2 KB
  • references/troubleshooting.md2.1 KB
  • references/workflows.md2 KB
  • scripts/nir_roundtrip_smoke.py4.2 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.