Skip to content
ruvnet avatar

Embeddings

Vector embeddings with HNSW search, SQLite persistence, and quantization for semantic retrieval.

CCM score
55 of 100
skills.sh installs
1.2K
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers embedding text, batch embedding documents, and semantic search across stored patterns via npx claude-flow embeddings commands
  • Provides HNSW indexing for large pattern databases, a sql.js WASM cache, and hyperbolic (Poincare ball) embeddings for hierarchical data
  • Offers Int8, Int4, and binary quantization for 3.92x, 7.84x, and 32x memory reduction, plus L2, L1, min-max, and z-score normalization
  • Designed for semantic search, similarity queries, and knowledge retrieval, not exact text matching or simple lookups

Install

$ npx -y skills add ruvnet/ruflo --skill embeddings -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/ruvnet/ruflo
Categories
AI Agents & LLM Apps, Memory & Context
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236

Similar to Embeddings

More AI Agents & LLM Apps