neuroskill-sleep

Classifies EEG sleep stages and computes efficiency, latency, and bout summaries.

11|4|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/NeuroSkill-com/skills --skill neuroskill-sleep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuroskill-sleep
Source: https://github.com/NeuroSkill-com/skills/tree/main/skills/neuroskill-sleep
Command: npx skills add https://github.com/NeuroSkill-com/skills --skill neuroskill-sleep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transforms noisy EEG session logs into clear sleep stage breakdowns, efficiency scores, and bout trends so you can understand overnight recovery without manual inspection.

Core Features & Use Cases

  • Sleep stage classification: Uses EEG band-power heuristics to label Wake/N1/N2/N3/REM epochs, report efficiency, and highlight transitions and bout durations for any selected session range.
  • 3D UMAP visualization: Projects embedding vectors from two sessions to compare neural state separation, outlier counts, and cluster centroids, with GPU acceleration and cached results for repeat comparisons.
  • Sleep schedule management: Lets you view or update bedtime/wake presets for the classifier, aligning future analyses with consistent reference windows. Use Case: Compare last night’s session to a prior benchmark, then review the UMAP separation score to confirm the neural state shift and adjust your sleep schedule preset if needed.

Quick Start

Ask the skill to classify your most recent overnight session and summarize the stage counts, efficiency, and schedule alignment in a single report.

Frequently Asked Questions about neuroskill-sleep

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

FAQPage Schema
How do I classify sleep stages from raw EEG session logs?

You classify EEG sleep stages by feeding session logs into the classifier, which applies band-power heuristics to label Wake, N1, N2, N3, and REM epochs. It then computes efficiency, latency, and bout summaries for sleep analysis.

How does UMAP visualization compare neural states across sleep sessions?

UMAP visualization projects embedding vectors from two EEG sessions into 3D space to compare neural state separation. GPU acceleration and cached results enable repeat comparisons of cluster centroids and outlier counts.

Can I configure bedtime and wake presets for sleep schedule alignment?

Sleep schedule management lets you view or update bedtime and wake presets for the classifier. Aligning future analyses with consistent reference windows ensures accurate sleep schedule reporting for overnight sessions.

Do I need a GPU to run UMAP projections for sleep analysis?

GPU acceleration is required for UMAP projections that compare embedding vectors from EEG sleep sessions. Cached results support repeat comparisons, ensuring efficient neural state separation analysis without reprocessing.

What sleep metrics are included in the JSON report output?

JSON reporting includes sleep stage counts, efficiency scores, latency, and bout durations for selected session ranges. It highlights transitions and bout trends to help you understand overnight recovery from EEG data.

What is the best way to analyze overnight EEG recovery without manual inspection?

The best way to analyze overnight EEG recovery is classifying session epochs into sleep stages and computing efficiency scores. Comparing UMAP separation scores against a benchmark session confirms neural state shifts automatically.