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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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 searchor MCPmemory_search. --hybrid: CLI keyword + semantic result union, deduplicated and sorted by score. This is not theruvector searchCLI 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 lackssmartSearch; inspect the returned fallback note before claiming SmartRetrieval ran.- Cross-namespace: MCP
memory_search_unifiedmerges 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
Parse the query, optional namespace, result limit, and strategy flags. Omit
--namespaceto 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.Run one of the supported paths:
Semantic (default)
npx @claude-flow/cli@latest memory search --query 'QUERY' --limit 10MCP:
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 10Add
--namespace NAMESPACEonly when the user requests one.Smart retrieval (
--smart)npx @claude-flow/cli@latest memory search --query 'QUERY' --smart --limit 10MCP:
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 })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 })Present the returned entries with namespace attribution. Distinguish raw
similarityfrom SmartRetrieval'srankingScore; 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
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.