bci-data-structure
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "bci-data-structure" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8dc81e99ba12fb86067a4850b3009b99a2b32b442bd4e4eb69637489b379ae1f. Verify the upstream source and version against https://github.com/Drchronx/ai-agent-research-starter-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Design and audit of data structures for BCI and EEG machine learning. For organization of subject/session/run/trial, labels, metadata, train-test split units, BIDS-like EEG folder structures, feature tables, event logs, class balance, and reproducible BCI project structure.
Introduction source: third_party · Drchronx · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- 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.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- 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.
- Testing
- Not tested
Browse files
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
- Define the unit hierarchy: subject -> session -> run -> trial -> window.
- Create a metadata table with subject, session, run, trial, label, condition, timestamp, and file path.
- Decide split units before modeling: trial-level, session-level, or subject-level.
- Audit class balance by subject and session.
- Define raw, processed, features, models, reports, and logs folders.
- 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:Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 BCI/EEG 机器学习数据结构的核心痛点,提供系统化设计与审计方案
- 覆盖被试/会话/运行/试验组织、标签、元数据、训练-测试划分、BIDS-like 结构、特征表、事件日志、类别平衡、可复现性等关键维度
- 直接提升 BCI 项目的成功率与可复现性,属于高价值科研与工程工具
Highlights
- description 精准描述了功能与用途,覆盖多种使用场景
- 触发词边界清晰,不易与其他 Skill 重叠
Areas to improve
-
缺少 When to Use 章节和端到端示例 Reported severity: Minor
文档结构基本完整,但缺少 When to Use 章节和端到端完整示例,仅有输出模板
Recommendation: 建议补充 When to Use 章节和端到端完整示例,提升用户理解与执行效率
Highlights
- Workflow 步骤清晰,包含 6 个关键步骤
- Hard Constraints 明确列出 4 条核心原则,防止常见错误
- frontmatter 完整,单文件未超 500 行
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 scripts/create_bci_metadata_template.py 和 references/bci-project-checklist.md,但未在传入内容中提供
Recommendation: 请确保所有被引用的文件都包含在 Skill 包中,或提供替代方案
Highlights
- 核心逻辑合理,提供了清晰的输出模板
- Hard Constraints 有效防止常见数据泄露和错误
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.