Skip to content
Skillpedia
Agents81k · #1682

memory-search

What it does

This skill searches the memories Ruflo has stored, using meaning-based search, keyword matching or a combination. It is for people who want to find notes they saved earlier without remembering exact words.

When to use it

  • ✓When you want to find something you stored in memory earlier.
  • ✓When exact keywords may not match, so you want a search by meaning.
  • ✓When you want to search across all memory namespaces at once.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rag-memory/skills/memory-search/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-search/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

“Search my memory for anything we decided about the pricing page.”

5 new skills a week. 1 minute to read.

How it works

The skill runs a semantic search by default, or a combined keyword and meaning search if you ask for it. It reports which strategy actually ran, since some options can fall back to plain search.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Memory Search

Search Ruflo's stored memories. Select a strategy supported by the Ruflo CLI or MCP tool, and report which one actually ran.

Strategy selection

  • Default: semantic retrieval through memory search or MCP memory_search.
  • --hybrid: CLI keyword + semantic result union, deduplicated and sorted by score. This is not the ruvector search CLI and does not claim Graph RAG or sparse/dense RRF.
  • --smart: request query expansion, RRF across variants, recency weighting, and MMR diversity. The MCP tool can fall back to plain search if the installed memory package lacks smartSearch; inspect the returned fallback note before claiming SmartRetrieval ran.
  • Cross-namespace: MCP memory_search_unified merges and deduplicates results from multiple namespaces.

If the user requests --graph-rag, explain that this plugin has no supported text-query Graph RAG command. Offer --smart semantic retrieval as a clearly labeled fallback; do not claim graph traversal.

Steps

  1. Parse the query, optional namespace, result limit, and strategy flags. Omit --namespace to search all namespaces. For CLI commands, treat the query as untrusted shell input: use POSIX single-quote escaping for embedded apostrophes and reject embedded newlines. Do not interpolate it inside double quotes.

  2. Run one of the supported paths:

    Semantic (default)

    npx @claude-flow/cli@latest memory search --query 'QUERY' --limit 10
    

    MCP: mcp__plugin_ruflo-core_ruflo__memory_search({ query: "QUERY", limit: 10 })

    Keyword + semantic union (--hybrid)

    npx @claude-flow/cli@latest memory search --query 'QUERY' --type hybrid --limit 10
    

    Add --namespace NAMESPACE only when the user requests one.

    Smart retrieval (--smart)

    npx @claude-flow/cli@latest memory search --query 'QUERY' --smart --limit 10
    

    MCP: mcp__plugin_ruflo-core_ruflo__memory_search({ query: "QUERY", smart: true, limit: 10 })

    Cross-namespace bridge search mcp__plugin_ruflo-core_ruflo__memory_search_unified({ query: "QUERY", limit: 10 })

  3. For a complex query, optionally request AgentDB context synthesis with its registered schema: mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesize({ query: "QUERY", maxEntries: 10 })

  4. Present the returned entries with namespace attribution. Distinguish raw similarity from SmartRetrieval's rankingScore; neither is a probability of truth. State when SmartRetrieval fell back to plain search.

Namespace guide

Namespace Typical content
patterns Reusable approaches
tasks Task context
solutions Resolved problems
feedback User corrections
security Security notes
(omit) All available namespaces
FAQ

What does the hybrid option do?

It combines keyword results and meaning results, removes duplicates and sorts them by score.

Can it do graph search?

No. The source says no supported graph search command exists, so the skill offers a labelled semantic fallback instead.

Does it search every namespace?

Yes, unless you name one specific namespace to search.

Details

Original description by the author

Search Ruflo memory with semantic retrieval, keyword/semantic union, or optional SmartRetrieval reranking

repo: ruvnet/ruflo

Popularity

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills