nousresearch/hermes-agent/neuroskill-bci
Claude Code and agent skill by nousresearch/hermes-agent
- community
Checking that the SKILL.md file is still in the repository.
Use live BCI cognitive and mood state from NeuroSkill.
Install
npx vskill@latest install nousresearch/hermes-agent/neuroskill-bciSKILL.md
The same SKILL.md was published earlier as nousresearch/hermes-agent/neuroskill-bci.
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 isNOT a medical device and has NOT been cleared by the FDA, CE, or any regulatorybody. 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
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
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):
Also includes: device (state, battery, firmware), signal_quality (per-electrode 0–1), session (duration, epochs), embeddings, labels, sleep summary, and history.
Interpreting the Output
Parse the JSON and translate metrics into natural language. Never report raw numbers alone — always give them meaning:
DO:
"Your focus is solid right now at 0.70 — that's flow state territory. Heartrate is steady at 68 bpm and your FAA is positive, which suggests goodapproach motivation. Great time to tackle something complex."
DON'T:
"Focus: 0.70, Relaxation: 0.40, HR: 68"
Key interpretation thresholds (see references/metrics.md for the full guide):
- Focus > 0.70 → flow state territory, protect it
- Focus < 0.40 → suggest a break or protocol
- Drowsiness > 0.60 → fatigue warning, micro-sleep risk
- Relaxation < 0.30 → stress intervention needed
- Cognitive Load > 0.70 sustained → mind dump or break
- TBR > 1.5 → theta-dominant, reduced executive control
- FAA < 0 → withdrawal/negative affect — consider FAA rebalancing
- SNR < 3 dB → unreliable signal, suggest electrode repositioning
2. Session Analysis
Single Session Breakdown
Returns full metrics with first-half vs second-half trends ("up", "down", "flat"). Use this to describe how a session evolved:
"Your focus started at 0.64 and climbed to 0.76 by the end — a clear upward trend.Cognitive load dropped from 0.38 to 0.28, suggesting the task became more automaticas you settled in."
List All Sessions
3. Historical Search
Neural Similarity Search
Finds moments in history that are neurally similar using HNSW approximate nearest-neighbor search over 128-D ZUNA embeddings. Returns distance statistics, temporal distribution (hour of day), and top matching days.
Use this when the user asks:
- "When was I last in a state like this?"
- "Find my best focus sessions"
- "When do I usually crash in the afternoon?"
Semantic Label Search
Searches label text using vector embeddings (Xenova/bge-small-en-v1.5). Returns matching labels with their associated EXG metrics at the time of labeling.
Cross-Modal Graph Search
4-layer graph: query → text labels → EXG points → nearby labels. Use --k-text, --k-EXG, --reach <minutes> to tune.
4. Session Comparison
Returns metric deltas with absolute change, percentage change, and direction for ~50 metrics. Also includes insights.improved[] and insights.declined[] arrays, sleep staging for both sessions, and a UMAP job ID.
Interpret comparisons with context — mention trends, not just deltas:
"Yesterday you had two strong focus blocks (10am and 2pm). Today you've had onestarting around 11am that's still going. Your overall engagement is higher todaybut there have been more stress spikes — your stress index jumped 15% andFAA dipped negative more often."
5. Sleep Data
Returns epoch-by-epoch sleep staging (5-second windows) with analysis:
- Stage codes: 0=Wake, 1=N1, 2=N2, 3=N3 (deep), 4=REM
- Analysis: efficiency_pct, onset_latency_min, rem_latency_min, bout counts
- Healthy targets: N3 15–25%, REM 20–25%, efficiency >85%, onset <20 min
Use this when the user mentions sleep, tiredness, or recovery.
6. Labeling Moments
Auto-label moments when:
- User reports a breakthrough or insight
- User starts a new task type (e.g., "switching to code review")
- User completes a significant protocol
- User asks you to mark the current moment
- A notable state transition occurs (entering/leaving flow)
Labels are stored in a database and indexed for later retrieval via search-labels and interactive commands.
7. Real-Time Streaming
Streams live WebSocket events (EXG, PPG, IMU, scores, labels) for the specified duration. Requires WebSocket connection (not available with --http).
Use this for continuous monitoring scenarios or to observe metric changes in real-time during a protocol.
8. UMAP Visualization
GPU-accelerated 3D UMAP projection of ZUNA embeddings. The separation_score indicates how neurally distinct two sessions are:
- > 1.5 → Sessions are neurally distinct (different brain states)
- < 0.5 → Similar brain states across both sessions
9. Proactive State Awareness
Session Start Check
At the beginning of a session, optionally run a status check if the user mentions they're wearing their device or asks about their state:
Inject a brief state summary:
"Quick check-in: focus is building at 0.62, relaxation is good at 0.55, and yourFAA is positive — approach motivation is engaged. Looks like a solid start."
When to Proactively Mention State
Mention cognitive state only when:
- User explicitly asks ("How am I doing?", "Check my focus")
- User reports difficulty concentrating, stress, or fatigue
- A critical threshold is crossed (drowsiness > 0.70, focus < 0.30 sustained)
- User is about to do something cognitively demanding and asks for readiness
Do NOT interrupt flow state to report metrics. If focus > 0.75, protect the session — silence is the correct response.
10. Suggesting Protocols
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingoptional-skills/health/neuroskill-bci/SKILL.md
Popularity
- Repository stars
- 195,697
- Repository forks
- 34,381
- 7-day trend score
- 61
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nousresearch/hermes-agent/neuroskill-bci)