bci-data-structure

设计与审计脑机接口(BCI)和 EEG 机器学习的数据结构。用于被试/会话/运行/试验的组织、标签、元数据、训练-测试划分单元、类 BIDS 的 EEG 文件夹结构、特征表、事件日志、类别平衡以及可复现的 BCI 项目结构。

仓库最近推送
GitHub Stars
193
Forks
15
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "bci-data-structure":https://skillpi.com/zh/skills/deepskill-8dc81e99ba12fb86067a4850b3009b99a2b32b442bd4e4eb69637489b379ae1f。安装前核对上游来源和版本:https://github.com/Drchronx/ai-agent-research-starter-kit。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

设计与审计脑机接口(BCI)和 EEG 机器学习的数据结构。用于被试/会话/运行/试验的组织、标签、元数据、训练-测试划分单元、类 BIDS 的 EEG 文件夹结构、特征表、事件日志、类别平衡以及可复现的 BCI 项目结构。

0 下载

介绍来源: third_party · Drchronx · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
翻译待完成,请参阅来源文档。
软件、账号及付费要求
来源文档未说明。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: bci-data-structure
description: "Design and audit BCI and EEG machine-learning data structures. Use for subject/session/run/trial organization, labels, metadata, train-test split units, BIDS-like EEG folders, feature tables, event logs, class balance, and reproducible BCI project structure."

BCI Data Structure

Use this skill before building any EEG/BCI model. Most BCI failures start with unclear subject, session, trial, and label structure.

Use scripts/create_bci_metadata_template.py to create a metadata template. Use references/bci-project-checklist.md for the project-level checklist.

Inputs

  • Raw EEG files, event logs, behavioral files, and labels.
  • Participants, sessions, runs, blocks, trials, and conditions.
  • Intended evaluation: within-subject, cross-session, cross-subject, or online.

Workflow

  1. Define the unit hierarchy: subject -> session -> run -> trial -> window.
  2. Create a metadata table with subject, session, run, trial, label, condition, timestamp, and file path.
  3. Decide split units before modeling: trial-level, session-level, or subject-level.
  4. Audit class balance by subject and session.
  5. Define raw, processed, features, models, reports, and logs folders.
  6. Produce a data dictionary and leakage-risk notes.

Hard Constraints

  • Never overwrite raw EEG files.
  • Do not split sliding windows from the same trial across train and test.
  • Do not mix subjects across train and test when claiming subject-independent BCI.
  • Do not create labels from information unavailable at prediction time.

Output

Project folder structure:
Metadata schema:
Label schema:
Split unit:
Class-balance audit:
Leakage risks:
Next modeling step:

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 针对 BCI/EEG 机器学习数据结构的核心痛点,提供系统化设计与审计方案
  • 覆盖被试/会话/运行/试验组织、标签、元数据、训练-测试划分、BIDS-like 结构、特征表、事件日志、类别平衡、可复现性等关键维度
  • 直接提升 BCI 项目的成功率与可复现性,属于高价值科研与工程工具
触发精准95/100

亮点

  • description 精准描述了功能与用途,覆盖多种使用场景
  • 触发词边界清晰,不易与其他 Skill 重叠
结构规范78/100

待提升项

  • 缺少 When to Use 章节和端到端示例 原报告严重程度:轻微

    文档结构基本完整,但缺少 When to Use 章节和端到端完整示例,仅有输出模板

    改进建议:建议补充 When to Use 章节和端到端完整示例,提升用户理解与执行效率

亮点

  • Workflow 步骤清晰,包含 6 个关键步骤
  • Hard Constraints 明确列出 4 条核心原则,防止常见错误
  • frontmatter 完整,单文件未超 500 行
执行可靠65/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    SKILL.md 引用了 scripts/create_bci_metadata_template.py 和 references/bci-project-checklist.md,但未在传入内容中提供

    改进建议:请确保所有被引用的文件都包含在 Skill 包中,或提供替代方案

亮点

  • 核心逻辑合理,提供了清晰的输出模板
  • Hard Constraints 有效防止常见数据泄露和错误
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。