---
name: neuralink-decoder
description: Simulates and decodes neural spike activity into cursor movement (BCI).
author: tempguest
version: 0.1.0
license: MIT
metadata: {"minis":{"originalSource":"https://clawskills.sh/skills/aadipapp-neuralink-decoder","convertedAt":"2026-10-31T22:12:50.315Z","license":"MIT"}}
---

# 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.
