search-memory
Original:🇺🇸 English
Translated
Search your personal knowledge base when past insights would improve response. Recognize when stored breakthroughs, decisions, or solutions are relevant. Search proactively based on context, not just explicit requests.
15installs
Sourcenowledge-co/community
Added on
NPX Install
npx skill4agent add nowledge-co/community search-memoryTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Search Memory
AI-powered semantic search across your personal knowledge base using Nowledge Mem.
When to Use
Strong signals to search:
- Continuity: Current topic connects to prior work
- Pattern match: Problem resembles past solved issue
- Decision context: "Why/how we chose X" implies documented rationale
- Recurring theme: Topic discussed in past sessions
- Implicit recall: "that approach", "like before"
Contextual signals:
- Complex debugging (may match past root causes)
- Architecture discussion (choices may be documented)
- Domain-specific question (conventions likely stored)
Skip when:
- Fundamentally new topic
- Generic syntax questions
- Fresh perspective explicitly requested
Prerequisites
nmem CLI - Choose one option:
Option 1: uvx (Recommended)
bash
# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh
# Run nmem directly (auto-downloads)
uvx --from nmem-cli nmem --versionOption 2: pip
bash
pip install nmem-cli
nmem --versionEnsure Nowledge Mem server is running at
http://localhost:14242Usage
Use CLI with flag for programmatic search:
nmem--jsonbash
# Basic search
nmem --json m search "your query here"
# With importance filter
nmem --json m search "API design" --importance 0.8
# With labels (multiple labels use AND logic)
nmem --json m search "authentication" -l backend -l security
# With time filter
nmem --json m search "meeting notes" -t week
# Limit results
nmem --json m search "debugging tips" -n 5Query Guidelines
- Extract semantic core from user's request
- Preserve domain terminology
- Multi-language aware (works with any language)
- Use 3-7 core concepts for best results
Available Filters
| Flag | Description | Example |
|---|---|---|
| Minimum importance (0.0-1.0) | |
| Filter by label (repeatable) | |
| Time filter | |
| Limit results | |
Understanding Results
Parse the array from JSON response. Check field:
memoriesscore- 0.6-1.0: Directly relevant - include in response
- 0.3-0.6: Related context - may be useful
- < 0.3: Skip - not relevant enough
Response Guidelines
Found relevant memories: Synthesize insights, cite when helpful
No results: State clearly, suggest distilling current discussion if valuable
Examples
bash
# Search for React patterns
nmem --json m search "React hooks patterns" -l frontend
# Find debugging solutions
nmem --json m search "memory leak debugging" --importance 0.6
# Recent project decisions
nmem --json m search "architecture decision" -t month -n 10