← Back to Skills Marketplace
lingmoon96-dev

four-layer-memory

by lingmoon96-dev · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
112
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install four-layer-memory
Description
四层记忆架构。身份层、工作记忆层、短期日志层、长期存储层分层管理,让记忆既可持续累积,又不会把上下文一次性塞满。
README (SKILL.md)

Four-Layer Memory

分层定义

  1. Identity Layer: 人格锚点、核心身份、长期不变偏好
  2. Working Memory Layer: 当前任务、近期关注、热记忆
  3. Short-Term Log Layer: 每日记录、近期会话、完整回溯
  4. Long-Term Storage Layer: 经确认的偏好、知识、关系和经验

使用原则

  • 稳定信息进 identity/long-term-memory/
  • 临时任务进 working-memory/
  • 每日会话进 short-term-logs/
  • 过期日志转 archive/

推荐命令

python3 scripts/personal_ai_memory.py status
python3 scripts/personal_ai_memory.py bootstrap
python3 scripts/personal_ai_memory.py archive --keep-days 14
Usage Guidance
This skill is mostly documentation of a memory-layer design, but it instructs the agent to run local Python scripts and read/write named directories that are not included or declared. Before installing or enabling it: 1) ask the publisher for the referenced scripts (scripts/personal_ai_memory.py) and inspect them — do not run them blind; 2) confirm which filesystem paths the skill will use and that those paths don't contain sensitive data; 3) if you want to test, run any provided scripts in a sandboxed environment or container; 4) disable autonomous invocation or limit the agent's shell/file permissions until you verify the code; and 5) if the author cannot supply the scripts or a trustworthy source, treat this skill as incomplete and avoid enabling it.
Capability Analysis
Type: OpenClaw Skill Name: four-layer-memory Version: 1.0.1 The skill bundle defines a conceptual 'Four-Layer Memory' architecture for AI agents, focusing on organizing data into identity, working, short-term, and long-term layers. While SKILL.md references a Python script (scripts/personal_ai_memory.py) that is not included in the provided files, the documentation and metadata contain no evidence of malicious intent, prompt injection, or unauthorized data access.
Capability Assessment
Purpose & Capability
Name/description (four-layer memory architecture) align with the content of SKILL.md: it documents identity, working, short-term, and long-term layers and how to use them.
Instruction Scope
SKILL.md recommends running python3 scripts/personal_ai_memory.py with commands and references directories (identity/, working-memory/, short-term-logs/, archive/) — but no code files or config paths are included in the package and the skill declared no required paths or env vars. That mismatch means the instructions either expect external files to exist or implicitly require the agent to access/modify local filesystem state; both are not declared.
Install Mechanism
No install spec and no code files — lowest risk for automatic code injection. However, the recommended runtime commands would execute a local Python script if present; the skill itself does not install any binaries.
Credentials
No environment variables, credentials, or config paths are requested. That is proportionate to an instruction-only documentation skill. The concern is the hidden requirement for local scripts/directories which were not declared.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent privileged presence or modification of other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install four-layer-memory
  3. After installation, invoke the skill by name or use /four-layer-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Sync local workspace skills into ClawHub tracking from the current OpenClaw workspace.
v1.0.0
Sync local workspace skills into ClawHub tracking from the current OpenClaw workspace.
Metadata
Slug four-layer-memory
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is four-layer-memory?

四层记忆架构。身份层、工作记忆层、短期日志层、长期存储层分层管理,让记忆既可持续累积,又不会把上下文一次性塞满。 It is an AI Agent Skill for Claude Code / OpenClaw, with 112 downloads so far.

How do I install four-layer-memory?

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

Is four-layer-memory free?

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

Which platforms does four-layer-memory support?

four-layer-memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created four-layer-memory?

It is built and maintained by lingmoon96-dev (@lingmoon96-dev); the current version is v1.0.1.

💬 Comments