Skip to content
Skillpedia
Agents81k · #1681

memory-bridge

What it does

This skill brings your Claude Code memory notes into a shared, searchable memory store. It is for people who want notes from past sessions and projects to be easy to find.

When to use it

  • ✓When you want past Claude Code notes to be searchable from one place.
  • ✓When you want to search memories across all of your projects.
  • ✓When you want to remove near-duplicate memory entries.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rag-memory/skills/memory-bridge/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rag-memory/skills/memory-bridge/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Import my Claude Code memory notes from all projects so I can search them together.”

5 new skills a week. 1 minute to read.

How it works

The skill reads the markdown memory files, creates a vector for each one, and stores them in a memory namespace. It skips entries that are almost identical to ones already stored, and then lets you search across everything.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

  4. Deduplicate (if --dedupe): Search for near-duplicate entries (cosine > 0.95) and merge them, keeping the most recent version.

  5. Test unified search: mcp__plugin_ruflo-core_ruflo__memory_search_unified({ query: "test query", limit: 3 }) Results include source attribution: claude-code, auto-memory, or agentdb.

Auto-import

The bridge runs automatically on session-start via the SessionStart hook. Manual invocation is only needed for:

  • First-time import of all projects
  • After bulk memory changes outside normal sessions
  • Forcing re-embedding after model updates

Search compatibility

Use memory_search_unified to query bridged memories. This bridge does not expose a text-query Graph RAG command or the ruvector search --hybrid CLI flags; additional ruvector integrations require separate configuration and verification.

FAQ

Where are the original notes?

They stay where Claude Code keeps them. The skill copies them into the search store.

How does it avoid duplicates?

It skips notes that are nearly identical to an existing entry, with similarity above 0.95.

Can I check the import worked?

Yes. A status check shows the entry counts so you can compare them with the number of files.

Details

Original description by the author

Bridge Claude Code auto-memory into AgentDB with ONNX embeddings, deduplicate, and enable unified cross-project search

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1681
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills