/nowledge-mem:distill-memoryfrom nowledge-mem
Detects breakthrough moments, design decisions, and blocking resolutions worth preserving. Suggests distilling high-value insights into durable memories using the nmem CLI.
Ships in nowledge-mem. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Save proactively when the conversation produces a durable fact, preference, decision, plan, procedure, learning, event, or important context. Do not wait to be asked.
Breakthrough: Extended debugging resolves, user relief ("Finally!", "Aha!"), root cause found
Decision: Compared options, chose with rationale, trade-off resolved
Research: Investigated multiple approaches, conclusion reached, optimal path determined
Twist: Unexpected cause-effect, counterintuitive solution, assumption challenged
Lesson: "Next time do X", preventive measure, pattern recognized
Skip: Routine fixes, work in progress, simple Q&A, generic info
Good (atomic + actionable):
Poor: Vague "Fixed bugs", conversation transcript
Use nmem CLI to create memories:
nmem m add "Insight + context for future use" \
-t "Searchable title (50-60 chars)" \
-i 0.8
Add --unit-type fact|preference|decision|plan|procedure|learning|context|event when the type is clear.
If an existing memory already captures the same decision, workflow, or preference and the new information refines it, update that memory instead of creating a duplicate:
nmem m update <id> -t "Updated title"
Content: Outcome/insight focus, include "why", enough context
Importance: 0.8-1.0 major | 0.5-0.7 useful | 0.3-0.4 minor
Note: For programmatic use, add --json flag to get JSON response
Examples:
# High-value insight
nmem m add "React hooks cleanup must return function. Caused memory leaks in event listeners." \
-t "React Hooks Cleanup Pattern" \
-i 0.9
# Decision with context
nmem m add "Chose PostgreSQL over MongoDB for ACID compliance and complex queries" \
-t "Database: PostgreSQL" \
-i 0.9
Timing: After resolution/decision, when user pauses
Pattern: "This [type] seems valuable - [essence]. Distill into memory?"
Frequency: 1-3 per session typical, quality over quantity
If nmem is not in PATH: pip install nmem-cli, or on Arch Linux yay -S nmem-cli / paru -S nmem-cli
For remote servers: run nmem config client set url https://... and nmem config client set api-key ... once on this machine.
Run /status to check server connection.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memory-management, knowledge-capture, insight-detection, nmem
npx claudepluginhub nowledge-co/community --plugin nowledge-mem5 skills in this plugin
/bridgeUse Nowledge Bridge to contact an agent or a particular running session, prepare this session to receive, handle a handoff, or check correlated replies./read-working-memoryRead your daily Working Memory briefing to understand current context. Contains active focus areas, priorities, unresolved flags, and recent knowledge changes. In Grok Build, invoke this on the first relevant turn because passive startup-hook output is not model context./save-threadSave the real Claude Code or Grok Build session messages only when the user explicitly requests it. Also use it to save or move the current conversation to a Space the user names. Use nmem t save to import the recorded session, not a summary-only checkpoint./search-memorySearch Nowledge memories and threads for continuation, reviews, regressions, releases, connector work, prior decisions, cross-tool context, or exact history. Search proactively before concluding, even when startup Working Memory is already present.Other plugins' skills for the same job