Skip to content
Development
Command

/ruflo-memory

SOTA memory CRUD — store, search (hybrid/graph-rag/dense), retrieve, list, consolidate

From plugin
ruvnet-claude-flow
73k196 skills160 agents196 commands1 MCP
Install
> /plugin marketplace add ruvnet/claude-flow

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/ruflo-memory

Context preview

What this command does when you run it.

SOTA memory CRUD — store, search (hybrid/graph-rag/dense), retrieve, list, consolidate

Command definition

ruflo-memory.md
name: ruflo-memory
description: SOTA memory CRUD — store, search (hybrid/graph-rag/dense), retrieve, list, consolidate

$ARGUMENTS

Memory operations with HNSW-indexed vector search (measured ~1.9x at N=20k, ~3.2x–4.7x at N=5k vs brute force; ANN wins above the crossover).

Parse $ARGUMENTS to determine the operation:

**store** `--key KEY --value VALUE [--namespace NS]`: `npx @claude-flow/cli@latest memory store --key "KEY" --value "VALUE" --namespace NAMESPACE`

**search** `--query QUERY [--namespace NS] [--limit N] [--hybrid] [--graph-rag]`:

  • Default (dense): `npx @claude-flow/cli@latest memory search --query "QUERY" --namespace NAMESPACE --limit 5`
  • Hybrid (sparse+dense): `npx ruvector search "QUERY" --hybrid --limit 5`
  • Graph RAG (multi-hop): `npx ruvector search "QUERY" --graph-rag --limit 5`

**retrieve** `--key KEY [--namespace NS]`: `npx @claude-flow/cli@latest memory retrieve --key "KEY" --namespace NAMESPACE`

**list** `[--namespace NS] [--limit N]`: `npx @claude-flow/cli@latest memory list --namespace NAMESPACE --limit 10`

**delete** `--key KEY [--namespace NS]`: `npx @claude-flow/cli@latest memory delete --key "KEY" --namespace NAMESPACE`

**consolidate** `[--namespace NS]`: Deduplicate entries with cosine > 0.92, prune stale (>30 days untouched, zero retrieval hits), rebuild HNSW index. `npx @claude-flow/cli@latest hooks worker dispatch --trigger consolidate`

**bridge** `[--all-projects]`: Import Claude Code auto-memory into AgentDB. See `/memory-bridge` skill for details.

Default namespace is "default". Common namespaces: `patterns`, `tasks`, `solutions`, `feedback`, `security`, `claude-memories`.

If no arguments, run `memory list`.

Read more
Ships withruvnet-claude-flow

An agent meta-harness for Claude Code and Codex. 📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification.

Get the whole plugin

Other commands on ruvnet-claude-flow.