Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate embeddings via npx ruvector@0.2.25 embed text (ONNX all-MiniLM-L6-v2, 384-dim), normalize, and store in HNSW index
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -45% | 0% |
Generate and store vector embeddings using the ruvector npm package.
Use this skill to embed text, code, or documents into 384-dimensional vectors for semantic search, similarity comparison, or clustering. ruvector uses ONNX all-MiniLM-L6-v2 with HNSW indexing (52,000+ inserts/sec, ~0.045ms search).
bash npm ls ruvector 2>/dev/null | grep '0.2.25' || npm install ruvector@0.2.25 If embed text later reports ONNX WASM files not bundled, also run: bash npm install ruvector-onnx-embeddings-wasm
text subcommand, with text as a positional arg):npx -y ruvector@0.2.25 embed text "your text here"npx -y ruvector@0.2.25 embed text "your text here" -o vec.json--batch/--glob flags.npx -y ruvector@0.2.25 embed text "..." --adaptive --domain codemcp__plugin_ruflo-core_ruflo__memory_store({ key: "embed-SOURCE", value: "VECTOR_METADATA", namespace: "vector-patterns" })
Register the MCP server once with the pinned version:
bashclaude mcp add ruvector -- npx -y ruvector@0.2.25 mcp start
Then call MCP tools directly: hooks_rag_context (semantic context), brain_search (collective brain), hooks_ast_analyze, hooks_route.
embed --batch --glob and embed --file flags do not exist in ruvector@0.2.25; only embed text <text> is supported. Read files yourself and call embed text per file.ruvector-onnx-embeddings-wasm or run npx -y ruvector@0.2.25 doctor to diagnose.Other measured skills in the registry, with their headline benchmark lift.