embeddings
From ruvnet
>
Facts
- Repository
- ruvnet/ruflo
- Status
- Actively maintained
- Last commit
- Source file
- .agents/skills/embeddings/SKILL.md
Source preview
The instructions Claude Code reads when this skill runs.
# 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 hypeView full source on GitHub →Other skills
django-tdd
★ 229,918Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
affaan-mupdated 14d agoMITclickhouse-io
★ 229,918ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
affaan-mupdated 14d agoMITlaravel-patterns
★ 229,918Patrones de arquitectura Laravel, routing/controladores, Eloquent ORM, capas de servicio, colas, eventos, caché y API resources para aplicaciones en producción.
affaan-mupdated 14d agoMITverification-loop
★ 229,918Sistema de verificación completo para sesiones de Claude Code.
affaan-mupdated 14d agoMITstrategic-compact
★ 229,918Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
affaan-mupdated 14d agoMITfrontend-patterns
★ 229,918Patrones de desarrollo frontend para React, Next.js, gestión de estado, optimización de rendimiento y buenas prácticas de UI.
affaan-mupdated 14d agoMIT