Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nwb-conversion

Skill by K-Dense-AI

Converts two-photon TIFF imaging and timestamped position CSV files into validated Neurodata Without Borders (NWB) files. Intended for neuroscientists using NeuroConv, PyNWB and NWB Inspector on single-channel, single-plane sessions. It does not perform spike sorting.

  • Score 94
  • 60k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install nwb-conversion

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/nwb-conversion ~/.claude/skills/nwb-conversion

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install nwb-conversion in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

nwb-conversion is an agent skill from K-Dense-AI that converts neuroscience acquisition data to Neurodata Without Borders (NWB) files using NeuroConv and PyNWB. It handles two explicit streams in one session: a single-channel, single-plane grayscale multi-page TIFF with frame timestamps, and a calibrated position CSV with time, x and y columns. It preserves metadata and timebases and does not perform spike sorting.

The workflow checks clock alignment using acquisition evidence, such as matched synchronization pulses. It fits one affine clock transform, checks the residual against a tolerance, and refuses extrapolation beyond the pulse range. It then writes the NWB file and produces schema validation, NWB Inspector findings and round-trip checks in a validation report. It is aimed at researchers who need this specific conversion, not arbitrary acquisition formats.

Written from the project's SKILL.md and checked against it.

What it can do

  • TIFF imaging conversionConverts a multi-page TIFF with frame timestamps into an acquisition TwoPhotonSeries named Imaging.
  • Position conversionWrites a calibrated position CSV as a Behavior Position SpatialSeries, converting cm or mm to meters.
  • Clock alignmentFits one affine clock transform from matched synchronization pulses and checks its residual.
  • Validation reportProduces schema validation, NWB Inspector findings and round-trip checks in a .validation.json file.
  • Provenance recordsOutputs source and converter checksums, package versions and supplied metadata with the report.

What you need

  • Python 3.12
  • neuroconv[tiff] 0.10.2 with the pinned PyNWB, NWB Inspector, roiextractors, tifffile, zarr and hdmf-zarr versions
  • Local HDF5 file access

Try asking

  • Convert my two-photon TIFF and position CSV session into an NWB file.
  • Check clock alignment using these matched sync pulses before converting.
  • Run schema validation and NWB Inspector on my converted session.

Good to know

  • Supports one channel and one plane for TIFF imaging only.
  • Does not perform spike sorting or decode SpikeGLX, Open Ephys or multichannel TIFF.
  • Position CSV loads fully into memory; TIFF writes are iterative.
  • Successful validation does not confirm anatomical labels, pulse pairing or calibration.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/nwb-conversion/SKILL.md, skills/nwb-conversion/scripts/convert_session.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • assets/session-template.json1 KB
  • references/input-contract.md5 KB
  • references/upstream-review.md4 KB
  • scripts/convert_session.py16 KB

Alternatives to nwb-conversion

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

nwb-conversion: common questions

Does it support SpikeGLX or Open Ephys data?

No. The source says the helper does not decode SpikeGLX, Open Ephys, multichannel TIFF, volumetric TIFF or compressed video.

Does it perform spike sorting?

No. The source states that this skill does not perform spike sorting.

Does it resample position data in time?

No. Position coordinates are converted to meters without temporal resampling.

How do I install nwb-conversion?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is nwb-conversion free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is nwb-conversion safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to nwb-conversion?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

nwb-conversion Install

Add to stack

Loading.