Skip to content
Back to skills

Fast Unified Memory

CSecurity

Fast Unified Memory

  • 33 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentsbashnodeapiperformancedocumentation

Works with

  • cli
  • api

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts β€” classic supply chain attack

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill fast-unified-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fast Unified Memory?

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

Security grade badge for Fast Unified Memory
[![Security: C β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-fast-unified-memory/badge)](https://www.skillsdirectory.com/skills/dvcrn-fast-unified-memory)

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: fast-unified-memory
description: "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](https://ollama.ai) installed and running
- `nomic-embed-text` model pulled: `ollama pull nomic-embed-text`

## Installation

```bash
# 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

```bash
# 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 tool
- `SKILL.md` - This documentation

## Troubleshooting

**Ollama not running:**
```bash
ollama serve
```

**Model not found:**
```bash
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

Files in this skill

  • SKILL.md3.1 KB
  • fast-unified-memory.js6.1 KB

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…