Skip to content
Back to skills

Memory Memory Search

ASecurity

Search stored memory using semantic, keyword, or hybrid search.

  • 21 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentsjavascriptjavabash

Works with

  • mcp

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill memory-memory-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Memory Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Memory Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-memory-memory-search/badge)](https://www.skillsdirectory.com/skills/monoes-memory-memory-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-memory-search
description: Search stored memory using semantic, keyword, or hybrid search.
type: flow
---

# memory search

Search stored memory using semantic, keyword, or hybrid search.

## Usage

```bash
npx monomind memory search [options]
```

## Options

| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| `--query` | `-q` | string | — | Search query text |
| `--namespace` | `-n` | string | `default` | Namespace to search |
| `--limit` | `-l` | number | `10` | Maximum results to return |
| `--threshold` | — | number | `0.7` | Minimum similarity threshold (0–1) |
| `--type` | `-t` | string | `hybrid` | Search type: `semantic`, `keyword`, `hybrid` |
| `--build-hnsw` | — | boolean | `false` | Build pure-JS HNSW index before search (O(log n) vs O(n) linear) |
| `--format` | — | string | — | Output format: `json` |

## Examples

```bash
# Semantic search
npx monomind memory search --query "authentication patterns"

# Keyword search
npx monomind memory search -q "JWT" --type keyword

# Hybrid search with namespace
npx monomind memory search -q "error handling" -n "project-x" --type hybrid

# Build HNSW index first for large datasets
npx monomind memory search -q "config" --build-hnsw --limit 20

# High-precision search with threshold
npx monomind memory search -q "OAuth flow" --threshold 0.9

# JSON output
npx monomind memory search -q "auth" --format json
```

## Search Types

| Type | Description | Best For |
|---|---|---|
| `semantic` | Vector similarity search | Concept/meaning matching |
| `keyword` | BM25 full-text search | Exact term matching |
| `hybrid` | Combined semantic + keyword | General purpose (recommended) |

## HNSW Index

Use `--build-hnsw` when searching large memory stores (1,000+ entries). The pure-JS HNSW index gives O(log n) approximate-nearest-neighbor queries (vs O(n) linear scan) after the one-time build cost.

## MCP Tool

```javascript
mcp__monomind__memory_pattern-search({
  query: "authentication patterns",
  namespace: "default",
  limit: 10,
  threshold: 0.7,
  type: "hybrid"
})
```

## See Also

- `memory store` — store new memories
- `memory list` — list all memories
- `memory retrieve` — retrieve by exact key

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…