Fast Unified Memory
/install fast-unified-memory
Skill: Fast Unified Memory
A high-performance unified memory system that integrates OpenClaw memory with semantic memory storage using Ollama's nomic-embed-text model for ultra-fast embeddings.
Overview
This skill provides a unified memory layer that combines:
- OpenClaw Memory: Standard file-based memory storage
- Semantic Memory: Vector-based memory using Ollama embeddings
Features
- ⚡ Ultra-fast: ~130ms for combined search (embedding ~40ms + search ~90ms)
- 🔒 Private: All processing done locally via Ollama
- 💰 Free: No API costs - uses local Ollama instance
- 🧠 Semantic: Uses nomic-embed-text for intelligent similarity matching
Requirements
- Ollama installed and running
nomic-embed-textmodel pulled:ollama pull nomic-embed-text
Installation
# Install Ollama first
curl -fsSL https://ollama.ai/install.sh | sh
# Pull the embedding model
ollama pull nomic-embed-text
# Start Ollama
ollama serve
Usage
Commands
# Search both memory systems
node fast-unified-memory.js search "your query"
# Add a memory
node fast-unified-memory.js add "User prefers concise responses"
# List all memories
node fast-unified-memory.js list
# Show system stats
node fast-unified-memory.js stats
Architecture
┌─────────────────────────────────────────────┐
│ FAST UNIFIED MEMORY │
│ │
│ ┌─────────────┐ ┌─────────────┐ │
│ │ OpenClaw │ │ Semantic │ │
│ │ Memory │ │ Memory │ │
│ │ (files) │ │ (vectors) │ │
│ └─────────────┘ └─────────────┘ │
│ ↓ ↓ │
│ [Keyword Match] [Cosine Similarity] │
│ │
│ Unified Results (ranked) │
└─────────────────────────────────────────────┘
Performance
| Metric | Value |
|---|---|
| Embedding generation | ~40ms |
| Vector search | ~50ms |
| File search | ~40ms |
| Total search | ~130ms |
Configuration
The skill uses these defaults:
- Ollama URL:
http://localhost:11434 - Embedding model:
nomic-embed-text - Memory storage:
~/.mem0/fast-store.json - OpenClaw memory:
~/.openclaw/workspace/memory/
Files
fast-unified-memory.js- Main CLI toolSKILL.md- This documentation
Troubleshooting
Ollama not running:
ollama serve
Model not found:
ollama pull nomic-embed-text
Port conflict:
The skill assumes Ollama is on port 11434. Update the OLLAMA_URL constant if using a different port.
License
MIT
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fast-unified-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/fast-unified-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Fast Unified Memory 是什么?
Provides a high-performance unified memory combining file-based OpenClaw storage with semantic vector search using local Ollama embeddings for fast, private... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 398 次。
如何安装 Fast Unified Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fast-unified-memory」即可一键安装,无需额外配置。
Fast Unified Memory 是免费的吗?
是的,Fast Unified Memory 完全免费(开源免费),可自由下载、安装和使用。
Fast Unified Memory 支持哪些平台?
Fast Unified Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Fast Unified Memory?
由 Broedkrummen(@broedkrummen)开发并维护,当前版本 v1.0.1。