← Back to Skills Marketplace
wangssi1998-cell

Memory Structure

by wangssi1998-cell · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
155
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install memory-structure
Description
Enable AI to learn from mistakes and never repeat them. Error tracking, layered memory, regular self-reflection, continuous improvement.
README (SKILL.md)

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)
Usage Guidance
This skill is coherent and only gives templates and manual steps to create a local memory directory. Before installing: (1) Inspect and control the target path (default ~/self-improving) and change it if you prefer; (2) do not store secrets or credentials in the memory files — treat them as potentially sensitive and limit filesystem permissions; (3) test in a sandbox or non-production account first; (4) confirm what the 'clawhub install' command actually does on your system (the SKILL.md references it but the skill contains no install script); (5) if you allow autonomous agent actions, monitor initial writes so unexpected data is not recorded or shared.
Capability Assessment
Purpose & Capability
The skill's name and description (memory structure, self-reflection, corrections log) match the instructions and files provided: templates for memory.md, corrections.md, index, heartbeat rules/state, and a setup guide. It does not ask for unrelated credentials or tools.
Instruction Scope
Instructions direct the agent or user to create ~/self-improving and populate templated files and to update heartbeat-state after tasks. This stays within the stated purpose, but it requires write access to the user's filesystem and implies the agent will store memory/corrections locally — those files can contain sensitive content if populated, so review what is written before use.
Install Mechanism
No install spec or code is provided (instruction-only). No downloads or archive extraction occur, minimizing install-time risk.
Credentials
The skill declares no environment variables or external credentials — appropriate for its local-file purpose. It does require filesystem write permission which is proportional but worth noting because stored memories could include sensitive data.
Persistence & Privilege
No elevated privileges requested. always is false, and the skill does not modify other skills or system-wide agent configuration. Autonomous invocation is allowed by default (normal) but not itself a red flag here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install memory-structure
  3. After installation, invoke the skill by name or use /memory-structure
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
memory-structure 1.0.4 changelog: - Added note in documentation about configuring the heartbeat interval via OpenClaw config (default is 30 minutes). - Updated dependencies section to clarify heartbeat scheduling detail. - No changes to skill logic or core files. Documentation improvements only.
v1.0.3
- Documentation fully translated from Chinese to English for broader accessibility. - All skill, setup, and usage instructions updated for clarity and conciseness. - No changes to functionality; this version is a documentation and language enhancement release.
v1.0.2
memory-structure 1.0.2 - 更新初始化说明:删除模板文件自动复制命令,改为手动创建并填写模板内容。 - 使用方法细节调整,使流程更为清晰、适用于常规环境。 - 文档描述细微优化,无破坏性变更。
v1.0.1
- 更新描述,强调“错误不过夜、记忆分层、定期自省、持续进化”,突出核心能力。 - version 从 1.0.0 升级至 1.0.1。 - 其余功能与usage未变,未增加新依赖。
v1.0.0
Initial release of memory-structure skill: - Enables copying an existing memory structure to new environments for use by multiple Agents. - Provides standardized memory files: main memory, correction logs, index, heartbeat state/rules, and setup instructions. - Facilitates rapid self-improvement framework setup for new Agents and unified memory organization. - Includes guidelines for installation, initialization, and ongoing self-reflection. - No external dependencies; only file system write access required.
Metadata
Slug memory-structure
Version 1.0.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Memory Structure?

Enable AI to learn from mistakes and never repeat them. Error tracking, layered memory, regular self-reflection, continuous improvement. It is an AI Agent Skill for Claude Code / OpenClaw, with 155 downloads so far.

How do I install Memory Structure?

Run "/install memory-structure" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Memory Structure free?

Yes, Memory Structure is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Memory Structure support?

Memory Structure is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Memory Structure?

It is built and maintained by wangssi1998-cell (@wangssi1998-cell); the current version is v1.0.4.

💬 Comments