ruvector-nervous-system-wasm — hyperdimensional computing examples ruvector-nervous-system-wasm, cli-skills-builder, community, hyperdimensional computing examples, ide skills, webassembly ai libraries, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for AI Agents needing ultra-fast classification and one-shot learning capabilities with bio-inspired components ruvector-nervous-system-wasm is a WebAssembly-based library implementing Hyperdimensional Computing, Behavioral Time-Scale Synaptic Plasticity, and neuromorphic spiking network primitives for AI agents.

Features

Implements Hyperdimensional Computing (HDC) for ultra-fast classification
Supports Behavioral Time-Scale Synaptic Plasticity (BTSP) for one-shot learning
Provides neuromorphic spiking network primitives
Compiled to WebAssembly for efficient execution
Initializes with `await init()` command
Encodes data using `hdc.encode` method

# Core Topics

ricable ricable
[1]
[0]
Updated: 2/13/2026

Agent Capability Analysis

The ruvector-nervous-system-wasm skill by ricable is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for hyperdimensional computing examples, webassembly ai libraries.

Ideal Agent Persona

Perfect for AI Agents needing ultra-fast classification and one-shot learning capabilities with bio-inspired components

Core Value

Empowers agents to leverage Hyperdimensional Computing (HDC) for rapid classification, Behavioral Time-Scale Synaptic Plasticity (BTSP) for one-shot learning, and neuromorphic spiking network primitives compiled to WebAssembly, enhancing their efficiency in computing solutions

Capabilities Granted for ruvector-nervous-system-wasm

Implementing ultra-fast classification models using Hyperdimensional Computing
Enabling one-shot learning capabilities with Behavioral Time-Scale Synaptic Plasticity
Developing neuromorphic spiking networks for advanced AI applications

! Prerequisites & Limits

  • Requires WebAssembly compatibility
  • Specific to bio-inspired AI components and Hyperdimensional Computing
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

ruvector-nervous-system-wasm

Install ruvector-nervous-system-wasm, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

@ruvector/nervous-system-wasm

Bio-inspired AI components compiled to WebAssembly. Implements Hyperdimensional Computing (HDC) for ultra-fast classification, Behavioral Time-Scale Synaptic Plasticity (BTSP) for one-shot learning, and neuromorphic spiking network primitives.

Quick Reference

TaskCode
Importimport { HyperdimensionalComputing, BTSP, SpikingNetwork } from '@ruvector/nervous-system-wasm';
Initializeawait init();
HDC encodehdc.encode(data)
HDC classifyhdc.classify(vector)
BTSP learnbtsp.learn(input, target)
Spiking simsnn.step(input)

Installation

bash
1npx @ruvector/nervous-system-wasm@latest

Node.js Usage

typescript
1import init, { 2 HyperdimensionalComputing, 3 BTSP, 4 SpikingNetwork, 5} from '@ruvector/nervous-system-wasm'; 6 7await init(); 8 9// Hyperdimensional Computing: encode and classify 10const hdc = new HyperdimensionalComputing({ 11 dimensions: 10_000, 12 numClasses: 5, 13 encoding: 'random-projection', 14}); 15 16// Train on labeled data 17hdc.train('cat', new Float32Array([0.1, 0.8, 0.2, 0.9])); 18hdc.train('dog', new Float32Array([0.9, 0.2, 0.8, 0.1])); 19 20// Classify new input 21const result = hdc.classify(new Float32Array([0.15, 0.75, 0.25, 0.85])); 22console.log(`Class: ${result.label}, confidence: ${result.confidence}`); 23 24// BTSP: one-shot synaptic plasticity 25const btsp = new BTSP({ 26 inputSize: 100, 27 outputSize: 50, 28 plasticityRate: 0.1, 29 plateauDuration: 10, 30}); 31 32const input = new Float32Array(100).fill(0.5); 33const target = new Float32Array(50).fill(1.0); 34btsp.learn(input, target); // Single-exposure learning 35 36const output = btsp.forward(input); 37console.log('BTSP output correlation:', btsp.correlation(output, target)); 38 39// Spiking Neural Network 40const snn = new SpikingNetwork({ 41 neurons: 1000, 42 excitatory: 800, 43 inhibitory: 200, 44 connectivity: 0.1, 45 model: 'izhikevich', 46}); 47 48const spikes = snn.step(new Float32Array(1000)); 49console.log(`Active neurons: ${spikes.filter(s => s > 0).length}`);

