agentsclimarketplace

Mne connectivity graph starter

Skill ma-compbio-lab/SkillFoundry/skills/neuroscience-and-neuroimaging/mne-connectivity-graph-starter

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

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill mne-connectivity-graph-starter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 256 tokens by cl100k_base, as published. Nobody here has run it

MNE Connectivity Graph Starter

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.