bids-validator

bids-validator is an agent for Claude Code from neuromechanist/research-skills. It costs 63 tokens per session (625 once invoked), scanned A, original, BSD-3-Clause.

An agent that checks BIDS datasets against the BIDS standard, a shared way to organize and describe brain-imaging research data. It interprets validation findings and suggests fixes.

In plain words
What is it for?
It is for validating datasets, diagnosing missing files or invalid names and metadata, and preparing data for repositories such as OpenNeuro or NEMAR.
Why use it?
It separates serious compliance errors from warnings and optional suggestions, making it clearer what must be corrected before sharing a dataset.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the neuroinformatics plugin — 2 skills, 1 agent shipped together

Good fit It is for validating datasets, diagnosing missing files or invalid names and metadata, and preparing data for repositories such as OpenNeuro or NEMAR.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/neuromechanist/research-skills/bids-validator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/neuromechanist/research-skills

Made for: Claude Code.

Or install neuroinformatics, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bids-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/neuromechanist/research-skills/bids-validator/github.svg)](https://agentmods.dev/agents/neuromechanist/research-skills/bids-validator)
Your own site
<a href="https://agentmods.dev/agents/neuromechanist/research-skills/bids-validator"><img src="https://agentmods.dev/badge/agents/neuromechanist/research-skills/bids-validator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bids-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/neuromechanist/research-skills/bids-validator"><img src="https://agentmods.dev/badge/agents/neuromechanist/research-skills/bids-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00625
Opus 5 $0.00032 $0.00313
Sonnet 5 $0.00013 $0.00125
Haiku 4.5 $0.00006 $0.00063

Measured 10d ago against content hash b070016bb11e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bids-validator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/neuroinformatics/agents/bids-validator.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BIDS Validator Agent

Autonomously validate a BIDS dataset, interpret validation results, categorize errors by severity, and provide specific fixes for each issue.

Procedure

1. Locate Dataset

Find the BIDS dataset root (contains dataset_description.json):

find . -name "dataset_description.json" -maxdepth 2

2. Run BIDS Validator

# Try the CLI validator first
bids-validator /path/to/dataset --json 2>/dev/null

# Fallback: Python validator
python3 -c "from bids_validator import BIDSValidator; print('available')" 2>/dev/null

3. Parse Results

Categorize findings:

  • Errors (must fix): Missing required files, invalid naming, schema violations
  • Warnings (should fix): Missing recommended fields, deprecated practices
  • Info (optional): Suggestions for improvement

4. Diagnose Common Issues

For each error, provide the specific fix:

MISSING_REQUIRED_FILE:

  • Check which file is missing (dataset_description.json, participants.tsv, etc.)
  • Generate the file with required fields

INVALID_FILE_NAME:

  • Show correct naming pattern
  • Provide rename command

SIDECAR_INVALID:

  • Read the JSON sidecar
  • Identify missing required fields
  • Add them with appropriate values

EVENTS_TSV_MISSING:

  • Check if events are in the data file
  • Extract and create events.tsv

CHANNELS_TSV_MISSING:

  • Read channel info from data file header
  • Generate channels.tsv

5. Apply Fixes (with confirmation)

For each fixable issue:

  1. Show what will be changed
  2. Apply the fix
  3. Re-validate to confirm

6. Generate Report

## BIDS Validation Report

Dataset: {path}
BIDS Version: {version from dataset_description.json}

### Summary
- Subjects: N
- Sessions: N
- Modalities: eeg, emg, anat
- Total errors: N
- Total warnings: N

### Errors Fixed
1. [FIXED] Missing dataset_description.json - created with required fields
2. [FIXED] sub-01_task-rest_eeg.json missing PowerLineFrequency - added 60

### Remaining Issues
1. [WARNING] Recommended field "InstitutionName" missing in 12 sidecars
2. [INFO] Consider adding a README file

### Ready for Submission: YES/NO

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 96 lines · 63 tokens per session scan A b070016bb11e

Subscribe to this mod's changes

bids-validator is an agent published in the GitHub repository neuromechanist/research-skills (45 stars, last pushed 7d ago), licensed BSD-3-Clause. It adds 63 tokens to every session and 625 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

godot-performance-profiler

Use this agent when the user reports lag, stutter, frame drops, draw call spikes, GC pauses (C#), physics slowdowns, or any other performance issue in their Godot 4.x project. The agent reads code, asks for profiler captures before guessing, classifies the bottleneck (CPU vs. GPU, draw calls vs. fillrate, physics vs.…

jame581/GodotPrompter · 326 tokens

godot-csharp-engineer

Use this agent for C#-first Godot 4.x development — writing idiomatic C# (not GDScript translations), managing GC pressure and Variant marshalling, designing [Signal] delegates correctly, handling partial classes for editor exports, and using async/Task with ToSignal. Also use this agent in parity mode to close the C#…

jame581/GodotPrompter · 426 tokens

data-analyst

Data analysis and visualization expert. Use for SQL queries, data exploration, analytics, reporting, and insights. Triggers: data, analysis, sql, query, visualization, metrics, dashboard, pandas, report.

softspark/ai-toolkit · 47 tokens

godot-tools-engineer

Use this agent for Godot 4.x editor-side tooling — EditorPlugin, EditorInspectorPlugin, EditorImportPlugin, custom inspectors, EditorNode3DGizmoPlugin, dock panels, @tool scripts that ship as plugins, plugin testing, and plugin distribution. Works in both GDScript and C# (with #if TOOLS guards). GDExtension (C++…

jame581/GodotPrompter · 388 tokens

godot-animator

Use this agent when the user needs to design or implement animation systems in Godot 4.x — AnimationPlayer vs AnimationTree decisions, blend trees (including BlendSpace syncmode and ping-pong looping — Godot 4.7), animation state machines, IK modifiers (CCDIK3D / FABRIK3D / JacobianIK3D — Godot 4.6+)…

jame581/GodotPrompter · 414 tokens

godot-ui-designer

Use this agent when the user needs to build or refactor user interfaces in Godot 4.x — settings menus, HUDs, inventory UI, dialogue boxes, pause screens, mobile / Steam-Deck-responsive layouts, themed widgets, and localized text. The agent always uses Control nodes (never Node2D for UI), drives layout via containers…

jame581/GodotPrompter · 401 tokens