bids

Organize neuroscience datasets into BIDS-compliant structures and fix missing metadata.

74|5|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/dralkh/seerai --skill bids-dralkh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bids
Source: https://github.com/dralkh/seerai/tree/main/skills/bids
Command: npx skills add https://github.com/dralkh/seerai --skill bids-dralkh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you organize, validate, convert, and document neuroscience and biomedical datasets so they conform to BIDS and are easy to share, query, and analyze.

Core Features & Use Cases

  • Dataset organization: Structure raw and derivative data with the correct BIDS directory layout, entity ordering, and file naming rules.
  • Validation and querying: Check compliance, interpret schema rules, and query datasets with PyBIDS-style workflows.
  • Conversion and metadata: Convert DICOM to BIDS with HeuDiConv, dcm2bids, or BIDScoin, then write JSON sidecars, events files, participants tables, and derivative descriptions.
  • Use Case: A lab receives scanner exports, converts them into a shareable dataset, adds task and fieldmap metadata, validates the result, and prepares derivatives for downstream analysis.

Quick Start

Ask the assistant to inspect your dataset layout, identify BIDS compliance issues, and generate the missing sidecars and naming fixes.

Frequently Asked Questions about bids

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert DICOM files to a BIDS-compliant dataset structure?

Convert DICOM to BIDS using tools like HeuDiConv, dcm2bids, or BIDScoin, then generate JSON sidecars and participants tables to ensure proper metadata inheritance and schema compliance.

What is the correct BIDS entity ordering for MRI and EEG data files?

BIDS entity ordering follows schema-based rules for each modality, ensuring proper file naming and directory layout. The Skill checks MRI, EEG, MEG, iEEG, PET, NIRS, motion, and microscopy data against these compliance standards.

How do I fix missing JSON sidecars in my BIDS dataset?

Fix missing JSON sidecars by applying BIDS metadata inheritance rules to generate the required files. The Skill identifies compliance issues during validator triage and writes the missing sidecars, events files, and participants tables.

Can I validate derivative data workflows for BIDS compliance?

Yes, BIDS validation applies to both raw and derivative workflows across multiple neuroimaging modalities. The Skill performs schema-based compliance checks using the BIDS validator and PyBIDS-style query workflows.

Does PyBIDS support querying datasets with EEG and iEEG modalities?

PyBIDS supports querying across EEG, iEEG, MEG, MRI, PET, NIRS, motion, microscopy, and behavioral data. The Skill builds queries and interprets schema rules for these modalities within BIDS-compliant dataset structures.

What metadata do I need to add after DICOM conversion for BIDS validation?

After DICOM conversion, add task metadata, fieldmap information, JSON sidecars, events files, and participants tables. The Skill generates these missing components and ensures proper BIDS provenance references and entity ordering.