Chuyển đến nội dung
Skillpedia
Agent81k · #1682

memory-search

Skill này làm gì

Skill này tìm trong các bộ nhớ Ruflo đã lưu, dùng tìm kiếm theo ý nghĩa, khớp từ khóa hoặc kết hợp cả hai. Skill dành cho người muốn tìm lại ghi chú đã lưu trước đó mà không nhớ chính xác từng từ.

Khi nào nên dùng

  • ✓Khi bạn muốn tìm một điều bạn đã lưu vào bộ nhớ trước đây.
  • ✓Khi các từ khóa chính xác có thể không khớp, nên bạn muốn tìm theo ý nghĩa.
  • ✓Khi bạn muốn tìm trên tất cả các không gian bộ nhớ cùng lúc.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rag-memory/skills/memory-search/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy tìm trong bộ nhớ của tôi mọi điều chúng ta đã quyết định về trang giá.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill mặc định chạy tìm kiếm theo ngữ nghĩa, hoặc tìm kết hợp từ khóa và ý nghĩa nếu bạn yêu cầu. Skill báo cho bạn chiến lược nào thực sự đã chạy, vì một số tùy chọn có thể quay về tìm kiếm thông thường.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Tùy chọn hybrid làm gì?

Nó kết hợp kết quả theo từ khóa và kết quả theo ý nghĩa, loại bỏ trùng lặp và sắp xếp theo điểm.

Có thể tìm bằng đồ thị không?

Không. Nguồn nói không có lệnh tìm kiếm đồ thị nào được hỗ trợ, nên skill đưa ra phương án dự phòng là tìm theo ngữ nghĩa và ghi rõ như vậy.

Skill có tìm trong mọi không gian bộ nhớ không?

Có, trừ khi bạn chỉ định một không gian cụ thể để tìm.

Chi tiết

Mô tả gốc của tác giả

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

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1682
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự