Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Brain Computer Interfaces

ASecurity

BCI design and evaluation — signal decoding, calibration, closed-loop paradigms, and performance metrics.

2 stars
0 votes
0 copies
0 views
Added 9/29/2026
ai-agentspythongotestingperformance

Works with

cursorcli

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add aicodedecode/awesome-muse-skills --skill brain-computer-interfaces --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brain Computer Interfaces?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Brain Computer Interfaces
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aicodedecode-brain-computer-interfaces/badge)](https://www.skillsdirectory.com/skills/aicodedecode-brain-computer-interfaces)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: brain-computer-interfaces
description: BCI design and evaluation — signal decoding, calibration, closed-loop paradigms, and performance metrics.
category: scientific
---

## Overview

brain-computer-interfaces covers the engineering and neuroscience of systems that translate neural
activity into control signals: invasive ( Utah arrays, Neuropixels, ECoG) and non-invasive (EEG,
fNIRS) BCIs for communication, motor restoration, and control. It focuses on the closed loop —
decoding must work in real time, adapt to non-stationary brains, and be evaluated on metrics that
reflect actual usability, not offline accuracy.

A BCI is not a decoder; it is a system comprising signal acquisition, preprocessing, decoding,
feedback, and a user learning to use it. Failures usually live in the loop, not the classifier.

## When to use

- Choosing a BCI paradigm: motor imagery, P300 spellers, SSVEP, ECoG high-gamma, intracortical
  kinematic decoding.
- Designing calibration: open-loop training data collection, session length, avoiding user fatigue.
- Building the real-time pipeline: latency budgets, feature extraction, decoder updates.
- Closed-loop decoder adaptation: CLDA, recalibration, handling non-stationarity.
- Evaluation: information transfer rate, bit rate, task success, user-centered metrics.
- Safety and ethics: informed consent, data privacy, managing user expectations.

## Core concepts

- **Paradigms.** Motor imagery (EEG mu/beta desynchronization — slow, needs training); P300
  (oddball responses — no training, slow spelling); SSVEP (flicker-driven — fast, fatiguing);
  ECoG high-gamma (excellent spatial specificity, requires implants); intracortical (single-unit
  kinematics — highest performance, surgical risk). Match paradigm to user capability and goal.
- **The non-stationarity problem.** Neural signals drift within and across sessions (electrode
  shifts, learning, fatigue). Decoders trained once decay. Solutions: daily recalibration,
  adaptive decoders (closed-loop decoder adaptation), and features robust to drift.
- **Latency budget.** Total loop delay (acquisition → processing → feedback) must stay low —
  <100-300 ms for motor BCIs, or the user cannot close the loop. Offline accuracy with 2-second
  windows is irrelevant if the real-time system lags.
- **Calibration design.** Collect labeled data with the actual task the user will perform;
  keep sessions short (fatigue degrades both signal and motivation); interleave rest. More
  calibration data is not always better — stale data hurts adaptive decoders.
- **Closed-loop adaptation (CLDA).** Update decoder parameters during use, guided by the user's
  intended vs decoded output. This co-adaptation (brain + algorithm learning together) is what
  makes chronic BCIs work — but unstable updates can diverge, so bound the learning rate.
- **Evaluation metrics.** Information transfer rate (bits/min) for communication; target
  acquisition time and success rate for motor tasks; and crucially, metrics measured closed-loop
  with the user in the loop — offline cross-validation overestimates real performance.
- **User learning.** The brain adapts to the decoder. Provide consistent, immediate feedback;
  keep the mapping stable enough to learn but adaptive enough to track drift. Report learning
  curves, not just final performance.
- **Ethics and expectations.** Neural data is uniquely sensitive (medical, potentially
  identifiable). Consent must cover data reuse; never promise restored function a system cannot
  deliver — hype harms patients.

## Practical workflow

1. **Define the task.** What will the user actually do (spell, move a cursor, control a robotic
   arm)? Define success in user terms first, then derive engineering specs.
2. **Pick modality + paradigm.** Non-invasive for accessibility, invasive for performance; choose
   the paradigm that fits the user's residual abilities.
3. **Build the real-time chain.** Acquisition → preprocessing (causal filters only — no filtfilt
   in real time) → features → decoder → feedback. Measure end-to-end latency before any user
   testing.
4. **Calibrate.** Short open-loop session with the real task; train an initial decoder; verify
   above-chance closed-loop control in the same session.
5. **Close the loop with adaptation.** Enable CLDA with conservative updates; monitor for
   divergence; schedule recalibration.
6. **Evaluate properly.** Closed-loop metrics over multiple sessions: ITR, success rate, learning
   curves, user workload/fatigue questionnaires. Compare against sensible baselines (e.g. existing
   assistive tech), not just chance.
7. **Document.** Decoder architecture, update rules, latency, failure modes, and ethical
   safeguards. Plan long-term support — abandoning a BCI user is a harm.

Example pipeline sketch:
```python
# per incoming chunk (causal, low-latency):
x = bandpass_causal(chunk, 8, 30)          # no zero-phase filtering live
feat = log_bandpower(x, window=250ms)
cmd = decoder.predict(feat)                # previously calibrated
clda_update(decoder, cmd, intended)        # bounded adaptation
render_feedback(cmd)                       # <200 ms total budget
```

## Common pitfalls

- Reporting offline cross-validated accuracy as "BCI performance."
- Non-causal filtering in the real-time path (filtfilt looks into the future).
- Ignoring latency — a 90%-accurate decoder with 2 s lag is unusable.
- One-shot calibration with no adaptation plan for drift.
- Unstable CLDA updates that diverge mid-session.
- Paradigm-user mismatch (e.g. SSVEP for photosensitive users).
- Overpromising clinical outcomes; underplanning long-term maintenance and support.

Attribution

aicodedecodeaicodedecode
View sourceSee grades on GitHubMore from aicodedecode →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →