Skip to content
Back to skills

Mne Python

ASecurity

"Route MNE-Python neurophysiology I/O, preprocessing,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
datapythonbashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill mne-python --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mne Python?

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

Security grade badge for Mne Python
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-mne-python/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-mne-python)

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: mne-python
description: "Route MNE-Python neurophysiology I/O, preprocessing,
  visualization, source modeling, analysis, CLI, datasets, and
  repository-development workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# MNE-Python repo skill

Use this skill when a task involves MNE-Python: MEG/EEG/iEEG/fNIRS/eye-tracking
I/O, Raw/Epochs/Evoked objects, preprocessing, source localization,
time-frequency analysis, statistics, decoding, visualization, reports, datasets,
CLI commands, or safe repository maintenance.

## Start here

1. Confirm MNE-Python is importable and record its version:
   `python -c "import mne; print(mne.__version__)"`.
2. For install choices, optional extras, Python requirements, and environment
   checks, read [references/installation-and-environment.md](references/installation-and-environment.md).
3. For a package map and high-level object relationships, read
   [references/package-map.md](references/package-map.md).
4. If an error spans install, imports, optional dependencies, data/cache,
   plotting backends, or runtime state, read
   [references/troubleshooting.md](references/troubleshooting.md).
5. To smoke-test an environment without datasets or GUI, run
   [scripts/mne_smoke_check.py](scripts/mne_smoke_check.py). For CLI help and
   command discovery, run [scripts/mne_cli_probe.py](scripts/mne_cli_probe.py).
6. To check staleness against a checkout, read
   [references/repo-provenance.md](references/repo-provenance.md).

## Route by task

- **File I/O, Raw, Info, channels, reader selection, array-to-Raw, preload, and
  vendor formats** → `sub-skills/io-raw-data/SKILL.md`.
- **Events, annotations, filtering, bad channels, ICA/SSP, artifact correction,
  Epochs, Evoked, covariance, and rank** →
  `sub-skills/preprocessing-epochs-evoked/SKILL.md`.
- **Plots, topomaps, interactive/headless visualization, 3D backend choices, and
  `mne.Report`** → `sub-skills/visualization-reporting/SKILL.md`.
- **Source spaces, BEM, transforms, forward models, inverse operators,
  beamformers, dipoles, source estimates, labels, and morphing** →
  `sub-skills/source-modeling-inverse/SKILL.md`.
- **PSD, TFR/CSD, cluster statistics, regression, decoding, scikit-learn
  estimators, and simulation** →
  `sub-skills/timefreq-stats-decoding-simulation/SKILL.md`.
- **`mne` CLI commands, dataset helpers, config/cache/logging/sys_info, and
  install extras** → `sub-skills/cli-datasets-config/SKILL.md`.
- **Editing this repository, public API stubs, docs, tests, changelog fragments,
  import-location checks, deprecations, and AI-assistance policy** →
  `sub-skills/repo-development/SKILL.md`.

## Cross-cutting operating rules

- Prefer documented MNE containers and methods over ad-hoc arrays. Track object
  type, channel names/types, sampling frequency, event ids, bad channels,
  projectors, rank, and units at every stage.
- Many MNE object methods mutate in place and return `self`; make copies when
  preserving earlier states matters.
- Optional dependencies are workflow-specific. Base MNE covers many 2D/core
  workflows; HDF5/vendor readers, decoding, 3D/Qt/browser rendering, notebook
  interactivity, FreeSurfer/OpenMEEG, and large datasets require extra checks.
- Do not trigger dataset downloads, GUI windows, FreeSurfer/OpenMEEG commands,
  GPU/CUDA paths, or long examples unless the user explicitly approves those
  resources and runtime side effects.
- When creating code for headless or CI environments, use `show=False`, explicit
  output files, `open_browser=False`, deterministic random seeds, and small
  synthetic data.
- This generated skill is self-contained. Do not require the original
  MNE-Python checkout to be present except when the user explicitly asks for
  repository-development work in a checkout.

## Minimal smoke command

```bash
python scripts/mne_smoke_check.py --include-decoding
```

The smoke helper constructs tiny synthetic data, exercises Raw/Epochs/Evoked,
PSD, imports selected subpackages, optionally checks decoding imports, and never
uses network, datasets, GUI, or source-repository files.

Files in this skill

  • SKILL.md4.1 KB
  • references/installation-and-environment.md3.1 KB
  • references/package-map.md3.1 KB
  • references/repo-provenance.md2 KB
  • references/repo-routing-metadata.json409 B
  • references/troubleshooting.md3.4 KB
  • scripts/mne_cli_probe.py6.3 KB
  • scripts/mne_smoke_check.py2.1 KB
  • sub-skills/cli-datasets-config/SKILL.md3 KB
  • sub-skills/cli-datasets-config/references/cli-reference.md7.1 KB
  • sub-skills/cli-datasets-config/references/datasets-and-config.md7.9 KB
  • sub-skills/cli-datasets-config/references/installation-and-extras.md5.3 KB
  • sub-skills/cli-datasets-config/references/troubleshooting.md7.2 KB
  • sub-skills/cli-datasets-config/scripts/mne_cli_probe.py6.3 KB
  • sub-skills/io-raw-data/SKILL.md3.6 KB
  • sub-skills/io-raw-data/references/api-reference.md10 KB
  • sub-skills/io-raw-data/references/file-formats.md6.3 KB
  • sub-skills/io-raw-data/references/troubleshooting.md6.1 KB
  • sub-skills/io-raw-data/references/workflows.md8 KB
  • sub-skills/io-raw-data/scripts/create_synthetic_raw.py5.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.