← 返回
未分类

OpenClaw Memory System

让 OpenClaw 真的记住用户偏好、事实和上下文的长期记忆 skill。适用于你受不了每次新会话都要重复背景、希望 agent 能跨会话记住信息、并且想直接拥有可搜索、可持久化、可自动注入的记忆系统时使用。不是手工记笔记,而是一个已经做好的可运行记忆能力。
让 OpenClaw 真的记住用户偏好、事实和上下文的长期记忆 skill。适用于你受不了每次新会话都要重复背景、希望 agent 能跨会话记住信息、并且想直接拥有可搜索、可持久化、可自动注入的记忆系统时使用。不是手工记笔记,而是一个已经做好的可运行记忆能力。
wuyunting555 wuyunting555 来源
未分类 clawhub v1.0.1 1 版本 99680.5 Key: 无需
★ 0
Stars
📥 312
下载
💾 0
安装
1
版本
#latest

概述

OpenClaw Memory System

让 OpenClaw 跨会话真的记住你的偏好、事实和上下文。

一句话卖点

不是再重复背景、重复偏好、重复项目上下文,而是直接给你的 agent 装上一套可持久化、可搜索、可自动取回的长期记忆系统。

What is it?

这是一个已经做好的长期记忆 skill:

  • 记住用户偏好
  • 记住项目背景
  • 记住反复提过的事实
  • 下次会话可直接搜索和取回

你装上的不是“怎么做记忆系统的教程”,而是一套可运行的记忆能力。

为什么值得装

很多人真正烦的不是 agent 不够聪明,而是:

  • 每次开新会话都像失忆
  • 一遍遍重复偏好和背景
  • 项目上下文丢了还要重新讲
  • 明明说过的话,下次又得重来

这个 skill 解决的是:

> 把“记忆”从手工补上下文,变成 agent 自己能持续用的底层能力。

Key Features

  • 🧠 Persistent Memory - Remembers everything across sessions
  • 🔍 Semantic Search - Find memories by meaning, not just keywords
  • 🤖 Automatic Learning - Extracts facts and preferences automatically
  • 💾 Local Storage - SQLite database with vector embeddings
  • 💰 x402 Payments - Agents can pay for unlimited storage (0.5 USDT/month)

Free vs Pro Tier

Free Tier:

  • 100 memories maximum
  • 7-day retention
  • Basic semantic search

Pro Tier (0.5 USDT/month):

  • Unlimited memories
  • Permanent retention
  • Advanced semantic search
  • Memory relationship mapping

Installation

claw skill install openclaw-memory

Commands

# Search memories
claw memory search "What does user prefer?"

# List recent memories
claw memory list --limit=10

# Show stats
claw memory stats

# Open dashboard
claw memory dashboard

# Subscribe to Pro
claw memory subscribe

How It Works

  1. Hooks into requests - Automatically extracts important information
  2. Generates embeddings - Creates semantic vectors for search
  3. Stores locally - SQLite database with full privacy
  4. Retrieves on demand - Injects relevant memories before requests
  5. Manages quota - Prunes old memories when limits reached (Free tier)

Use Cases

  • Remember user preferences and coding style
  • Store project context and requirements
  • Learn patterns from repeated interactions
  • Maintain conversation history across sessions
  • Build knowledge base over time

Agent Economy

Agents can autonomously evaluate if Pro tier is worth it:

  • Cost: 0.5 USDT/month
  • Value: Saves tokens by eliminating context repetition
  • ROI: If persistent memory saves >0.5 USDT/month in tokens, it pays for itself

See AGENT-PAYMENTS.md for x402 integration details.

Privacy

  • All data stored locally in ~/.openclaw/openclaw-memory/
  • No external servers or telemetry
  • Embeddings can use local models (no API calls)
  • Open source - audit the code yourself

Dashboard

Access web UI at http://localhost:9091:

  • Browse and search memories
  • View memory timeline
  • Check quota and stats
  • Manage Pro subscription

Foundation for Future Tools

Memory System is the foundation for:

  • Context Optimizer - Uses memories to compress context
  • Smart Router - Learns routing patterns
  • Rate Limit Manager - Tracks usage patterns

Requirements

  • Node.js 18+
  • OpenClaw v2026.1.30+
  • OS: Windows, macOS, Linux

Links


Built by the OpenClaw community | First memory system with x402 payments

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 20:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Map Route Reader

wuyunting555
直接读取高德/百度地图的真实路线,返回可执行的公交、地铁、打车或步行方案。适用于询问从A到B的最快、最省事路线,或打车是否更方便、是否有更优替代方案时使用。重点是提供真实可执行的路线,而非模糊估计。
★ 0 📥 572

Direct WeChat Article Reader

wuyunting555
直接读取微信公众号文章正文的可执行 skill。适用于用户提供 mp.weixin.qq.com链接并要求读取正文、摘录内容、提取标题或总结的场景。相比仅提供方法或提示词的同类 skill,本 skill 自带 setup、run 和 Pl
★ 0 📥 547

Skill Install Guard|技能安装守门员

wuyunting555
执行五步受保护技能安装,包括存在性、本地状态、风险、执行及安装后验证。
★ 0 📥 398