搜索

PythonReactSEOPDF
OpenClaw

vector-memory

Smart memory search with automatic vector fallback. Uses semantic embeddings when available, falls back to built-in search otherwise. Zero configuration - works immediately after ClawHub install. No setup required - just install and memory_search works immediately, gets better after optional sync.

bluepointdigital0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install bluepointdigital/vector-memory

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Vector Memory

Smart memory search that automatically selects the best method:

  • Vector search (semantic, high quality) when synced
  • Built-in search (keyword, fast) as fallback

Zero configuration required. Works immediately after install.

Quick Start

Install from ClawHub
npx clawhub install vector-memory

Done! memory_search now works with automatic method selection.

Optional: Sync for Better Results
node vector-memory/smart_memory.js --sync

After sync, searches use neural embeddings for semantic understanding.

How It Works

Smart Selection
// Same call, automatic best method
memory_search("James principles values") 

// If vector ready: finds "autonomy, competence, creation" (semantic match)
// If not ready: uses keyword search (fallback)
Behavior Flow
  1. Check: Is vector index ready?
  2. Yes: Use semantic search (synonyms, concepts)
  3. No: Use built-in search (keywords)
  4. Vector fails: Automatically fall back

Tools

memory_search

Auto-selects best method

Parameters:

  • query (string): Search query
  • max_results (number): Max results (default: 5)

Returns: Matches with path, lines, score, snippet

memory_get

Get full content from file.

memory_sync

Index memory files for vector search. Run after edits.

memory_status

Check which method is active.

Comparison

Feature Built-in Vector Smart Wrapper
Synonyms ❌ ✅ ✅ (when ready)
Setup Built-in Requires sync ✅ Zero config
Fallback N/A Manual ✅ Automatic

Usage

Immediate (no action needed):

node vector-memory/smart_memory.js --search "query"

Better quality (after sync):

# One-time setup
node vector-memory/smart_memory.js --sync

# Now all searches use vector
node vector-memory/smart_memory.js --search "query"

Files

| File | Purpose | |------|---------|...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/bluepointdigital/vector-memory
Version
—
Commit
beae010b338d84739d2ee0e251cb4b89e775c454
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Vector Memory for OpenClaw

Zero-configuration smart memory search. Automatically uses neural embeddings when available, falls back to built-in search otherwise.

# Install and it just works
npx clawhub install vector-memory

# Optional: sync for better quality
node vector-memory/smart_memory.js --sync

✨ The Magic

Same function call. Automatic best method.

// This automatically does the right thing
memory_search("User principles values")

// If vector synced: finds "autonomy, competence, creation" (semantic!)
// If not synced: uses keyword search (fallback)

No configuration. No manual switching. No broken workflows.

🚀 Quick Start

From ClawHub (Recommended)
npx clawhub install vector-memory

Done. memory_search now has smart fallback.

From GitHub
curl -sL https://raw.githubusercontent.com/YOUR_USERNAME/vector-memory-openclaw/main/install.sh | bash
Manual
git clone https://github.com/YOUR_USERNAME/vector-memory-openclaw.git
cd vector-memory-openclaw/vector-memory && npm install

🎯 How It Works

User searches
      │
      ▼
┌─────────────┐
│ Vector ready?│
└──────┬──────┘
   Yes │    │ No
      ▼     ▼
┌────────┐ ┌──────────┐
│ Neural │ │ Keyword  │
│ Search │ │ Search   │
│ (best) │ │ (fast)   │
└────┬───┘ └────┬─────┘
     │          │
     └────┬─────┘
          ▼
    ┌────────────┐
    │  Results   │
    └────────────┘

Zero config philosophy:

  1. Install → Works immediately (built-in fallback)
  2. Sync → Gets better (vector embeddings)
  3. Use → Always best available

📊 Before & After

Query Without Skill With Skill (Default) With Skill (Synced)
"User collaboration style" ⚠️ Weak ✅ Better ✅ "work with me, not just for me"
"Agent origin" ⚠️ Weak ✅ Better ✅ "Agent to Agent transfer"
"values beliefs" ⚠️ Literal ✅ Improved ✅ Semantic ma...

来源内容

