memory-search — скилл для Claude Code: что делает и как установить
Ищет записи в памяти Ruflo по смыслу или ключевым словам с ранжированием. Помогает извлекать контекст задач и сохранённые решения.
npx skills add ruvnet/ruflo --skill memory-search -a claude-codeЧто делает memory-search
Скилл находит сохранённые данные в памяти Ruflo через CLI @claude-flow/cli@latest или MCP-инструменты плагина ruflo-core. По умолчанию запускается семантический поиск. Флаг --hybrid объединяет семантику и ключевые слова без дублей, а флаг --smart добавляет расширение запроса и алгоритм MMR.
Поиск можно направить в конкретный раздел вроде patterns или solutions. Для сложных запросов доступен вызов agentdb_context-synthesize, который формирует сжатый контекст.
У скилла нет поддержки Graph RAG по текстовому запросу. Если передать --graph-rag, агент честно откатится к семантическому режиму --smart. При отсутствии пакета smartSearch инструмент MCP тоже вернётся к обычному поиску.
Какие задачи решает
- найти сохранённые архитектурные паттерны в памяти Ruflo
- объединить семантический поиск и ключевые слова через флаг
--hybrid - извлечь контекст прошлых решений с помощью
agentdb_context-synthesize - выполнить поиск сразу по всем пространствам имён Ruflo
Примеры запросов агенту
- Найди в памяти Ruflo паттерны авторизации с флагом --smart
- Выполни гибридный поиск по разделу solutions для ошибки базы данных
- Найди недавние задачи в Ruflo через memory-search
Как установить memory-search
1Через Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill memory-search -a claude-code2Вручную: положить файлы
~/.claude/skills/memory-search/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/memory-search/
1Через Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill memory-search -a codex2Вручную: положить файлы
.agents/skills/memory-search/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill memory-search -a cursor2Вручную: положить файлы
.cursor/skills/memory-search/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ruvnet/ruflo memory-search2Вручную: положить файлы
.github/skills/memory-search/SKILL.md1Через Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill memory-search -a gemini-cli2Командой платформы
gemini skills install https://github.com/ruvnet/ruflo --path plugins/ruflo-rag-memory/skills/memory-searchВручную: положить файлы
.devin/skills/memory-search/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ruvnet/ruflo --skill memory-search -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора104
Весь набор →Похожие
Вопросы о memory-search
Как установить memory-search в Claude Code?
Выполните команду npx skills add ruvnet/ruflo --skill memory-search -a claude-code в терминале.
Что делает memory-search?
Скилл ищет записи в памяти Ruflo через утилиту @claude-flow/cli или MCP-сервер, поддерживая семантический поиск, гибридный режим и умное ранжирование.
Поддерживает ли скилл Graph RAG?
Текстовый поиск Graph RAG здесь не поддерживается. Если запросить этот режим, скилл переключится на семантический поиск с флагом --smart.
Исходный текст
SKILL.md · MIT
---
name: memory-search
description: Search Ruflo memory with semantic retrieval, keyword/semantic union, or optional SmartRetrieval reranking
allowed-tools: Bash Read mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_list mcp__plugin_ruflo-core_ruflo__memory_retrieve mcp__plugin_ruflo-core_ruflo__memory_search_unified mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesize
argument-hint: "<query> [--hybrid] [--smart] [--namespace NAME]"
---
# 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)**
```bash
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`)**
```bash
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`)**
```bash
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 |
© ruvnet · MIT · ruvnet/ruflo