Distill Memory

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

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

Save durable Nowledge Mem insights when a Proma conversation produces decisions, procedures, preferences, plans, learnings, or project context that should survive future sessions.

AI 生成的概览

将对话中值得长期保留的见解保存到 Nowledge Mem,使其在后续会话中持续可用。

功能
该技能指示智能体主动把持久的事实、决策、偏好、计划、流程、经验、事件和项目背景记录为 Nowledge Mem 中的记忆。它给出了添加记忆的 MCP 工具调用形式与 CLI 备用方式,并提供重要性分级以及新增与更新记忆的判断指引。
适用场景
当对话产生了值得留给后续会话的决策、流程、偏好、计划、经验、事件或其他背景时使用。它设计为自主执行,而不是等待明确要求再保存。
运行要求
需要访问 Nowledge Mem 的 MCP 服务(add_memory、update_memory),或使用 nmem CLI 作为备用。不附带脚本,仅为指令。

Distill Memory

Save durable insights to Nowledge Mem autonomously. Don't wait to be asked — save proactively when the conversation produces a durable fact, preference, decision, plan, procedure, learning, event, or important context.

When to Save

Save proactively when the conversation produces:

  • A fact (durable reference detail, tool constraint, environment fact)
  • A decision (architecture choice, tool selection, process change)
  • A preference (code style, workflow, tool configuration)
  • A plan (multi-step task design, roadmap item)
  • A procedure (how to set up, how to debug, how to deploy)
  • A learning (bug root cause, pitfall discovered, pattern recognized)
  • An event (meeting outcome, release milestone, incident timeline)
  • Important context (project background, stakeholder constraint)

Usage

Primary (MCP):

mcp__nowledge-mem__add_memory  content: "<what was decided or learned>"  title: "<short descriptive title>"  unit_type: "fact|preference|decision|plan|procedure|learning|context|event"  importance: 0.3-1.0  tags: ["<relevant tags>"]

Fallback (CLI):

bash
nmem --json m add "JWT refresh failures came from clock skew." \  --title "JWT refresh failures traced to clock skew" \  --importance 0.9 --unit-type learning -l auth -s proma

Importance Guide

LevelWhen
0.3-0.5Minor preference, small tip
0.5-0.7Useful pattern, reusable snippet
0.7-0.9Important decision, hard-won lesson
0.9-1.0Critical architecture choice, security rule

Add vs Update

  • Add (mcp__nowledge-mem__add_memory): new insight, first time capturing something
  • Update (mcp__nowledge-mem__update_memory): refining or correcting an existing memory
  • When unsure, search first to check if a related memory already exists

Guidance

  1. Save after the decision is made, not mid-discussion
  2. Include enough context for your future self (or another AI) to understand 3 months later
  3. Don't save trivialities — "we used port 3000" doesn't belong unless the choice of port was significant
  4. Built-in mcp__mem__add_memory is for session-level notes; use nmem for cross-session durability

来源与署名

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

许可证: 无许可证

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

举报或申请下架