Skip to content
Back to skills

Search Memory

ASecurity

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.

  • 206 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgodebuggingdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add nowledge-co/community --skill search-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Search Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Search Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nowledge-co-search-memory-8d479310/badge)](https://www.skillsdirectory.com/skills/nowledge-co-search-memory-8d479310)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.