embeddings

Solid

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.

AI & Automation 57,130 stars 6508 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
74
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Embeddings Skill ## Purpose Vector embeddings for semantic search and pattern matching with HNSW indexing. ## Features | Feature | Description | |---------|-------------| | **sql.js** | Cross-platform SQLite persistent cache (WASM) | | **HNSW** | 150x-12,500x faster search | | **Hyperbolic** | Poincare ball model for hierarchical data | | **Normalization** | L2, L1, min-max, z-score | | **Chunking** | Configurable overlap and size | | **75x faster** | With agentic-flow ONNX integration | ## Commands ### Initialize Embeddings ```bash npx claude-flow embeddings init --backend sqlite ``` ### Embed Text ```bash npx claude-flow embeddings embed --text "authentication patterns" ``` ### Batch Embed ```bash npx claude-flow embeddings batch --file documents.json ``` ### Semantic Search ```bash npx claude-flow embeddings search --query "security best practices" --top-k 5 ``` ## Memory Integration ```bash # 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 | Type | Memory Reduction | Speed | |------|-----------------|-------| | Int8 | 3.92x | Fast | | Int4 | 7.84x | Faster | | Binary | 32x | Fastest | ## Best Practices 1. Use HNSW for large pattern databases 2. Enable quantization for memory efficiency 3. Use hyperbolic for hierarchical relationships 4. Normalize embeddings for consistency

Details

Author
ruvnet
Repository
ruvnet/ruflo
Created
12 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

030201-pgvector-embeddings

Vector search with pgvector — embedding generation (OpenAI or hash), HNSW indexing, cosine similarity search, and enriched product JOIN queries.

1 Updated yesterday
natuleadan
AI & Automation Solid

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger when user asks to:** - Store or search vector embeddings in PostgreSQL - Set up semantic search, similarity search, or nearest neighbor search - Create HNSW or IVFFlat indexes for vectors - Implement RAG (Retrieval Augmented Generation) with PostgreSQL - Optimize pgvector performance, recall, or memory usage - Use binary quantization for large vector datasets **Keywords:** pgvector, embeddings, semantic search, vector similarity, HNSW, IVFFlat, halfvec, cosine distance, nearest neighbor, RAG, LLM, AI search Covers: halfvec storage, HNSW index configuration (m, ef_construction, ef_search), quantization strategies, filtered search, bulk loading, and performance tuning.

1,751 Updated 1 weeks ago
timescale
AI & Automation Solid

vector-memory

HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.

1,160 Updated today
a5c-ai
AI & Automation Solid

agentdb-vector-search

Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.

57,130 Updated today
ruvnet
AI & Automation Listed

agentdb-vector-search

Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.

335 Updated today
aiskillstore