Search Nowledge Mem memories and threads before concluding work that depends on prior context. Use for continuation, review, regression, release, connector, or exact-history work, and whenever the user refers to earlier work or decisions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Search Memory?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nowledge-co-search-memory-8d479310)
---
name: search-memory
description: Search Nowledge Mem memories and threads before concluding work that depends on prior context. Use for continuation, review, regression, release, connector, or exact-history work, and whenever the user refers to earlier work or decisions.
---
# Search Memory
Search proactively when past knowledge would change the answer. Do not wait for the user to ask for a search.
## When to search
Strong signals:
- the user references previous work, a prior fix, or an earlier decision;
- the task resumes a named feature, bug, refactor, incident, or subsystem;
- a debugging pattern resembles something solved before;
- the user asks for rationale, preferences, procedures, or a recurring workflow;
- the user uses recall language such as "that approach", "like before", or "the pattern we used".
Skip the search for a genuinely new topic, a generic question answerable from documentation, or an explicit request for a fresh perspective.
## Retrieval routing
1. Durable knowledge first (decisions, insights, procedures): the Mem tool whose description reads memory search, or `nmem --json m search "<query>" -n 5`.
2. Prior conversations and exact session history: the Mem thread-search tool, or `nmem --json t search "<query>" --limit 5`.
3. If a memory result names a source Thread and you need the original wording, read that Thread once, bounded: `nmem --json t show <thread_id> --limit 8 --offset 0 --content-limit 1200`.
4. Prefer the smallest retrieval surface that answers the question. Do not over-fetch.
5. If results are weak or conceptual, try `--mode deep`.
Never loop over offsets to reconstruct a conversation. One bounded Thread read per question; if a read is slow, incomplete, or fails, stop, report the evidence gap, and refine the search.
## Scope and honesty
Keep the configured identity and Space; pass `--space "<space name>"` or `--space-id <exact id>` when the lane is known, and do not widen the search silently. Shared or cross-Space recall must be explicit.
If retrieval fails or times out, say so briefly and continue with what you have. Do not report a failed search as "no matches". Inspect only the results that matter to the task.
## What Each Search Matches
- Memory search is semantic: describe the concept. Memories are distilled, so
exact times, people, and wording live in the source conversation. A result's
`source_pointer` names that thread and the message range the Memory came
from. For one bounded CLI read, use the offset and limit from
`source_pointer.expand` in `nmem --json t show <thread_id> --offset <offset> --limit <limit>`.
If the hint omits the range, use offset 0 and limit 8. Verify a result
labeled `anchor_support` (low confidence) there before relying on it.
- Thread search is keyword full-text search, not semantic search: query with
names, exact words, and distinctive terms, and try a few phrasings when the
first finds nothing. A `search_guidance` hint lists the query terms no Memory
contained; they are good thread-search terms. A `thread_evidence` block holds
a few keyword-matched raw messages; treat them as leads, not conclusions.