Browser Usage

html
1<script type="module"> 2 import init, { HyperdimensionalComputing } from '@ruvector/nervous-system-wasm'; 3 await init(); 4 5 const hdc = new HyperdimensionalComputing({ dimensions: 10000, numClasses: 3 }); 6 hdc.train('A', new Float32Array([1, 0, 0])); 7 hdc.train('B', new Float32Array([0, 1, 0])); 8 const result = hdc.classify(new Float32Array([0.9, 0.1, 0])); 9 console.log(result.label); // 'A' 10</script>

Key API

HyperdimensionalComputing

Ultra-fast classification using high-dimensional binary vectors.

typescript
1const hdc = new HyperdimensionalComputing(config: HDCConfig);

HDCConfig:

ParameterTypeDefaultDescription
dimensionsnumber10000Hypervector dimensionality
numClassesnumberrequiredNumber of classes
encoding'random-projection' | 'thermometer' | 'level''random-projection'Encoding method
similarity'cosine' | 'hamming''cosine'Similarity metric
typescript
1hdc.train(label: string, features: Float32Array): void 2hdc.classify(features: Float32Array): ClassifyResult 3hdc.batchClassify(batch: Float32Array[]): ClassifyResult[] 4hdc.encode(features: Float32Array): Float32Array // Raw hypervector 5hdc.retrain(): void // Re-optimize class prototypes 6hdc.accuracy(testData: Array<{ features: Float32Array; label: string }>): number

ClassifyResult: { label: string; confidence: number; scores: Record<string, number> }

BTSP

Behavioral Time-Scale Synaptic Plasticity for one-shot learning.

typescript
1const btsp = new BTSP(config: BTSPConfig);

BTSPConfig:

ParameterTypeDefaultDescription
inputSizenumberrequiredInput neurons
outputSizenumberrequiredOutput neurons
plasticityRatenumber0.1Learning rate
plateauDurationnumber10Plateau potential duration
decayRatenumber0.01Weight decay
typescript
1btsp.learn(input: Float32Array, target: Float32Array): void 2btsp.forward(input: Float32Array): Float32Array 3btsp.correlation(output: Float32Array, target: Float32Array): number 4btsp.weights(): Float32Array 5btsp.reset(): void

SpikingNetwork

Spiking Neural Network with configurable neuron models.

typescript
1const snn = new SpikingNetwork(config: SNNConfig);

SNNConfig:

ParameterTypeDefaultDescription
neuronsnumber1000Total neurons
excitatorynumber800Excitatory count
inhibitorynumber200Inhibitory count
connectivitynumber0.1Connection probability
model'izhikevich' | 'lif' | 'hodgkin-huxley''izhikevich'Neuron model
dtnumber0.5Timestep (ms)
typescript
1snn.step(input: Float32Array): Float32Array // One timestep, returns spikes 2snn.stepN(input: Float32Array, n: number): Float32Array[] // N timesteps 3snn.membranePotentials(): Float32Array 4snn.firingRates(): Float32Array 5snn.reset(): void

References

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ruvector-nervous-system-wasm?

Perfect for AI Agents needing ultra-fast classification and one-shot learning capabilities with bio-inspired components ruvector-nervous-system-wasm is a WebAssembly-based library implementing Hyperdimensional Computing, Behavioral Time-Scale Synaptic Plasticity, and neuromorphic spiking network primitives for AI agents.

How do I install ruvector-nervous-system-wasm?

Run the command: npx killer-skills add ricable/cli-skills-builder/ruvector-nervous-system-wasm. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ruvector-nervous-system-wasm?

Key use cases include: Implementing ultra-fast classification models using Hyperdimensional Computing, Enabling one-shot learning capabilities with Behavioral Time-Scale Synaptic Plasticity, Developing neuromorphic spiking networks for advanced AI applications.

Which IDEs are compatible with ruvector-nervous-system-wasm?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ruvector-nervous-system-wasm?

Requires WebAssembly compatibility. Specific to bio-inspired AI components and Hyperdimensional Computing.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add ricable/cli-skills-builder/ruvector-nervous-system-wasm. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ruvector-nervous-system-wasm immediately in the current project.

Related Skills

Looking for an alternative to ruvector-nervous-system-wasm or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI