ruvnet avatar

Embeddings

Adds vector embeddings with HNSW indexing to Claude for semantic search and pattern matching. The standout feature is 75x speedup when paired with agentic-flow's ONNX integration, plus you get sql.js persistence that works cross-platform through WASM. Supports hyperbolic embeddings for hierarchical data, which is genuinely useful if you're organizing knowledge graphs or taxonomies. The quantization options (binary at 32x memory reduction) make it viable for running locally without eating your RAM. Skip it for exact text matching, but if you need semantic similarity queries or want to search a knowledge base by meaning rather than keywords, this handles the annoying indexing work for you.

skills.sh installs
1.2K
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill embeddings --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Categories
AI & Agent Building, Databases
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1brave avatarbxbrave/brave-search-skillsUSE FOR web search, research, RAG, grounding, browse, find, lookups, fact-checking, documentation, agentic AI. All-in-one, optimized for AI agents. Pre-extracte1.2Kskills.sh installs
2himself65 avatarfunda-datahimself65/finance-skillsQuery Funda AI financial data via two surfaces: the MCP server at https://funda.ai/api/mcp for analyst-grade research synthesis (DCF, comps, earnings previews/r1.2Kskills.sh installs
3am-will avatarswarm-planneram-will/codex-skills[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.1.2Kskills.sh installs
4ruvnet avatarstream-chainruvnet/rufloStream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows1.2Kskills.sh installs
5ruvnet avatarhive-mind-advancedruvnet/rufloAdvanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory1.1Kskills.sh installs
6customware-ai avatartrades-buildercustomware-ai/skillsTrades Operations vertical skill for the Customware SPA. Defines the section layout, config schema, and mapping rules for transforming a DOMAIN.md into a trades1.1Kskills.sh installs