New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ruvnet avatar

Memory Bridge

Bridge Claude Code auto-memory files into AgentDB for deduplicated, cross-project semantic search.

skills.sh installs
745
GitHub stars
82.2K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers importing markdown memories from ~/.claude/projects/*/memory/*.md for the current project or all projects
  • Generates 384-dim ONNX embeddings with all-MiniLM-L6-v2 and stores them in the claude-memories namespace with HNSW indexing
  • Deduplicates entries with cosine similarity above 0.95 and keeps the most recent version when merging
  • Runs automatically on session start, with manual import reserved for first-time setup, bulk changes, or re-embedding after model updates

Install

$ npx -y skills add ruvnet/ruflo --skill memory-bridge -y

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

Files

Memory Bridge

Import Claude Code's native auto-memory files into AgentDB for semantic search across sessions and projects.

What it does

Claude Code stores memories as markdown files in ~/.claude/projects/*/memory/*.md. This bridge:

  1. Reads all memory files (current project or all projects)
  2. Generates 384-dim ONNX embeddings (all-MiniLM-L6-v2)
  3. Stores in AgentDB's claude-memories namespace with HNSW indexing
  4. Deduplicates against existing entries (cosine similarity > 0.95)
  5. Enables unified semantic search across all memory sources

Steps

  1. Check bridge health: mcp__plugin_ruflo-core_ruflo__memory_bridge_status({}) Verify: Claude files count, AgentDB entries, SONA state, connection status.

  2. Import memories:

    • Current project: mcp__plugin_ruflo-core_ruflo__memory_import_claude({})
    • All projects: mcp__plugin_ruflo-core_ruflo__memory_import_claude({ allProjects: true })

    CLI alternative:

    node .claude/helpers/auto-memory-hook.mjs import-all
    
  3. Verify import: mcp__plugin_ruflo-core_ruflo__memory_bridge_status({}) Confirm entry counts match expected file counts.

Details

Repository
github.com/ruvnet/ruflo
Category
Memory & Context
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236

Similar to Memory Bridge

More Memory & Context