mne-artifacts — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited mne-artifacts (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Artifact correction of neurophysiology data via the MNE MCP server. This skill is skeptical by design: a bad decontamination runs without any error — ICA happily over-fits, removes neural signal, or is fit on the wrong data — so the discipline is to grill the artifact inventory before cleaning and critique the cleaned data before believing.
Companion skills:mne-mcp-guardfor technical execution safety (ICA convergence, units); andmne-methodology-criticfor Phase 3. Loaded objects persist in one MNE session.
Do not fit ICA or reject anything until these are answered. If the user can't answer one, propose a sensible default and explicitly flag the open risk — never silently choose.
Artifact inventory & claim
drift? (Look first; don't assume.) Do EOG/ECG reference channels exist?
ECG component differently across groups)
The two questions that decide validity
unstable. Fit on a 1 Hz high-passed copy, then apply the unmixing to the 0.1 Hz data you actually analyze. (This is the single most common fatal error here.)
uninterpretable components. ⚠️ An average reference and each interpolated channel REDUCE rank by ≥1 — count them.
Identification & selection
eye**? Subjective selection is not reproducible.
or hand-picked per subject?
Bias & reporting (pin this down NOW)
high- vs low-load muscle)? Differential cleaning manufactures effects.
genuine frontal component)?
mne_check_status; mne_plot_raw and read the PNG — confirmwhich artifacts are present (blinks, heartbeat, muscle bursts, line noise) before deciding.
raw_for_ica = raw.copy().filter(l_freq=1.0, h_freq=None) # ICA-only copyn_components ≤ rank. Use the structured tool, or mne_run_codewhen you need the copy / rank control: mne_fit_ica(name="raw_for_ica", n_components=0.99, method="picard"). (fastica/infomax/picard; pass random_state for reproducibility.)
mne_plot_ica_components (scalp topographies) andmne_plot_ica_sources (time courses) — read both PNGs: blink = frontal topo + slow square waves; ECG = ~1 Hz periodic spikes; muscle = high-freq edge/temporal; line = narrowband.
mne_run_code): correlate with EOG/ECG channels, orlabel with ICLabel:
eog_idx, _ = ica.find_bads_eog(raw) # needs an EOG channel (or by name)
ecg_idx, _ = ica.find_bads_ecg(raw, method="correlation")
ica.exclude = sorted(set(eog_idx + ecg_idx))
# automatic labelling (extra deps): from mne_icalabel import label_components
# labels = label_components(raw_for_ica, ica, method="iclabel")mne_apply_ica(ica_name="ica", inst_name="raw", exclude="0,3").
(automated per-channel epoch thresholds / interpolation). Both via mne_run_code and need extra deps from the `[full]` extra (autoreject, mne-icalabel).
mne-analystarchiving convention).
Best-practice reminders: fit on the 1 Hz copy, apply to the 0.1 Hz data; count avg-ref/interp toward rank; use a fixed, objective selection rule across subjects; report per-group rejection.
Hand the plan + cleaned data to `mne-methodology-critic` (invoke the skill, or dispatch it as a subagent with references/methodology-checklist.md). For artifact work it will specifically check:
n_components > data rank (avg-ref / interpolated channels reduce rank by ≥1);Report its BLOCK / REVISE / PASS verdict to the user and act on it before stating conclusions.
See references/artifact-methods.md for deeper recipes (ICA prerequisites & rank, fastica/infomax/ picard, component identification, ICLabel, SSP, autoreject, and regression EOG).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.