← 返回 Skills 市场
mr-11even

自动记忆进化

作者 mr-11even · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
137
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install auto-memory-evolution
功能描述
Automatically summarize daily discussions and update memory files. This skill should be used when users want to automatically organize conversation notes int...
使用说明 (SKILL.md)

Auto Memory Evolution

Automatically summarize daily discussions and archive to memory files.

When to Use

Use this skill when:

  • User wants automatic daily discussion summary
  • User needs memory files automatically updated
  • User wants idle-triggered memory save

How It Works

1. Daily Evolution Script

Run daily-evolution.py to:

  • Read memory files from ~/.openclaw/workspace/memory/
  • Extract discussion topics from markdown files
  • Write summaries to ~/.openclaw/workspace/MEMORY.md

2. Heartbeat Check Script

Run heartbeat-check.py to:

  • Check user activity every 30 minutes
  • Track last message timestamp
  • Trigger auto-save after 45 minutes of idle

Installation

  1. Copy skill to ~/.openclaw/skills/auto-memory-evolution/

  2. Set up cron jobs:

# Daily evolution at 22:00
0 22 * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/daily-evolution.py

# Heartbeat every 30 minutes
*/30 * * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/heartbeat-check.py

File Structure

auto-memory-evolution/
├── SKILL.md
├── scripts/
│   ├── daily-evolution.py
│   └── heartbeat-check.py
└── config.json (optional)

Dependencies

  • Python 3.7+
  • OpenClaw CLI (for session history)

Configuration

Edit config.json to customize:

{
  "idle_threshold_minutes": 45,
  "memory_dir": "~/.openclaw/workspace/memory",
  "longterm_memory": "~/.openclaw/workspace/MEMORY.md"
}

自动记忆进化

自动归纳每天讨论内容并归档到记忆文件。

何时使用

使用此 Skill 当用户希望:

  • 自动每日总结讨论内容
  • 自动更新记忆文件
  • 空闲时自动保存记忆

工作原理

1. 每日进化脚本

运行 daily-evolution.py 以:

  • 读取 ~/.openclaw/workspace/memory/ 下的记忆文件
  • 从 markdown 文件中提取讨论话题
  • 将摘要写入 ~/.openclaw/workspace/MEMORY.md

2. 心跳检查脚本

运行 heartbeat-check.py 以:

  • 每30分钟检查用户活动
  • 记录最后消息时间戳
  • 空闲45分钟后触发自动保存

安装

  1. 将 Skill 复制到 ~/.openclaw/skills/auto-memory-evolution/

  2. 设置定时任务:

# 每日22:00进化
0 22 * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/daily-evolution.py

# 心跳每30分钟
*/30 * * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/heartbeat-check.py

文件结构

auto-memory-evolution/
├── SKILL.md
├── scripts/
│   ├── daily-evolution.py
│   └── heartbeat-check.py
└── config.json (可选)

依赖

  • Python 3.7+
  • OpenClaw CLI(用于获取会话历史)

配置

编辑 config.json 自定义:

{
  "idle_threshold_minutes": 45,
  "memory_dir": "~/.openclaw/workspace/memory",
  "longterm_memory": "~/.openclaw/workspace/MEMORY.md"
}
安全使用建议
This skill appears to do what it claims, but inspect and adjust before enabling persistent scheduling. Actions to consider: - Confirm where you will place the files. SKILL.md cron paths point to ~/.openclaw/skills/auto-memory-evolution/scripts/*.py, but heartbeat-check.py expects daily-evolution.py under ~/.openclaw/workspace/scripts/ — fix or standardize the paths so heartbeat can find the script. - Review and remove any optional node scripts or other files the heartbeat script may execute (skill-learning.js, model-health-check.js, daily-growth-report.js) if you don't want arbitrary Node code run from your workspace. - Verify you have and trust the local OpenClaw CLI (the code calls subprocess ['openclaw', 'chat', 'history', ...]) and understand what data it returns; the script will read session/chat history returned by that CLI. - Because the skill writes files and sets cron jobs, run it initially in a safe/test environment or with backups of ~/.openclaw/workspace to confirm behavior. - If you need auditing, add logging or run the scripts manually first to observe output and ensure no unexpected network or file access occurs.
功能分析
Type: OpenClaw Skill Name: auto-memory-evolution Version: 1.0.5 The skill bundle is designed to automate the summarization of chat history and the maintenance of 'memory' files within the OpenClaw workspace. It uses the official OpenClaw CLI to retrieve data and employs standard Python libraries to process and archive notes. While the scripts utilize subprocess execution and recommend cron jobs for persistence, these behaviors are transparently documented and strictly aligned with the stated purpose of the skill, with no evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
Name/description match the included Python scripts: both read/write files under ~/.openclaw/workspace, extract topics from markdown and update MEMORY.md. The scripts call the OpenClaw CLI to obtain session/chat history, which is appropriate for a memory summarizer.
Instruction Scope
SKILL.md instructs reading/writing only local workspace memory files and scheduling cron jobs. The code follows that scope, reading ~/.openclaw/workspace/{memory,data} and writing MEMORY.md and report files. It does run subprocesses (openclaw, python3, node) — expected for integrating with the OpenClaw CLI and optional node scripts — but the script paths referenced differ in places (see below).
Install Mechanism
Instruction-only skill with bundled Python scripts; no network downloads or external installers. No install spec present, so nothing is fetched or written automatically by the registry beyond the files included.
Credentials
The skill requests no environment variables or credentials. It operates on files under the user's OpenClaw workspace and invokes local CLIs (openclaw/node/python) which is proportionate to its function. No unrelated credentials or external endpoints are requested.
Persistence & Privilege
Skill writes persistent state and memory files under ~/.openclaw/workspace and is intended to be run regularly via cron/heartbeat. always:false (not force-enabled). Be aware that cron jobs and the heartbeat script will run in the background and create heartbeat-state.json and reports.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-memory-evolution
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-memory-evolution 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
中英文内容完全分开,各为完整段落
v1.0.4
优化排版,中英文分开显示
v1.0.3
增加中英文双语说明
v1.0.2
按照skill-creator规范重写SKILL.md,使用祈使句风格
v1.0.1
修复SKILL.md,说明安装路径和依赖
v1.0.0
auto-memory-evolution v1.0.0 - Adds automatic daily aggregation of discussion summaries at a scheduled time. - Introduces idle detection: if no user activity for 45 minutes, triggers memory saving. - Archives daily discussion points into dated memory files and long-term MEMORY.md. - Provides easy setup via scheduled cron jobs and configurable parameters. - Includes scripts for daily summary and heartbeat-based checking.
元数据
Slug auto-memory-evolution
版本 1.0.5
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 6
常见问题

自动记忆进化 是什么?

Automatically summarize daily discussions and update memory files. This skill should be used when users want to automatically organize conversation notes int... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。

如何安装 自动记忆进化?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-memory-evolution」即可一键安装,无需额外配置。

自动记忆进化 是免费的吗?

是的,自动记忆进化 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

自动记忆进化 支持哪些平台?

自动记忆进化 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 自动记忆进化?

由 mr-11even(@mr-11even)开发并维护,当前版本 v1.0.5。

💬 留言讨论