Install
openclaw skills install agent-openclaw-memoryOpenClaw Agent 本地知识库 + 自动记忆 & 文件管理。Obsidian vault 实时同步、零 LLM 成本压缩、向量检索、自愈健康监控、自动归档/分类/清理。Local knowledge base + auto memory & file management for OpenClaw agents.
openclaw skills install agent-openclaw-memory让 OpenClaw Agent 拥有本地知识库和自动记忆 & 文件管理。
Obsidian vault 实时同步 → Agent 可搜索。会话观察零 LLM 成本压缩 → 不丢失。自动归档/分类/清理 → vault 自己管自己。向量检索 + 嵌入服务 + 同步链路 → 自动健康监控 + 自愈修复。
Build a local knowledge base + automatic memory & file management for your OpenClaw Agent.
Auto-sync Obsidian vault → searchable by Agent. Zero-LLM compression → nothing lost. Auto archive/categorize/cleanup → vault manages itself. Vector search + embedding + sync chain → auto health monitoring + self-healing.
本地知识库、自动记忆管理、长期记忆、向量检索、知识库同步、Obsidian vault、Qdrant、embedding、agent memory、零 LLM 压缩、自愈监控、vault 同步、概念聚合、记忆蒸馏、健康检查、自动维护、DAG 调度、抗体自愈
local knowledge base, auto memory management, long-term memory, vector search, knowledge sync, Obsidian vault, Qdrant, embedding, agent memory, zero-LLM compression, self-healing, vault sync, concept consolidation, memory distillation, health monitoring, auto maintenance, DAG scheduler, antibody healing
一个 OpenClaw 的记忆增强技能。解决了三个问题:
memory_search 搜不到cd ~/.openclaw/workspace/skills
git clone https://github.com/yxyujian98-png/vault-memory-system.git
cd openclaw-memory-system
pip install -r requirements.txt
docker-compose up -d
python scripts/setup.py --vault-dir /path/to/vault
| 组件 | 必需 | 说明 |
|---|---|---|
| Python 3.10+ | ✅ | 脚本运行环境 |
| Qdrant | ✅ | 向量数据库 |
| 嵌入服务 | ✅ | LM Studio / Ollama / OpenAI 兼容 |
| Obsidian Vault | ✅ | Markdown 知识库 |
| LLM API | 可选 | 高重要性记忆才需要 |
┌─────────────────────────────────────────────────────┐
│ Layer 1: OpenClaw 内置 │
│ │
│ session-memory hook → memory/YYYY-MM-DD-HHMM.md │
│ memory-compact hook → compaction 前提取记忆 │
│ memory-extract hook → /new、/reset 时提取 │
│ ↓ │
│ memory_search ← SQLite (FTS5 + sqlite-vec + 混合) │
└─────────────────────────────────────────────────────┘
│ sync_vault_memory.py
↓
┌─────────────────────────────────────────────────────┐
│ Layer 2: 自定义脚本 │
│ │
│ Cron 每 45 分钟 → orchestrator --light --parallel │
│ → vault_guardian / extract_memories / memory_health│
│ → 12 个任务按 DAG 拓扑并行执行 │
│ │
│ Qdrant (knowledge_base) │
│ → vault 分块 / 工具观察 / 融合概念 │
└─────────────────────────────────────────────────────┘
An OpenClaw memory enhancement skill. Solves three problems:
memory_search can't find themcd ~/.openclaw/workspace/skills
git clone https://github.com/yxyujian98-png/vault-memory-system.git
cd openclaw-memory-system
pip install -r requirements.txt
docker-compose up -d
python scripts/setup.py --vault-dir /path/to/vault
| Component | Required | Description |
|---|---|---|
| Python 3.10+ | ✅ | Script runtime |
| Qdrant | ✅ | Vector database |
| Embedding server | ✅ | LM Studio / Ollama / OpenAI-compatible |
| Obsidian Vault | ✅ | Markdown knowledge base |
| LLM API | Optional | Only for high-importance memories |
┌─────────────────────────────────────────────────────┐
│ Layer 1: OpenClaw Built-in │
│ │
│ session-memory hook → memory/YYYY-MM-DD-HHMM.md │
│ memory-compact hook → extract before compaction │
│ memory-extract hook → extract on /new, /reset │
│ ↓ │
│ memory_search ← SQLite (FTS5 + sqlite-vec + hybrid)│
└─────────────────────────────────────────────────────┘
│ sync_vault_memory.py
↓
┌─────────────────────────────────────────────────────┐
│ Layer 2: Custom Scripts │
│ │
│ Cron every 45m → orchestrator --light --parallel │
│ → vault_guardian / extract_memories / memory_health│
│ → 15 tasks in DAG topological parallel │
│ │
│ Qdrant (knowledge_base) │
│ → vault chunks / tool observations / fused concepts│
└─────────────────────────────────────────────────────┘
MIT