Skip to content
TakoAPI
Back to skills

neuralink-decoder

by aadipapp

Coding Agents & IDEs
710Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

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

INPUT

User asks: run the neural decoding simulation

AGENT
  1. 1

    Generates synthetic spike trains for 64 neurons using cosine tuning

  2. 2

    Computes spike rates from the simulated neural activity

  3. 3

    Applies linear decoder to map spike rates to 2D velocity (vx, vy)

  4. 4

    Prints the decoded cursor trajectory to console

OUTPUT

Decoded 2D cursor movement trajectory displayed as a printed path

Installation

clawhub install aadipapp/neuralink-decoder

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links