eeg-pipeline

Orchestrate end-to-end EEG analysis from BIDS ingestion through audit.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dengzhe-hou/auto-eeg-analysis --skill eeg-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eeg-pipeline
Source: https://github.com/dengzhe-hou/auto-eeg-analysis/tree/main/skills/eeg-pipeline
Command: npx skills add https://github.com/dengzhe-hou/auto-eeg-analysis --skill eeg-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of coordinating a complete EEG workflow—from BIDS intake through preprocessing, feature extraction, statistics, figure generation, and an audit—so you can produce a paper-ready result without manually wiring dozens of steps together.

Core Features & Use Cases

  • End-to-end orchestration: Chains key stages (bids → preprocess → ica → epoch → erp/tfr/connectivity/microstate/source → stats → figure → report → audit) while determining which branches to run from DATASET_BRIEF.md and ANALYSIS_PLAN.md.
  • Plan-gated execution: Refuses to run analyses without a frozen ANALYSIS_PLAN.md, optionally generating a draft and confirming with the user.
  • Resumable crash recovery: Persists progress in PIPELINE_STATE.json and supports resuming from the last incomplete stage or from a specific stage via arguments.
  • Automated review gate: Runs eeg-audit and only treats the pipeline as complete when the verdict is pass or pass-with-caveats.

Quick Start

Ask the agent to run the full pipeline for your project directory, automatically reading DATASET_BRIEF.md and ANALYSIS_PLAN.md to decide which branches to execute.

Frequently Asked Questions about eeg-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a full EEG analysis pipeline from BIDS ingestion to final reporting?

To run an end-to-end EEG analysis pipeline, provide your project directory containing DATASET_BRIEF.md and ANALYSIS_PLAN.md. The pipeline orchestrates BIDS ingestion, preprocessing, ICA, epoching, feature extraction, statistics, figures, reporting, and a final audit automatically.

Do I need an analysis plan before starting EEG preprocessing?

Yes, the pipeline uses plan-gated execution and refuses to run without a frozen ANALYSIS_PLAN.md. It can optionally generate a draft plan and confirm with you before proceeding with preprocessing and subsequent stages.

Can I resume an EEG pipeline from a specific stage if it crashes?

Yes, the pipeline persists progress in PIPELINE_STATE.json and supports resuming from the last incomplete stage or from a specific stage via arguments, allowing crash recovery without restarting the entire workflow.

How does the EEG pipeline ensure reproducibility and review quality?

The pipeline ensures reproducibility through plan-gated execution and an automated review gate. It finalizes only after eeg-audit produces a pass or pass-with-caveats verdict, ensuring quality control across all stages.

What EEG feature analysis branches can I include in my pipeline?

Optional EEG feature analysis branches include TFR, connectivity, microstate, and source analysis. You select these from project briefs and a frozen analysis plan to customize the pipeline orchestration.