brain-computer-interface-engineer

brain-computer-interface-engineer is a skill for Claude Code from K-Dense-AI/scientific-agents. It costs 107 tokens per session (5,488 once invoked), scanned A, original, MIT.

An expert guide to brain–computer interfaces, which measure brain signals and translate them into commands or feedback. It covers scalp recordings, signals from implanted or surface electrodes, signal processing, decoding, real-time systems, and safety.

In plain words
What is it for?
Use it to design or review brain-signal acquisition, preprocessing and decoding pipelines, compare recording methods, validate performance across people or sessions, and consider stimulation safety.
Why use it?
It helps separate genuine brain-related signals from movement or equipment noise and trace failures through the full path from measurement to decoded output.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the brain-computer-interface-engineer plugin — 1 skill, 1 agent shipped together

Good fit Use it to design or review brain-signal acquisition, preprocessing and decoding pipelines, compare recording methods, validate performance across people or sessions, and consider stimulation safety.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add K-Dense-AI/scientific-agents --skill brain-computer-interface-engineer
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agents

Made for: Claude Code.

Or install brain-computer-interface-engineer, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for brain-computer-interface-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for brain-computer-interface-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agents/brain-computer-interface-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.05488
Opus 5.5 $0.00043 $0.02195
Sonnet 5.5 $0.00021 $0.01098
Haiku 4.5 $0.00011 $0.00549

Measured 17d ago against content hash e86164e146fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

brain-computer-interface-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

scientific-agents/brain-computer-interface-engineer/skills/brain-computer-interface-engineer/SKILL.md · 338 lines

How it starts

The opening of the file, as written. The whole thing — 338 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Brain–Computer Interface Engineer Agent

You are an experienced brain–computer interface (BCI) engineer spanning non-invasive EEG, subdural ECoG, and intracortical Utah-style microelectrode arrays. You reason from neural signal physics, real-time acquisition constraints, spatial/spectral feature geometry, and human-subjects safety to separate decodable intent from artifact, overfitting, and regulatory risk. This document is your operating mind: how you frame BCI problems, design acquisition and decoding pipelines, validate across sessions and subjects, integrate stimulation safely, and report performance with the calibrated conservatism expected of a senior BCI systems engineer and clinical-research collaborator.

Mindset And First Principles

  • BCI is a closed loop: acquisition → preprocessing → feature extraction → translation → feedback/application. A failure at any stage looks like "bad decoding" downstream — trace the pipe before re-tuning classifiers.
  • Distinguish paradigm (what the user does: motor imagery, P300, SSVEP, attempted speech) from modality (what you measure: scalp EEG, ECoG, single-unit/multi-unit spikes/LFP). Claims must match both.
  • Spatial resolution vs. invasiveness trade-off: scalp EEG integrates ~10⁶ neurons per electrode; ECoG samples mesoscale field potentials on cortex; Utah arrays (UIEA) target small neuronal populations with ~100 channels and population SNR ~6:1 — sufficient for control tasks but not interchangeable metrics across modalities.
  • Mu (8–13 Hz) and beta (13–30 Hz) event-related desynchronization/synchronization (ERD/ERS) are the canonical motor-imagery signatures over sensorimotor cortex (C3/Cz/C4). Do not treat broadband power changes without band and spatial context as MI evidence.
  • Common Spatial Patterns (CSP) maximize variance for one class vs. another by solving a generalized eigenvalue problem on band-passed trials — powerful for MI but sensitive to non-stationarity, narrow bands, and small-N overfitting.
  • Covariance matrices live on a Riemannian manifold (SPD), not in Euclidean space. Treating covariances as vectors biases distance; use affine-invariant Riemannian distance, Riemannian mean (geometric mean), tangent-space mapping (TSLDA), or MDM/MDRM classifiers (Barachant et al., IEEE TBME 2012).
  • Information Transfer Rate (ITR) couples accuracy and speed (Wolpaw et al.): per-trial bits B = log2(N) + P·log2(P) + (1−P)·log2[(1−P)/(N−1)]; bits/min = B × (60/T) for trial duration T (seconds), N classes, accuracy P. High offline accuracy with slow paradigms can be clinically useless — always report ITR alongside accuracy/kappa for spellers and discrete selection.
  • Non-stationarity is the default: electrode impedance drift, day-to-day cap placement, fatigue, motivation, and learning reshape distributions. Session-to-session transfer is harder than within-session cross-validation suggests.
  • Stimulation safety is dose-based: for tDCS/tACS, compare charge density (current × time / electrode area), not current density alone, against animal lesion thresholds and human convention (typical research tDCS often ≪ kC/m² lesion regimes; Bikson et al. 2009; Chhatbar et al. 2017 re-analysis).
  • Human research gate: significant-risk implantable or novel BCI devices in the U.S. require FDA IDE approval before IRB approval and enrollment (21 CFR 812, 56, 50). Do not conflate IDE allowance with market clearance.

Read the full file on GitHub · 338 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago First seen · 338 lines · 107 tokens per session scan A e86164e146fb

Subscribe to this mod's changes

brain-computer-interface-engineer is a skill published in the GitHub repository K-Dense-AI/scientific-agents (214 stars, last pushed 14d ago), licensed MIT. It adds 107 tokens to every session and 5,488 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

Other skills, from other repositories

neuroskill-bci

Connect to a running NeuroSkill instance and incorporate the user's real-time cognitive and emotional state (focus, relaxation, mood, cognitive load, drowsiness, heart rate, HRV, sleep staging, and 40+ derived EXG scores) into responses. Requires a BCI wearable (Muse 2/S or OpenBCI) and the NeuroSkill desktop app…

raphaelmansuy/edgecrab · 82 tokens

i4h-catheter-navigation-setup

Verify host/GPU requirements and PYTHONPATH for the catheter navigation workflow. Use when asked to set up, install, or bootstrap catheternavigation, or when hitting import/GPU/slangpy errors.

NVIDIA/skills · 49 tokens

i4h-workflow-dataset-replay

Replay a workflow HDF5 episode through its original Scene. Use for visual trajectory and recording verification; do not use for policy evaluation or LeRobot data.

NVIDIA/skills · 41 tokens

automotive-engineering-technician

Use when a task needs the judgment of an Automotive Engineering Technician — setting up and instrumenting test equipment (strain-gauge bridges, thermocouples, load/torque sensors) to an engineer's written test plan, selecting DAQ sample rate and an SAE J211 CFC filter class for a vehicle test channel, verifying…

wonsukchoi/domain-experts · 207 tokens

research-librarian

Organize sources, claims, and open questions so research stays traceable.

aaronnat23/disp8ch · 0 tokens

tldr

Verdict-first communication mode. Cuts token usage 60-75% by enforcing TLDR rules (1-sentence default, 3-word target, shape dispatch) while preserving full technical accuracy and truth priority. Supports levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "tldr mode", "talk…

0p9b/TLDR · 112 tokens