Loading...
Loading...
Recognize breakthrough moments, blocking resolutions, and design decisions worth preserving. Detect high-value insights that save future time. Suggest distillation at valuable moments, not routine work.
npx skill4agent add nowledge-co/community distill-memoryCapture breakthrough moments and valuable insights as searchable memories in your knowledge base.
curl -LsSf https://astral.sh/uv/install.sh | sh
uvx --from nmem-cli nmem --versionpip install nmem-cli
nmem --versionhttp://localhost:14242nmem m addnmem m add "Insight content with context for future use" \
-t "Searchable title (50-60 chars)" \
-i 0.8| Score | Use for |
|---|---|
| 0.8-1.0 | Major breakthroughs, critical decisions |
| 0.5-0.7 | Useful patterns, good practices |
| 0.3-0.4 | Minor tips, nice-to-know |
| Flag | Description | Example |
|---|---|---|
| Searchable title | |
| Score 0.0-1.0 | |
| JSON response | |
# High-value debugging insight
nmem m add "React hooks cleanup must return function. Missing return caused memory leaks in event listeners when component unmounted." \
-t "React Hooks Cleanup Pattern" \
-i 0.9
# Architecture decision
nmem m add "Chose PostgreSQL over MongoDB: needed ACID compliance for financial transactions and complex JOIN queries for reporting." \
-t "Database Choice: PostgreSQL for ACID" \
-i 0.9
# Development workflow tip
nmem m add "Docker build cache: COPY package*.json and run npm install BEFORE copying source files. Saves rebuild time on code changes." \
-t "Docker Build Cache Optimization" \
-i 0.7
# Debugging lesson
nmem m add "CORS preflight fails silently in fetch. Check Network tab for OPTIONS request, not just the main request." \
-t "CORS Debugging: Check OPTIONS Request" \
-i 0.8