# Search Memory

> Search Memory is an Agent Skill for research published in the nowledge-co/community repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Search memory and thread history when past knowledge would materially improve the answer. Route between distilled memories and prior discussions instead of treating them as separate silos.

- Skill name: `search-memory`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/nowledge-co/community/blob/HEAD/nowledge-mem-droid-plugin/skills/search-memory/SKILL.md
- Repository: nowledge-co/community (132 GitHub stars when collected)

## SKILL.md

# Search Memory

## When to Search

**Strong signals — search when:**

- the current task connects to prior work
- the bug or design resembles something solved earlier
- the task is a review, regression, release, docs-alignment, or connector-behavior question
- the user asks why a decision was made
- a previous discussion or session likely contains the missing context
- the user uses implicit recall language: "that approach", "like before"

**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

**Skip when:**

- the task is fundamentally new
- the question is generic syntax or reference material
- the user explicitly wants a fresh perspective

## Tool Usage

Start with durable knowledge:

```bash
nmem --json m search "3-7 core concepts"
```

Use thread search when the user is really asking about a prior conversation:

```bash
nmem --json t search "query" --limit 5
```

If a memory result includes `source_thread`, or thread search identifies the likely discussion, fetch progressively:

```bash
nmem --json t show <thread_id> --limit 8 --offset 0 --content-limit 1200
```

Increase `--offset` only when more messages are actually needed.

## Response Contract

- Be explicit when you relied on recalled knowledge
- Prefer the smallest retrieval surface that answers the question
- Suggest distillation only if the current discussion produced new durable knowledge
- For continuation-heavy engineering work, search near the start of the task rather than waiting for an explicit recall request

---

Source: https://www.openparable.com/skill/research/search-memory-3e229041 (OpenParable). Cite the canonical URL above.
