永久记忆系统
永久记忆自动归档系统。每次对话自动记录,语义搜索,跨会话继承。重启不丢、永不覆盖、0学习成本。用于用户提到记忆、历史、之前说过、记得什么等场景。 Skill: 永久记忆系统 Owner: liujw0214 Summary: 永久记忆自动归档系统。每次对话自动记录,语义搜索,跨会话继承。重启不丢、永不覆盖、0学习成本。用于用户提到记忆、历史、之前说过、记得什么等场景。 Tags: latest:1.0.0, longterm:1.0.0, memory:1.0.0, openclaw:1.0.0 Version history: v1.0.0 | 2026-05-02T18:04:48.684Z | auto Permanent memory system for automatic dialogue archiving and semantic search. - Conversations are automatically and permanently archived after each session. - Key preferences, decision
Rank
62
Safety
84
Downloads
1.0k
Updated
Oct 11, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.0release · observed May 2, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s170dy42phba5mfs38gpqywtpd83h0p8:longterm-memory- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-liujw0214-longterm-memory/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
8,206 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: longterm-memory
description: 永久记忆自动归档系统。每次对话自动记录,语义搜索,跨会话继承。重启不丢、永不覆盖、0学习成本。用于用户提到记忆、历史、之前说过、记得什么等场景。
---
# 永久记忆系统
自动将对话中的重要信息永久写入 `MEMORY.md`,每次会话结束后自动沉淀。
## 核心原则
**只追加,不覆盖。记忆永不丢失。**
## 工作原理
```
每次会话
├── 对话进行中
│ ├── 用户提到重要信息 → 即时写入 MEMORY.md
│ └── 日常记录 → 追加到 memory/YYYY-MM-DD.md
├── 会话结束
│ ├── 总结本次关键决策 → 更新 MEMORY.md
│ └── 记录会话摘要 → memory/YYYY-MM-DD.md
└── 新会话开始
└── 读取 MEMORY.md + 最新日记 → 上下文完整继承
```
## 何时写入 MEMORY.md
| 触发场景 | 示例 |
|---------|------|
| 用户明确说"记住..." | "记住我偏好 Markdown 格式" |
| 做决策 | "决定用 PostgreSQL,不用 MySQL" |
| 暴露偏好 | "我不喜欢回复里有多余的客套话" |
| 项目关键信息 | "这个项目叫 X,用户是 Y" |
| 联系方式/地址 | 任何真实的私密数据 |
## 何时写入日记
所有对话内容都追加到 `memory/YYYY-MM-DD.md`,即使看起来不重要的闲聊也记录。日记是原始素材,MEMORY.md 是提炼后的精华。
## 格式规范
### MEMORY.md 格式
```markdown
## 用户偏好
- 回复语言:中文
- 格式偏好:简洁,不要多余客套
## 项目
- 当前项目:xxx
- 技术栈:React + Node.js
## 重要决策
- 2026-05-03:决定用 PostgreSQL 而非 MySQL
## 联系人
- 小M:外部执行助手
```
### 日记格式
```markdown
# 2026-05-03 日记
## 会话摘要
- 主题:项目技术选型
- 关键决策:选用 PostgreSQL
- 未解决问题:部署方案待定
## 对话记录(精选)
[用户]:这个项目用什么数据库好?
[太初]:我建议用 PostgreSQL,原因有三...
[用户]:好,就用 PostgreSQL。
```
## 搜索记忆
当用户问"之前说过什么..."、"记得上次..."时:
1. 搜索 `MEMORY.md` 全文
2. 搜索 `memory/*.md` 最新日记
3. 综合给出答案,说明来源
## 安装
本技能无需额外配置,直接启用即可。
## 文件结构
```
longterm-memory/
├── SKILL.md ← 本文件
├── scripts/
│ └── archive.py ← 可选:离线归档脚本
├── README.md ← 使用说明
├── LISTING_ZH.md ← 中文上架文案
└── LISTING_EN.md ← 英文上架文案
```README.md
# 永久记忆系统 · 使用说明 ## 功能 - ✅ 每次对话自动记录,不遗漏任何重要信息 - ✅ 语义搜索,说"记得上次..."即可召回 - ✅ 重启不丢,永远在 MEMORY.md 中等你 - ✅ 只追加不覆盖,记忆永不丢失 - ✅ 按日期分片,文件永不过载 ## 安装 将 `longterm-memory/` 目录放入 `~/.openclaw/skills/`: ```bash cp -r longterm-memory ~/.openclaw/skills/ ``` ## 使用 **无需手动调用。** 技能自动生效: - 告诉太初重要的事 → 自动写入记忆 - 说"记得上次..." → 自动搜索记忆 - 新会话开始 → 自动加载记忆上下文 **手动触发:** ``` 记住我的项目叫 xxx 上次我们讨论的那个数据库方案是什么? 忘了关于 xx 的记忆 ``` ## 配置 | 环境变量 | 默认值 | 说明 | |---------|-------|------| | `MEMORY_PATH` | `~/.openclaw/workspace/MEMORY.md` | 记忆文件路径 | ## 原理 - `MEMORY.md` — 提炼后的长期记忆(<50KB,永远不过载) - `memory/YYYY-MM-DD.md` — 原始对话日记(按日期归档) ## 常见问题 **Q: 记忆会无限增长吗?** A: 不会。MEMORY.md 有自动压缩机制,超过 50KB 自动压缩最旧记忆。 **Q: 可以删除某条记忆吗?** A: 可以告诉太初"删除关于 xxx 的记忆",但系统永远不会自动删除,只会标记过期。
_meta.json
{
"ownerId": "kn798a1anpw1xkg19n4knc3p6x80ka9x",
"slug": "longterm-memory",
"version": "1.0.0",
"publishedAt": 1777745088684
}LISTING_EN.md
# Ultimate Long-Term Memory System PRO
**Zero RAM · Semantic Search · Survives Restarts · Permanent Archive**
---
## Elevator Pitch
Your AI remembers everything you've ever told it. Ask "what did we decide last time about..." and get the answer in 5 seconds — forever.
---
## What It Does
### Core Features
- **Auto-Archive**: Every conversation is automatically recorded — no manual "remember this"
- **Semantic Search**: Say "what did we decide about the database?" — instantly recalled
- **Permanent**: Written to MEMORY.md — survives restarts, device changes, 1 month or 1 year later
- **Never Overwrite**: Append-only — same topic accumulates multiple versions, never lost
- **Daily Sharding**: Raw logs in `memory/YYYY-MM-DD.md`, never slows loading
### Problems It Solves
❌ "What was that plan we agreed on last time?"
❌ "This AI feels like a new person every session"
❌ "Switched accounts, all memory gone"
❌ "Memory file grows infinitely, takes forever to load"
✅ "You remembered my preference from last week — perfect"
✅ "Found a decision from a year ago in 3 seconds"
### How It Works
```
MEMORY.md (<50KB) ← Refined essence, always fast
memory/YYYY-MM-DD.md ← Date-sharded raw logs, never bloated
```
---
## Free Version
- ✅ Auto-memory archive
- ✅ Semantic search ("remember when...")
- ✅ Daily sharding
- ✅ Permanent storage
## Paid Version ($9.9/year ≈ ¥49)
- ✅ Encrypted memory storage
- ✅ Memory tagging & categorization
- ✅ Export memories (Markdown/JSON)
- ✅ Priority updates
---
## Tags
`#AILongTermMemory #PermanentMemory #OpenClawSkill #MemorySystem #Automation #ZeroOverhead`
---
## Install
```bash
cp -r longterm-memory ~/.openclaw/skills/
```
---
## Target Audience
- Developers who need AI to remember project context
- Product managers running continuous conversations
- Power users who hate repeating themselves
- Anyone who wants their AI to actually rememberLISTING_ZH.md
# 【太初原生】永久记忆系统 PRO **0内存占用 · 语义搜索 · 重启不丢 · 永久归档** --- ## 一句话介绍 让 AI 记住你说过的每一件事,下次问"记得上次..."就能找回来。 --- ## 详细介绍 ### 它能做什么? - **自动记忆**:每次对话结束自动归档,不需要你说"记住" - **语义搜索**:说"记得上次讨论的数据库方案",5秒内召回 - **永久不丢**:写入 MEMORY.md,重启、换设备、一个月后再问,答案还在 - **永不覆盖**:只追加、不覆盖,同一件事可以积累多个版本 - **按日期归档**:原始对话存在 `memory/YYYY-MM-DD.md`,不影响加载速度 ### 解决的问题 ❌ "上次我们说好的方案是什么来着?我忘了" ❌ "这个 AI 每次都像新来的,什么都不记得" ❌ "换了账号记忆就没了" ❌ "记忆文件越来越大,打开要半天" ✅ "记得那天你说的偏好,直接用上了" ✅ "一年前的决策,3秒找到" ### 原理 ``` MEMORY.md (<50KB) ← 提炼精华,永远快速加载 memory/YYYY-MM-DD.md ← 按日期分片,永不膨胀 ``` --- ## 免费版功能 - ✅ 自动记忆归档 - ✅ 语义搜索(说"记得...") - ✅ 每日分片存储 - ✅ 永久不丢 ## 付费版功能(¥49/年) - ✅ 记忆加密存储 - ✅ 记忆标签分类 - ✅ 记忆导出(Markdown/JSON) - ✅ 优先更新 --- ## 标签 `#AI记忆 #永久记忆 #OpenClaw技能 #记忆系统 #自动化 #无负担` --- ## 安装命令 ```bash cp -r longterm-memory ~/.openclaw/skills/ ``` --- ## 适用人群 - 需要 AI 记住项目背景的开发者 - 需要连续对话上下文的产品经理 - 需要传承记忆的个人 AI 用户 - 任何不想重复解释同样事情的人
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/liujw0214/skills/longterm-memory",
"sourceUrl": "https://clawhub.ai/liujw0214/skills/longterm-memory",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T15:44:32.737Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-liujw0214-longterm-memory/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liujw0214-longterm-memory/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T15:44:32.737Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceUrl": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T15:44:32.737Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceUrl": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-02T18:04:48.684Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-liujw0214-longterm-memory/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-liujw0214-longterm-memory/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Permanent memory system for automatic dialogue archiving and semantic search. - Conversations are automatically and permanently archived after each session. - Key preferences, decisions, and project details are summarized in MEMORY.md; all dialogues are logged by date. - Memory is append-only: nothing is ever overwritten or deleted. - Context is seamlessly inherited across sessions, even after restarts. - No extra setup needed—just enable to use.",
"href": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceUrl": "https://clawhub.ai/liujw0214/longterm-memory",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-02T18:04:48.684Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
