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
.claude/skills/ruvnet-vector-embed/SKILL.md| 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.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 7,277 | 5,723 | -21% | 1 | 1 | 0% | 1,473 | 901 | -39% | 0 | 0 | — |
case-02 | fail→fail | 16,059 | 11,075 | -31% | 1 | 1 | 0% | 2,648 | 1,098 | -59% | 0 | 0 | — |
case-03 | fail→fail | 6,642 | 4,735 | -29% | 1 | 1 | 0% | 204 | 991 | +386% | 0 | 0 | — |
case-04 | fail→pass | 10,932 | 6,821 | -38% | 1 | 1 | 0% | 2,261 | 1,936 | -14% | 0 | 0 | — |
case-05 | fail→pass | 4,772 | 1,877 | -61% | 1 | 1 | 0% | 934 | 986 | +6% | 0 | 0 | — |
case-06 | pass→pass | 7,512 | 3,887 | -48% | 1 | 1 | 0% | 1,458 | 1,482 | +2% | 0 | 0 | — |
case-07 | fail→pass | 7,645 | 3,936 | -49% | 1 | 1 | 0% | 1,395 | 1,427 | +2% | 0 | 0 | — |
case-08 | fail→pass | 7,747 | 2,777 | -64% | 1 | 1 | 0% | 1,412 | 1,237 | -12% | 0 | 0 | — |
case-09 | pass→pass | 7,814 | 2,446 | -69% | 1 | 1 | 0% | 1,428 | 1,144 | -20% | 0 | 0 | — |
case-10 | fail→pass | 9,375 | 2,464 | -74% | 1 | 1 | 0% | 1,976 | 1,081 | -45% | 0 | 0 | — |
case-11 | pass→pass | 2,691 | 1,262 | -53% | 1 | 1 | 0% | 435 | 844 | +94% | 0 | 0 | — |
case-12 | fail→pass | 8,839 | 2,709 | -69% | 1 | 1 | 0% | 1,547 | 1,159 | -25% | 0 | 0 | — |
case-13 | fail→pass | 9,412 | 3,744 | -60% | 1 | 1 | 0% | 1,580 | 1,252 | -21% | 0 | 0 | — |
case-14 | fail→pass | 4,580 | 1,871 | -59% | 1 | 1 | 0% | 853 | 950 | +11% | 0 | 0 | — |
case-15 | fail→pass | 5,900 | 3,326 | -44% | 1 | 1 | 0% | 1,135 | 1,379 | +21% | 0 | 0 | — |
case-16 | fail→pass | 22,914 | 2,571 | -89% | 1 | 1 | 0% | 1,605 | 1,188 | -26% | 0 | 0 | — |
case-17 | fail→pass | 6,394 | 1,615 | -75% | 1 | 1 | 0% | 1,104 | 935 | -15% | 0 | 0 | — |
case-18 | fail→pass | 4,468 | 3,773 | -16% | 1 | 1 | 0% | 832 | 861 | +3% | 0 | 0 | — |
case-19 | pass→pass | 5,281 | 4,537 | -14% | 1 | 1 | 0% | 821 | 904 | +10% | 0 | 0 | — |
case-20 | pass→pass | 8,553 | 9,262 | +8% | 1 | 1 | 0% | 2,139 | 2,892 | +35% | 0 | 0 | — |
case-21 | pass→pass | 13,197 | 13,324 | +1% | 1 | 1 | 0% | 2,774 | 3,755 | +35% | 0 | 0 | — |
case-22 | pass→pass | 5,803 | 5,293 | -9% | 1 | 1 | 0% | 1,279 | 1,905 | +49% | 0 | 0 | — |
case-23 | pass→pass | 6,555 | 6,036 | -8% | 1 | 1 | 0% | 1,466 | 1,930 | +32% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +52 percentage points is the difference between those two pass rates over the 20 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.