neuroskill-bci
できること
NeuroSkillのデスクトップアプリに接続し、脳を測定するウェアラブル機器から認知と気分の指標を読み取ります。研究と自己管理のためのもので、医療機器ではありません。
使う場面
- ✓現在の認知状態を考慮した返答をほしいとき。
- ✓接続したヘッドセットで、時間をかけて認知パフォーマンスを記録したいとき。
- ✓現在の状態に基づいて、短い休憩などの対応を提案してほしいとき。
スキルのリンク
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/health/neuroskill-bci/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“NeuroSkillで今の集中度と気分を確認してください。ストレスがあるように見えたら、短い休憩を提案してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、NeuroSkillアプリと機器が接続されているかを確認し、アプリのコマンドラインインターフェースを通じて指標を読み取ります。その指標を使って返答を調整し、対応方法を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
NeuroSkill BCI Integration
Connect Hermes to a running NeuroSkill instance to read real-time brain and body metrics from a BCI wearable. Use this to give cognitively-aware responses, suggest interventions, and track mental performance over time.
⚠️ Research Use Only — NeuroSkill is an open-source research tool. It is NOT a medical device and has NOT been cleared by the FDA, CE, or any regulatory body. Never use these metrics for clinical diagnosis or treatment.
See references/metrics.md for the full metric reference, references/protocols.md
for intervention protocols, and references/api.md for the WebSocket/HTTP API.
Prerequisites
- Node.js 20+ installed (
node --version) - NeuroSkill desktop app running with a connected BCI device
- BCI hardware: Muse 2, Muse S, or OpenBCI (4-channel EEG + PPG + IMU via BLE)
npx neuroskill statusreturns data without errors
Verify Setup
node --version # Must be 20+
npx neuroskill status # Full system snapshot
npx neuroskill status --json # Machine-parseable JSON
If npx neuroskill status returns an error, tell the user:
- Make sure the NeuroSkill desktop app is open
- Ensure the BCI device is powered on and connected via Bluetooth
- Check signal quality — green indicators in NeuroSkill (≥0.7 per electrode)
- If
command not found, install Node.js 20+
CLI Reference: npx neuroskill <command>
All commands support --json (raw JSON, pipe-safe) and --full (human summary + JSON).
| Command | Description |
|---|---|
status |
Full system snapshot: device, scores, bands, ratios, sleep, history |
session [N] |
Single session breakdown with first/second half trends (0=most recent) |
sessions |
List all recorded sessions across all days |
search |
ANN similarity search for neurally similar historical moments |
compare |
A/B session comparison with metric deltas and trend analysis |
sleep [N] |
Sleep stage classification (Wake/N1/N2/N3/REM) with analysis |
label "text" |
Create a timestamped annotation at the current moment |
search-labels "query" |
Semantic vector search over past labels |
interactive "query" |
Cross-modal 4-layer graph search (text → EXG → labels) |
listen |
Real-time event streaming (default 5s, set --seconds N) |
umap |
3D UMAP projection of session embeddings |
calibrate |
Open calibration window and start a profile |
timer |
Launch focus timer (Pomodoro/Deep Work/Short Focus presets) |
notify "title" "body" |
Send an OS notification via the NeuroSkill app |
raw '{json}' |
Raw JSON passthrough to the server |
Global Flags
| Flag | Description |
|---|---|
--json |
Raw JSON output (no ANSI, pipe-safe) |
--full |
Human summary + colorized JSON |
--port <N> |
Override server port (default: auto-discover, usually 8375) |
--ws |
Force WebSocket transport |
--http |
Force HTTP transport |
--k <N> |
Nearest neighbors count (search, search-labels) |
--seconds <N> |
Duration for listen (default: 5) |
--trends |
Show per-session metric trends (sessions) |
--dot |
Graphviz DOT output (interactive) |
1. Checking Current State
Get Live Metrics
npx neuroskill status --json
Always use --json for reliable parsing. The default output is colorized
human-readable text.
Key Fields in the Response
The scores object contains all live metrics (0–1 scale unless noted):
{
"scores": {
"focus": 0.70, // β / (α + θ) — sustained attention
"relaxation": 0.40, // α / (β + θ) — calm wakefulness
"engagement": 0.60, // active mental investment
"meditation": 0.52, // alpha + stillness + HRV coherence
"mood": 0.55, // composite from FAA, TAR, BAR
"cognitive_load": 0.33, // frontal θ / temporal α · f(FAA, TBR)
"drowsiness": 0.10, // TAR + TBR + falling spectral centroid
"hr": 68.2, // heart rate in bpm (from PPG)
"snr": 14.3, // signal-to-noise ratio in dB
"stillness": 0.88, // 0–1; 1 = perfectly still
"faa": 0.042, // Frontal Alpha Asymmetry (+ = approach)
"tar": 0.56, // Theta/Alpha Ratio
"bar": 0.53, // Beta/Alpha Ratio
"tbr": 1.06, // Theta/Beta Ratio (ADHD proxy)
"apf": 10.1, // Alpha Peak Fr
よくある質問
これは医療機器ですか?
いいえ。スキルでは、NeuroSkillは規制当局の認可を受けていない研究ツールであり、診断には使えないとされています。
どんな機材が必要ですか?
Muse 2、Muse S、OpenBCIなど、対応する脳波測定ヘッドセットをBluetoothで接続します。
状態確認に失敗した場合はどうしますか?
スキルでは、デスクトップアプリが開いているか、機器の電源が入っているか、信号品質が良好かを確認するよう定めています。
詳細
人気
- GitHubのスター
- 260k
- ランキング
- #502
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-merge-conflict-arbiter
260k並行して動く2つのエージェントのブランチ間のgitマージ競合を、中立的な第三者として解決し、リポジトリに1つのマージ結果を作ります。
antigravity-cli
260kAntigravityのコマンドラインツールのインストール、更新、トラブルシューティングをガイドし、そのプラグイン、サインイン、サンドボックスも扱います。
blackbox
260kBlackbox AIのコマンドラインツールに、コーディングのタスクを渡します。このツールは複数のAIモデルを動かし、最も良い結果を選びます。
dynamic-workflow
260k多くの似た作業の大きな束を、保存されたスクリプトとして実行し、検証済みの結果だけをメインの会話に返すようエージェントに教えます。