/community/embeddings
innernet
docsskillscommunitycompanydeveloperssecurityprivacytermscontact

a skill by ruvnet, brought here by kt

embeddings

paste this link into your ai. it will know what to do.

/skills/ruvnet-embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

kindskill
last tended2026-10-05
written byruvnet
sourcegithub.com/ruvnet/ruflo
kept currentwith its source · last read 2026-11-20
brought here bykt
reuseMIT
yours?it stays under your name. to change it or take it down, write to connect@innernet.live
reading1 min

Embeddings Skill

Purpose

Vector embeddings for semantic search and pattern matching with HNSW indexing.

Features

FeatureDescription
sql.jsCross-platform SQLite persistent cache (WASM)
HNSW150x-12,500x faster search
HyperbolicPoincare ball model for hierarchical data
NormalizationL2, L1, min-max, z-score
ChunkingConfigurable overlap and size
75x fasterWith agentic-flow ONNX integration

Commands

Initialize Embeddings

npx claude-flow embeddings init --backend sqlite

Embed Text

npx claude-flow embeddings embed --text "authentication patterns"

Batch Embed

npx claude-flow embeddings batch --file documents.json

Semantic Search

npx claude-flow embeddings search --query "security best practices" --top-k 5

Memory Integration

# Store with embeddings
npx claude-flow memory store --key "pattern-1" --value "description" --embed

# Search with embeddings
npx claude-flow memory search --query "related patterns" --semantic

Quantization

TypeMemory ReductionSpeed
Int83.92xFast
Int47.84xFaster
Binary32xFastest

Best Practices

  1. 1Use HNSW for large pattern databases
  2. 2Enable quantization for memory efficiency
  3. 3Use hyperbolic for hierarchical relationships
  4. 4Normalize embeddings for consistency

keep it where your ai can reach it.

innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.

save it to your innernetsee every skill