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 從公開儲存庫中收錄這些內容。

檢舉或申請下架