MNE Connectivity Graph Starter

SkillAI & models

Use this skill to build a tiny EEG connectivity graph with mne and mne-connectivity.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the MNE Connectivity Graph Starter skill

About this capability

A framework for discovering, compiling, and validating reusable skills for scientific agents.

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/neuroscience-and-neuroimaging/mne-connectivity-graph-starter/SKILL.md and read by ahel’s review.

Use this skill to build a tiny EEG connectivity graph with mne and mne-connectivity.

What it does

  • Creates deterministic toy epochs with three EEG channels.
  • Computes alpha-band coherence with spectral_connectivity_epochs.
  • Converts the resulting matrix into a thresholded edge list and writes a compact JSON summary.

When to use it

  • You need a verified starter for connectomics or graph-style neuroimaging analysis.
  • You want a compact example of spectral connectivity before moving to real EEG/MEG datasets.
  • You need stable graph summary fields for tests or demos.

Example

slurm/envs/neuro/bin/python skills/neuroscience-and-neuroimaging/mne-connectivity-graph-starter/scripts/run_mne_connectivity_graph.py \
  --out scratch/neuro/mne_connectivity_graph_summary.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/neuroscience-and-neuroimaging/mne-connectivity-graph-starter/tests -p 'test_*.py'
  • Expected summary: the strongest edge is Fz -> Cz and only one edge survives the default 0.5 threshold

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
mne-connectivity-graph-starter
Source
github.com/ma-compbio-lab/skillfoundry