Command Palette

Search for a command to run...

Назад к скиллам
скилл № 36488

search-memory

Search cross-tool Nowledge memories and threads for prior decisions, procedures, learnings, or exact history, with normal, deep, and progressive graph-backed…

БесплатноБез исполняемых скриптов
nowledge-coот nowledge-co★ 206 звёзд на GitHub

Установить search-memory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Find what the user already knows. Search their memories and past conversations for decisions, procedures, and context that make the current task sharper.

For continuation-style engineering work, search near the start of the task. Do not wait for the user to literally say "search memory".

Codex local Memory is useful as a hint, but it is not a substitute for this search when provenance, exact history, current cross-tool state, or prior decisions matter.

When to use

Strong signals (search when):

  • The user references previous work, a prior fix, or an earlier decision
  • The task resumes a named feature, bug, refactor, incident, or subsystem
  • The task is a review, regression, release, docs-alignment, or connector-behavior question
  • A debugging pattern resembles something solved earlier
  • The user asks for rationale, preferences, procedures, or recurring workflow details
  • The user uses implicit recall language: "that approach", "like before", "the pattern we used"

Contextual signals (consider searching when):

  • Complex debugging where prior context would narrow the search space
  • Architecture discussion that may intersect with past decisions
  • Domain-specific conventions the user has established before
  • The current result is ambiguous and past context would make the answer sharper

When NOT to search:

  • Fundamentally new topic with no prior history
  • Generic syntax or API questions answerable from documentation
  • User explicitly asks for a fresh perspective without prior context

Retrieval routing

If this session already exposes the Nowledge Mem MCP server, prefer:

  1. memory_search for durable knowledge (decisions, insights, procedures).
  2. thread_search when the user is asking about a prior conversation or exact session history.
  3. thread_fetch_messages for one targeted, bounded thread read.

Otherwise:

  1. Start with nmem --json m search "query" for durable knowledge (decisions, insights, procedures).
  2. Use nmem --json t search "query" --limit 5 when the user is asking about a prior conversation or exact session history.
  3. If a result includes source_thread, inspect it once for the specific messages needed with nmem --json t show <thread_id> --limit 8 --offset 0 --content-limit 1200.

Prefer the smallest retrieval that answers the question. Do not over-fetch. Use a limit of 5 for ordinary Memory retrieval unless the task needs more.

Intelligent retrieval routing

Treat retrieval mode and graph traversal as separate decisions. Start with the smallest mode that can answer the user's question, then escalate only when the result or the user's intent justifies it.

  1. Normal (default): use memory_search (or nmem --json m search "query" --mode normal) for a bounded recall of a concrete fact, a recent decision, or a simple "what do we know" question. Keep the default limit at 5.
  2. Deep: use mode="deep" (or --mode deep) when the user asks about concepts, rationale, history, relationships across topics, or why a choice was made. Escalate after Normal when it is empty, ambiguous, weakly supported, conflicting, or leaves an important part of the question unanswered. Prefer the server's evidence and trust warnings over a hardcoded score threshold; never invent a threshold the server did not return.
  3. Progressive graph search: use it when the user names an exact Memory ID or URI, asks to start from a node, or wants related memories, neighbors, lineage, or a trace. If no seed is supplied, run a bounded Normal/Deep search first and select only exact IDs from its ranked results.

After a non-empty search, the default graph view is a focused graph of that result set. A graph view does not by itself mean "search the whole graph". Use progressive expansion only when more relational evidence is needed or the user asks to continue.

Progressive one-hop protocol

Maintain this explicit state across expansion calls:

  • seed: the exact starting Memory ID(s)
  • visited: IDs already inspected, including the seed
  • frontier: newly discovered candidate IDs that may be expanded next
  • hop: the current graph distance from the seed

For each step, expand one selected frontier node by one hop:

nmem --json graph expand <memory-id> --depth 1 --limit 20

Use an equivalent graph-expansion MCP tool when the host exposes one. Keep depth=1 per call, de-duplicate against visited, preserve edge types and the returned order, and update frontier only with new relevant IDs. Default limits are at most 5 hops and 20 neighbors per hop. Do not automatically expand every neighbor or empty the whole graph in one turn. Stop when the answer is sufficiently supported, the next frontier is empty/repeated, or the maximum depth is reached. If the user explicitly requests a deeper walk, still make it one hop per call and stop at depth 5 unless the server advertises a different safe limit.

For progressive results, report the seed,

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл search-memory?

Search cross-tool Nowledge memories and threads for prior decisions, procedures, learnings, or exact history, with normal, deep, and progressive graph-backed retrieval. Trigger for continuation, reviews, regressions, releases, rationale, or recall language even if Codex local Memory already shows a related summary.

Как установить скилл search-memory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл search-memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить search-memory с