Search cross-tool Nowledge memories and threads for prior decisions, procedures, learnings, or exact history in iCode. Trigger for continuation, reviews, regressions, releases, rationale, or recall language, even when project AGENTS.md or the session context already shows a related summary.
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-78a6eb4b)
---
name: search-memory
description: Search cross-tool Nowledge memories and threads for prior decisions, procedures, learnings, or exact history in iCode. Trigger for continuation, reviews, regressions, releases, rationale, or recall language, even when project AGENTS.md or the session context already shows a related summary.
---
Find what the user already knows. Search their memories and past conversations
for decisions, procedures, and context that make the current task sharper.
In iCode, prefer the Nowledge Mem MCP tools when loaded: `memory_search` for
semantic memory search, `thread_search` for past conversations (load them via
the MCP tool loader if only a subset is visible). CLI fallback: `nmem --json
m search "query"` and `nmem --json t search "query"`.
## 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, 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
- The current result is ambiguous and past context would sharpen it
**When NOT to search:** trivial edits, style questions, or anything the user
just explained in this conversation.
Session-start context and project AGENTS.md are hints, not substitutes: when
provenance, exact history, or current cross-tool state matter, run the search.
After searching, inspect at most one small targeted thread range per question
(for example, 8 messages with content limited to 1200 where supported). Preserve
a known nonzero offset. Never walk offsets to reconstruct a conversation or
raise content limits to compensate for a slow read. If the read is incomplete,
slow, or fails, report the evidence gap and refine search. A later explicit
request for another range is a new bounded read; routine “continue” is not
permission to drain a thread.
## 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.