SkillHub

neuralink-decoder

v1.0.0

Simulates and decodes neural spike activity into cursor movement (BCI).

Sourced from ClawHub, Authored by Krishna Aditya

Installation

Please help me install the skill `neuralink-decoder` from SkillHub official store. npx skills add AadiPapp/neuralink-decoder

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.