← 返回 Skills 市场
four-layer-memory
作者
lingmoon96-dev
· GitHub ↗
· v1.0.1
· MIT-0
112
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install four-layer-memory
功能描述
四层记忆架构。身份层、工作记忆层、短期日志层、长期存储层分层管理,让记忆既可持续累积,又不会把上下文一次性塞满。
使用说明 (SKILL.md)
Four-Layer Memory
分层定义
- Identity Layer: 人格锚点、核心身份、长期不变偏好
- Working Memory Layer: 当前任务、近期关注、热记忆
- Short-Term Log Layer: 每日记录、近期会话、完整回溯
- 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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install four-layer-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/four-layer-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
four-layer-memory 是什么?
四层记忆架构。身份层、工作记忆层、短期日志层、长期存储层分层管理,让记忆既可持续累积,又不会把上下文一次性塞满。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 112 次。
如何安装 four-layer-memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install four-layer-memory」即可一键安装,无需额外配置。
four-layer-memory 是免费的吗?
是的,four-layer-memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
four-layer-memory 支持哪些平台?
four-layer-memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 four-layer-memory?
由 lingmoon96-dev(@lingmoon96-dev)开发并维护,当前版本 v1.0.1。
推荐 Skills