Search Memory
Researchsearch-memorySearch 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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/nowledge-co/community/blob/HEAD/nowledge-mem-droid-plugin/skills/search-memory/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/search-memory-3e229041, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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:
nmem --json m search "3-7 core concepts"
Use thread search when the user is really asking about a prior conversation:
nmem --json t search "query" --limit 5
If a memory result includes source_thread, or thread search identifies the likely discussion, fetch progressively:
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