Skip to content
nowledge-co avatar

Distill Memory

Persist durable decisions, procedures, and lessons from sessions as searchable knowledge-base memories for future recall.

CCM score
53 of 100
skills.sh installs
733
GitHub stars
206
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers when to save: decisions with rationale, repeatable procedures, debugging lessons, durable preferences, and resumable plans
  • Directs updates over duplicates via nmem m update <id> when an existing memory already captures the same decision or workflow
  • Sets structured fields including --unit-type values, -l labels, and -i importance from 0.3 to 1.0
  • Routes saves to personal space by default, or to a named Space with --space only when the user specifies it

Install

$ npx -y skills add nowledge-co/community --skill distill-memory -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/nowledge-co/community
Category
Memory & Context
First seen
May 16, 2026

More from nowledge-co/community

All 7

Similar to Distill Memory

More Memory & Context