Memory Structure
/install memory-structure
Skill: memory-structure
Name
memory-structure
Function
Copy existing memory structure to new environments, enabling other Agents to use the same memory system.
Use Cases
- Quickly set up self-improvement framework for new Agents
- Unify memory organization across multiple Agents
- Establish standardized self-reflection process
Skill Contents
This skill includes:
| File | Description |
|---|---|
memory.md |
Main memory file: preferences, patterns, rules (HOT tier) |
corrections.md |
Error correction log: "what I got wrong" and correct answers |
index.md |
Memory index: tracks all memory file updates |
heartbeat-state.md |
Heartbeat state: records self-reflection check timestamps and results |
heartbeat-rules.md |
Heartbeat rules: defines triggers and execution logic for self-reflection |
setup.md |
Setup guide: installation and configuration instructions |
Usage
1. Install Skill
Using ClawHub:
clawhub install memory-structure
2. Initialize Memory Structure
Create memory directory in target workspace:
mkdir -p ~/self-improving/{domains,projects,archive}
Then manually create the following files (copy template contents below):
3. Regular Self-Reflection
After completing important tasks, Agent should update heartbeat-state.md with reflection results.
Core Concepts
- HOT Tier: Memory files are hot-tier, high-frequency access
- Corrections Log: Errors are the source of improvement, must be recorded
- Heartbeat: Regular self-reflection to check if memory structure needs updates
Dependencies
- No external dependencies
- Requires file system write permission
- Heartbeat interval configured in OpenClaw config (default: 30 minutes)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-structure - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-structure触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Memory Structure 是什么?
Enable AI to learn from mistakes and never repeat them. Error tracking, layered memory, regular self-reflection, continuous improvement. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 155 次。
如何安装 Memory Structure?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-structure」即可一键安装,无需额外配置。
Memory Structure 是免费的吗?
是的,Memory Structure 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Memory Structure 支持哪些平台?
Memory Structure 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memory Structure?
由 wangssi1998-cell(@wangssi1998-cell)开发并维护,当前版本 v1.0.4。