Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Simulates a Brain-Computer Interface by generating synthetic spike trains for 64 neurons using a cosine tuning motor cortex model. A linear decoder maps spike rates to 2D cursor velocity and prints the reconstructed trajectory.
Runs the full BCI decoding pipeline without physical neural recording hardware, making it accessible for development and education without specialized equipment.
When to use it
- Prototyping BCI decoding algorithms without physical hardware
- Testing neural decoder accuracy on synthetic spike data
- Teaching motor cortex signal processing in coursework
- Benchmarking cursor velocity reconstruction approaches
- Exploring cosine tuning models for BCI research
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: run the neural decoding simulation
- 1Generates synthetic spike trains for 64 neurons using cosine tuning
- 2Computes spike rates from the simulated neural activity
- 3Applies linear decoder to map spike rates to 2D velocity (vx, vy)
- 4Prints the decoded cursor trajectory to console
Decoded 2D cursor movement trajectory displayed as a printed path