Bids skill for Claude
Organizes, queries, validates, and converts Brain Imaging Data Structure (BIDS) datasets. Supports organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars, or creating BIDS derivatives.
Bids SKILL.md
A preview of the skill file from K-Dense-AI/scientific-agent-skills (https://creativecommons.org/licenses/by/4.0/).
Brain Imaging Data Structure (BIDS)
Overview
The Brain Imaging Data Structure (BIDS) is a community standard for organizing and describing neuroscience and biomedical research datasets. It defines a consistent file naming convention, directory hierarchy, and metadata schema so that datasets are immediately understandable by humans and software tools alike. BIDS is governed by the BIDS Specification (reviewed against v1.11.2, released 2026-09-29) and is maintained by the community via the BIDS-Standard GitHub organization.
While BIDS originated for MRI, it has grown well beyond neuroimaging. The specification now covers 11 modalities spanning imaging, electrophysiology, and behavioral data:
- Imaging: MRI (structural, functional, diffusion, fieldmaps, perfusion/ASL), PET, microscopy
- Electrophysiology: EEG, MEG, iEEG (intracranial EEG), EMG
- Other: NIRS (near-infrared spectroscopy), motion capture, behavioral data (without imaging), MR spectroscopy
Active BEPs are extending BIDS further — notably BEP032 (microelectrode electrophysiology) proposes support for extracellular recordings including Neuropixels probes, bringing BIDS to a prevalent methodology in animal neuroscience research (see also the neuropixels-analysis skill).
Repository submission requirements vary by modality and archive; check the target archive before preparing a deposit.
The Python ecosystem for BIDS centers on PyBIDS (pybids) for querying and indexing BIDS datasets, and the bids-validator (Deno-based, available as PyPI package bids-validator-deno or via Deno directly) for compliance checking. Conversion from DICOM is typically done with HeuDiConv, dcm2bids, or BIDScoin.
When to Use This Skill
Apply this skill when:
- Organizing raw neuroscience data (imaging, electrophysiology, behavioral) into BIDS-compliant directory structures
- Querying an existing BIDS dataset to find specific files by subject, session, task, run, or modality
- Validating a dataset against the BIDS specification before sharing or submission
- Converting DICOM data from scanners into BIDS format
How to install Bids
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit K-Dense-AI/scientific-agent-skills/skills/bids#main ~/.claude/skills/bidsCodex
npx degit K-Dense-AI/scientific-agent-skills/skills/bids#main ~/.codex/skills/bidsClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Bids skill do?
Organizes, queries, validates, and converts Brain Imaging Data Structure (BIDS) datasets. Supports organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars, or creating BIDS derivatives.
+How do I install Bids in Claude Code?
Copy the skill folder into ~/.claude/skills/bids, for example with "npx degit K-Dense-AI/scientific-agent-skills/skills/bids#main ~/.claude/skills/bids". Claude Code loads it automatically and uses it when a task matches.
+Does Bids work with ChatGPT or Codex?
Yes. Bids uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/bids. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Bids free?
Bids is published on GitHub by K-Dense-AI under the https://creativecommons.org/licenses/by/4.0/ license; check the license terms before using it.