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 从公开仓库中收录这些内容。

举报或申请下架