Distill memory

From nowledge-co/community · View interactive version

Distill memory is an AI agent skill from the GitHub repository nowledge-co/community. Save key decisions, procedures, or learnings so the user never has to rediscover them. Trigger when a significant decision is made, a non-obvious procedure is found, or a lesson is learned. Do not wait to be asked.

How to use this skill

Skill file

Capture what matters before the session ends. Save decisions, procedures, and learnings as durable memories that any connected AI tool can find later.

What to distill

What to skip

Workflow

If this session already exposes the Nowledge Mem MCP server:

  1. Search first with memory_search to avoid duplicates.
  2. If an existing memory captures the same concept, use memory_update.
  3. Otherwise, create it with memory_add.

Otherwise:

  1. Search first to avoid duplicates: nmem --json m search "concept"
  2. If an existing memory captures the same concept, update it:

```bash

nmem --json m update <memory_id> -c "updated content"

```

  1. Otherwise, create a new memory:

```bash

nmem --json m add "content" -t "Title" --unit-type decision -l "label" -s codex -i 0.8

```

At the end of a substantial task, explicitly check whether one durable memory should be added or updated. Do not skip that review just because the user did not ask.

Unit types

fact, preference, decision, plan, procedure, learning, context, event

Additional flags

Importance scale

After saving

Report what was stored, which unit type was used, and why each memory was worth keeping. One strong memory is better than three weak ones.

Links

Where It Lands

In a Team workspace, a save with no named Space goes to your personal space ("Only me"). Read the destination Mem reports (nmem m add prints Saved to <Space> (<id>); memory_add returns space_label and share_hint) instead of assuming who can see it.

To share, save with --space "<name>" (or space_id), using a name from nmem spaces list or list_spaces. Use a shared Space only when the user named it; never choose one from a repo, folder, or prompt text.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.