neuralink-decoder
// Simulates and decodes neural spike activity into cursor movement (BCI).
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameneuralink-decoder
descriptionSimulates and decodes neural spike activity into cursor movement (BCI).
authortempguest
version0.1.0
licenseMIT
Neuralink Decoder Skill
This skill simulates a Brain-Computer Interface (BCI). It generates synthetic neural spiking data based on cosine tuning (motor cortex model) and uses a linear decoder to reconstruct cursor velocity.
Features
- Neural Simulator: Generates realistic spike trains for 64 neurons.
- Decoder: Maps spike rates to 2D velocity ($v_x, v_y$).
- Visualization: Prints the decoded trajectory.
Commands
decode: Run the simulation and decoding loop.