ruvector-attention-wasm

Installation
SKILL.md

@ruvector/attention-wasm

WebAssembly-compiled attention mechanisms providing browser-native and edge-compatible FlashAttention, MultiHeadAttention, CrossAttention, and LinearAttention with SIMD acceleration and zero server dependency.

Quick Reference

Task Code
Install npx @ruvector/attention-wasm@latest
Import (Node) import { WasmFlashAttention } from '@ruvector/attention-wasm';
Import (Browser) import init, { WasmFlashAttention } from '@ruvector/attention-wasm'; await init();
Create const attn = new WasmFlashAttention({ heads: 8, dim: 64 });
Forward const out = attn.forward(Q, K, V);
Scores const scores = attn.attentionScores(Q, K);

Installation

Install: npx @ruvector/attention-wasm@latest See Installation Guide for the full ecosystem.

Installs
1
GitHub Stars
1
First Seen
Jun 21, 2026
ruvector-attention-wasm — ricable/cli-skills-builder