Search Memory

nowledge-co/community/nowledge-mem-proma-plugin/skills/search-memory

作者 nowledge-co1f4d7eb61466dbfc93ce8d7a0a806c4d4a196dd0无许可证收录于 2026年10月9日更新于 2026年10月9日

Search Nowledge Mem memories and threads from Proma when the user references past work, prior decisions, recurring problems, or project history.

仅含说明AI & Agents
AI 生成的概览

检索 Nowledge Mem 的记忆与对话线程,在用户提及过往工作时找出过去的决策、偏好与项目历史。

功能
指导智能体在过往信息有助于回答时主动查询 Nowledge Mem 知识库。它先使用 MCP 记忆检索工具,再回退到对话线程检索工具,最后可改用 nmem 命令行的深度检索模式。它还要求把 nmem 结果与 Proma 内置的回忆工具结合使用,并以自然的方式呈现检索到的上下文。
适用场景
当用户提到之前的讨论、决策、偏好或反复出现的问题,或提及有历史记录的项目与主题时使用。当前问题与以往解决过的问题相似时也适用。若检索不到内容,该技能要求如实说明,而不是编造上下文。
运行要求
需要访问 Nowledge Mem 的 MCP 工具(mcpnowledge-memsearch_memories、mcpnowledge-memsearch_threads),或以 nmem 命令行作为后备;同时引用 Proma 内置的 mcpmemrecall_memory。不附带脚本,仅为说明文档。

Search Memory

Search your Nowledge Mem knowledge base proactively when past insights would improve the response.

When to Search

Strong signals — search without waiting to be asked:

  • User references "last time", "before", "we discussed", "the other day"
  • User asks about a decision, preference, or plan that may have been decided before
  • User mentions a project, repo, or topic with known history
  • Current problem resembles a previously solved one

Search routing:

  1. Start with mcp__nowledge-mem__search_memories for distilled knowledge
  2. Fall back to mcp__nowledge-mem__search_threads for conversation history
  3. If MCP tools unavailable, use CLI: nmem --json m search "<query>" --mode deep

Usage

Primary (MCP):

mcp__nowledge-mem__search_memories  query: "<search terms>"  limit: 5
mcp__nowledge-mem__search_threads  query: "<search terms>"  limit: 5

Fallback (CLI):

bash
nmem --json m search "auth token rotation" --mode deepnmem --json t search "deploy pipeline discussion" --limit 5

Guidance

  1. Search both nmem and Proma's built-in mcp__mem__recall_memory — nmem for cross-session history, built-in for current-session notes
  2. Prefer nmem results for decisions, preferences, and project-level context
  3. Frame results naturally — "we decided X last time" not "search result 3 indicates X"
  4. If search returns nothing, say so honestly; don't fabricate context

来源与署名

来源:nowledge-co/community位于nowledge-mem-proma-plugin/skills/search-memory提交1f4d7eb

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架