Home / Commands / ruvnet/ruflo

recall

Quick semantic recall — searches all memory namespaces with MMR diversity and recency weighting

commandLicense: MIT Source: ruvnet/ruflo

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/recall.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-rag-memory/commands/recall.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/recall.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-rag-memory/commands/recall.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
name: recall
description: Quick semantic recall — searches all memory namespaces with MMR diversity and recency weighting
---
$ARGUMENTS

Semantic recall across all memory namespaces using HNSW vector search with MMR diversity reranking.

```bash
npx @claude-flow/cli@latest memory search --query 'QUERY' --limit 5
```

QUERY is the user's text. It is untrusted shell input: put it in single quotes after replacing every `'` with `'\''`, never inside double quotes (`$(...)` and backticks would run), and refuse text containing a newline.

For richer results use the smart pipeline (query expansion, RRF, MMR, recency) or hybrid sparse+dense search:
```bash
npx @claude-flow/cli@latest memory search --query 'QUERY' --smart --limit 5
npx @claude-flow/cli@latest memory search --query 'QUERY' --type hybrid --limit 5
```
(`npx ruvector search` takes a database path and a `--vector` JSON array, not a text query.)

Omitting `--namespace` searches available namespaces. Check the result for a SmartRetrieval fallback note before saying MMR or recency ranking was applied; the returned score is not a probability of truth.

If no arguments provided, show recent memory entries:
```bash
npx @claude-flow/cli@latest memory list --limit 10
```