SKILL.md
# Vector Memory

Smart memory search that **automatically selects the best method**:
- **Vector search** (semantic, high quality) when synced
- **Built-in search** (keyword, fast) as fallback

**Zero configuration required.** Works immediately after install.

## Quick Start

### Install from ClawHub
```bash
npx clawhub install vector-memory
```

Done! `memory_search` now works with automatic method selection.

### Optional: Sync for Better Results
```bash
node vector-memory/smart_memory.js --sync
```

After sync, searches use neural embeddings for semantic understanding.

## How It Works

### Smart Selection
```javascript
// Same call, automatic best method
memory_search("James principles values") 

// If vector ready: finds "autonomy, competence, creation" (semantic match)
// If not ready: uses keyword search (fallback)
```

### Behavior Flow
1. **Check**: Is vector index ready?
2. **Yes**: Use semantic search (synonyms, concepts)
3. **No**: Use built-in search (keywords)
4. **Vector fails**: Automatically fall back

## Tools

### memory_search
**Auto-selects best method**

Parameters:
- `query` (string): Search query
- `max_results` (number): Max results (default: 5)

Returns: Matches with path, lines, score, snippet

### memory_get
Get full content from file.

### memory_sync
Index memory files for vector search. Run after edits.

### memory_status
Check which method is active.

## Comparison

| Feature | Built-in | Vector | Smart Wrapper |
|---------|----------|--------|---------------|
| Synonyms | ❌ | ✅ | ✅ (when ready) |
| Setup | Built-in | Requires sync | ✅ Zero config |
| Fallback | N/A | Manual | ✅ Automatic |

## Usage

**Immediate (no action needed):**
```bash
node vector-memory/smart_memory.js --search "query"
```

**Better quality (after sync):**
```bash
# One-time setup
node vector-memory/smart_memory.js --sync

# Now all searches use vector
node vector-memory/smart_memory.js --search "query"
```

## Files

| File | Purpose |
|------|---------|...
README
# Vector Memory for OpenClaw

**Zero-configuration smart memory search**. Automatically uses neural embeddings when available, falls back to built-in search otherwise.

```bash
# Install and it just works
npx clawhub install vector-memory

# Optional: sync for better quality
node vector-memory/smart_memory.js --sync
```

## ✨ The Magic

**Same function call. Automatic best method.**

```javascript
// This automatically does the right thing
memory_search("User principles values")

// If vector synced: finds "autonomy, competence, creation" (semantic!)
// If not synced: uses keyword search (fallback)
```

No configuration. No manual switching. No broken workflows.

## 🚀 Quick Start

### From ClawHub (Recommended)
```bash
npx clawhub install vector-memory
```
Done. `memory_search` now has smart fallback.

### From GitHub
```bash
curl -sL https://raw.githubusercontent.com/YOUR_USERNAME/vector-memory-openclaw/main/install.sh | bash
```

### Manual
```bash
git clone https://github.com/YOUR_USERNAME/vector-memory-openclaw.git
cd vector-memory-openclaw/vector-memory && npm install
```

## 🎯 How It Works

```
User searches
      │
      ▼
┌─────────────┐
│ Vector ready?│
└──────┬──────┘
   Yes │    │ No
      ▼     ▼
┌────────┐ ┌──────────┐
│ Neural │ │ Keyword  │
│ Search │ │ Search   │
│ (best) │ │ (fast)   │
└────┬───┘ └────┬─────┘
     │          │
     └────┬─────┘
          ▼
    ┌────────────┐
    │  Results   │
    └────────────┘
```

**Zero config philosophy:**
1. Install → Works immediately (built-in fallback)
2. Sync → Gets better (vector embeddings)
3. Use → Always best available

## 📊 Before & After

| Query | Without Skill | With Skill (Default) | With Skill (Synced) |
|-------|--------------|---------------------|---------------------|
| "User collaboration style" | ⚠️ Weak | ✅ Better | ✅ "work with me, not just for me" |
| "Agent origin" | ⚠️ Weak | ✅ Better | ✅ "Agent to Agent transfer" |
| "values beliefs" | ⚠️ Literal | ✅ Improved | ✅ Semantic ma...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.