Search Memory

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

作者 nowledge-co1f4d7eb61466dbfc93ce8d7a0a806c4d4a196dd0無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Search your personal knowledge base when past insights would improve response. Recognize when stored breakthroughs, decisions, or solutions are relevant. Search proactively based on context, not just explicit requests.

AI 產生的概覽

引導主動檢索個人知識庫,以取得過往的見解、決策與解決方案。

功能
此技能提供指示,用於在過往見解、決策或解決方案有助於改善回應時,檢索名為 Nowledge Mem 的個人知識庫。它說明何時檢索,以及如何透過 MCP 工具或 nmem CLI 查詢記憶、對話串與知識圖譜,並說明如何沿圖譜連結追查以及避免重複執行沒有結果的檢索。它產出的是檢索查詢與檢索到的記憶脈絡,而非檔案或程式碼。
適用情境
當任務引用先前的工作、先前的修正或早先的決策,或延續某個已命名的功能、缺陷、重構、事故或子系統時使用。它也適用於審查、回歸、發布或文件一致性等問題,以及與先前修正類似的除錯,還有「那個做法」「像之前那樣」等隱含回憶的表述。
執行需求
需要存取 Nowledge Mem,可透過 MCP 工具(memory_search、thread_search、explore_graph)或 nmem CLI,並視需要指定空間範圍。它不附帶指令碼,僅為指示文件。

Search Memory

Proactive search across your personal knowledge base using Nowledge Mem in OpenHands.

When to Use

Strong signals — search when:

  • the user references previous work, a prior fix, or an earlier decision
  • the task resumes a named feature, bug, refactor, incident, or subsystem
  • the task is a review, regression, release, docs-alignment, or connector-behavior question
  • an OpenHands specialist node needs architecture guidelines agreed on by previous nodes
  • a debugging pattern resembles something solved earlier
  • the user asks for rationale, preferences, procedures, or recurring workflow details
  • the user uses implicit recall language: "that approach", "like before", "the pattern we used"

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 established previously

Usage

Via MCP (Preferred)

Search memories:

json
memory_search({  "query": "PostgreSQL transaction isolation levels"})

Search prior conversation threads:

json
thread_search({  "query": "database connection pool leak fix"})

Explore knowledge graph around an entity:

json
explore_graph({  "query": "authentication service"})

Via CLI

Search memories:

bash
nmem --json m search "authentication service"

Search threads:

bash
nmem --json t search "authentication service"

If scoped to a specific space:

bash
nmem --json m search "authentication service" --space "Backend"

Search Strategy

  1. Be specific: query with technical terms, error messages, or architectural names.
  2. Follow graph links: when a memory contains deepLinks or entity relations, inspect related nodes if more context is needed.
  3. Do not repeat: if a recent search returned empty results, do not re-run identical searches within the same turn.

來源與署名

來源:nowledge-co/community位於nowledge-mem-openhands-plugin/skills/search-memory提交1f4d7eb

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架