Distill Memory

nowledge-co/community/nowledge-mem-devin-plugin/skills/distill-memory

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

Capture breakthrough moments and valuable insights as searchable memories in your knowledge base.

僅含說明AI & Agents
AI 產生的概覽

引導代理將持久性見解、決策與流程存成知識庫中可搜尋的記憶。

功能
這個技能提供指引,說明何時以及如何把對話中持久有效的知識寫入記憶庫。它列出適合保存的內容,例如附理由的決策、可重複的流程、除錯經驗、偏好、計畫以及重要背景,並說明應跳過例行修正、臨時性工作和通用資訊。它也說明如何在新增記憶與更新既有記憶之間做選擇,並建議使用單元類型、標籤和重要性等結構化欄位。
適用情境
當一次工作階段產生了值得在對話結束後保留的事實、偏好、決策、計畫、流程、經驗、事件或背景時使用。它也適用於一項重要任務結束時,讓代理檢查是否需要新增或更新一筆持久記憶。
執行需求
代理需要能夠使用記憶工具,也就是 nmem 命令列工具或原生 Nowledge Mem 連接器,並支援 add、update 等命令。這個技能不附帶指令碼,僅包含說明。

Distill Memory

Save proactively when the conversation produces a durable fact, preference, decision, plan, procedure, learning, event, or important context. Do not wait to be asked.

When to Save

Good candidates include:

  • decisions with rationale ("we chose PostgreSQL because ACID is required")
  • repeatable procedures or workflows
  • lessons from debugging, incidents, or root cause analysis
  • durable preferences or constraints
  • plans that future sessions will need to resume cleanly
  • important context that would be lost when the session ends

Skip routine fixes with no generalizable lesson, work in progress that will change, simple Q&A answerable from documentation, and generic information already widely known.

Add vs Update

  • Use nmem --json m add when the insight is genuinely new.
  • If an existing memory already captures the same decision, workflow, or preference and the new information refines it, use nmem m update <id> ... instead of creating a duplicate.
  • At the end of a substantial task, explicitly check whether one durable memory should be added or updated.

Prefer atomic, standalone memories with strong titles and clear meaning. Focus on what was learned or decided, not routine chatter.

Use structured saves when possible: --unit-type (fact, preference, decision, plan, procedure, learning, context, event), -l labels, -i importance (0.8–1.0 major decisions, 0.5–0.7 useful patterns, 0.3–0.4 minor notes). For MCP/native tools, pass the same value as unit_type when you know it.

Native Connector

These skills work in any agent via CLI. For auto-recall, auto-capture, and graph tools, check if your agent has a native Nowledge Mem connector — run the check-integration skill or see https://mem.nowledge.co/docs/integrations

來源與署名

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

授權條款: 無授權條款

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

檢舉或申請下架