From ruflo-rag-memory
Bridge Claude Code auto-memory into AgentDB with ONNX embeddings, deduplicate, and enable unified cross-project search
How this skill is triggered — by the user, by Claude, or both
Slash command
/ruflo-rag-memory:memory-bridge [--all-projects] [--dedupe][--all-projects] [--dedupe]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Import Claude Code's native auto-memory files into AgentDB for semantic search across sessions and projects.
Import Claude Code's native auto-memory files into AgentDB for semantic search across sessions and projects.
Claude Code stores memories as markdown files in ~/.claude/projects/*/memory/*.md. This bridge:
claude-memories namespace with HNSW indexingCheck bridge health:
mcp__claude-flow__memory_bridge_status({})
Verify: Claude files count, AgentDB entries, SONA state, connection status.
Import memories:
mcp__claude-flow__memory_import_claude({})mcp__claude-flow__memory_import_claude({ allProjects: true })CLI alternative:
node .claude/helpers/auto-memory-hook.mjs import-all
Verify import:
mcp__claude-flow__memory_bridge_status({})
Confirm entry counts match expected file counts.
Deduplicate (if --dedupe): Search for near-duplicate entries (cosine > 0.95) and merge them, keeping the most recent version.
Test unified search:
mcp__claude-flow__memory_search_unified({ query: "test query", limit: 3 })
Results include source attribution: claude-code, auto-memory, or agentdb.
The bridge runs automatically on session-start via the SessionStart hook. Manual invocation is only needed for:
When ruflo-ruvector is loaded, bridged memories are also indexed by ruvector for:
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub adnan-bawani/ruflo.chat --plugin ruflo-rag-memory