memory-auto-update

v1.0.0

记忆自动更新 - 智能识别重要内容,自动更新记忆,再也不用担心忘记了。 触发场景(中文): - 更新记忆、保存一下、记录今天的对话 - 这个很重要、你记住、记下来、别忘了 - 你忘了吗、你怎么不记得、你记性太差了 - 今天就这样、先到这里、结束了、总结一下今天 - 设置更新模式、设置更新频率、当前设置是什么 -...

1· 112·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhuqingsonga/memory-auto-update.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "memory-auto-update" (zhuqingsonga/memory-auto-update) from ClawHub.
Skill page: https://clawhub.ai/zhuqingsonga/memory-auto-update
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install zhuqingsonga/memory-auto-update

ClawHub CLI

Package manager switcher

npx clawhub@latest install memory-auto-update
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (automatic memory updates) align with the included scripts: extraction (extract_memory.py), summary generation (generate_summary.py), writing to local memory files (write_memory.py), and settings management (user_settings.py). There are no unrelated credentials, binaries, or external dependencies declared.
Instruction Scope
SKILL.md limits operation to the current conversation and describes confirmation steps before saving. The scripts operate on conversation text passed into them and do not make network calls or inspect arbitrary system files. Note: the code will persist extracted content to disk in the agent workspace if invoked — ensure the agent only passes intended conversation text (and be aware sensitive user content could be stored).
Install Mechanism
No install spec or external downloads; this is an instruction+scripts skill with local Python code only. Nothing is fetched from remote URLs or package registries during install.
Credentials
The skill requests no environment variables or credentials (proportional). It does assume and use workspace file paths (defaults under /root/.openclaw/workspace and /root/.openclaw/workspace/skills/...), which is expected for a local memory feature but means it can read/write files in the agent workspace — confirm that default paths are acceptable in your deployment.
Persistence & Privilege
The skill persists data to local memory files (memory/YYYY-MM-DD.md) and settings under the skill data path. always is false and it does not modify other skills or system-wide configs. Because it writes persistent files, consider the privacy implications of storing conversation content.
Assessment
This skill appears to do what it says: extract important items from the current conversation, show summaries for confirmation, and save them locally. Before installing, consider: 1) sensitive data: anything the agent saves becomes a persistent file in the agent workspace—avoid asking it to save secrets or credentials; 2) filesystem paths: the scripts default to /root/.openclaw/workspace and the skill data folder—make sure those paths are acceptable in your environment or update them; 3) confirmation behavior: SKILL.md states the user confirms before final save, but ensure your agent policy enforces that behavior if you need manual approval; 4) review or run the included Python scripts in a safe environment if you want to verify exact behavior (they are readable and have no network calls). If you require stricter guarantees, require manual confirmation before any write or change the memory directory to a restricted location.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c4834y2aym4kqm5kzfygt3h843sns
112downloads
1stars
1versions
Updated 3w ago
v1.0.0
MIT-0

记忆自动更新 Memory Auto Update

智能识别重要内容,自动更新记忆,再也不用担心忘记了。

⚠️ 重要声明:本技能自动更新记忆,但重要内容请人工确认。用户可随时修改和补充。

速查表

一句话触发

更新记忆                    - 手动更新记忆
这个很重要,记下来          - 立即保存重要内容
你忘了吗?                  - 自动检查并更新
今天就这样                  - 对话结束,总结保存
设置更新模式                - 调整更新方式

模式选择

主动模式                    - 对话结束自动提示
被动模式                    - 完全手动触发
智能混合模式(推荐)         - 重要内容立即提醒,其他等待

核心能力

不是什么

❌ 不是完美的记忆机器,可能有遗漏
❌ 不是替代你判断,重要内容需要确认
❌ 不是实时监控,只在触发时工作
❌ 不是强制保存,你可以修改和删除

而是什么

✅ 智能识别对话中的重要内容
✅ 3种模式 + 5种频率,灵活选择
✅ 用户吐槽时自动响应("你忘了吗")
✅ 生成摘要,用户确认后保存
✅ 保持记忆格式一致,便于后续查看

功能模块

1. 智能识别 - 提取重要内容

自动识别对话中的:

类别识别内容示例
决策重要决定、选择、结论"我们决定用方案 A"
待办谁要做什么、截止时间"@小明 周五前完成"
约定时间、地点、见面"下周三下午3点开会"
事实重要信息、数据"预算是 10 万"
偏好用户的喜好、习惯"我喜欢用飞书"
项目项目启动、里程碑"新项目开始了"

触发词:

  • "这个很重要"
  • "你记住"
  • "记下来"
  • "别忘了"

2. 吐槽响应 - 用户提醒时自动更新

当用户说"你忘了吗"时,自动响应:

用户吐槽自动响应
"你忘了吗?""抱歉,让我检查一下记忆..." → 自动更新
"你怎么不记得?""马上帮你记录下来!" → 提取并保存
"你记性太差了!""抱歉,我这就记下来!" → 立即保存
"你不是AI吗?""AI也需要你提醒,我这就记!" → 追加内容

触发词:

"你忘了吗"
"你怎么不记得"
"你记性太差了"
"你不是AI吗,怎么记不住"

3. 三种更新模式

模式1:主动模式(推荐新手)

特点:

  • 对话结束时自动提示
  • 生成摘要让用户确认
  • 用户可以修改后保存

触发:

  • 用户说"今天就这样"、"先到这里"
  • 对话结束 5 分钟后自动提示

流程:

1. 对话结束 → 自动提取关键内容
2. 生成摘要 → "这是今天的重要内容,对吗?"
3. 用户确认 → ✅ 保存
4. 用户修改 → 支持编辑、删除、补充
5. 最终保存 → 写入记忆文件

模式2:被动模式(推荐老手)

特点:

  • 不主动打扰
  • 用户手动触发更新
  • 快速、高效

触发:

  • "更新记忆"
  • "记录一下"
  • "保存今天的对话"

流程:

1. 用户触发 → "好的,马上提取!"
2. 快速生成 → 直接展示摘要
3. 用户确认 → ✅ 保存
4. 可选修改 → 支持快速编辑

模式3:智能混合模式(默认推荐)

特点:

  • 根据用户习惯自动调整
  • 重要内容立即提醒
  • 普通内容等待用户触发

判断逻辑:

  • 检测到决策/待办/约定 → 立即提醒:"这个很重要,要记下来吗?"
  • 普通对话内容 → 等待用户触发或对话结束时总结

触发:

  • 重要内容立即提示
  • 对话结束时可选总结
  • 用户随时手动触发

4. 五种更新频率

频率选项说明适合场景
实时重要内容立即保存重要会议、关键决策
每 30 分钟半实时,不太打扰日常工作对话
每 1 小时低频率,高效长时间工作
手动完全用户控制喜欢自己掌控的用户
对话结束对话结束时总结最自然的方式(默认)

5. 用户设置 - 自由调整

设置命令:

"设置更新模式"
"设置更新频率"
"当前设置是什么"
"恢复默认设置"

设置选项:

1. 更新模式:
   [ ] 主动模式(自动提示)
   [ ] 被动模式(手动触发)
   [x] 智能混合模式(推荐)

2. 更新频率:
   [ ] 实时
   [ ] 每 30 分钟
   [ ] 每 1 小时
   [ ] 手动
   [x] 对话结束时(推荐)

3. 提醒方式:
   [ ] 立即确认
   [ ] 对话结束时确认
   [x] 重要内容立即确认,其他等待

完整工作流程

场景1:重要内容 → 立即提醒

用户:"我们决定下周三下午3点开会!"
↓
[智能识别:重要约定]
↓
SiVi:"这个很重要,要记下来吗?"
↓
用户:"要!"
↓
SiVi:"好的,记在记忆里了!"
↓
[自动保存到记忆文件]

场景2:用户吐槽 → 自动更新

用户:"你怎么不记得?刚才说的!"
↓
SiVi:"抱歉,让我检查一下... 马上帮你记录下来!"
↓
[提取刚才的对话内容]
↓
SiVi:"是这个吗?[展示摘要]"
↓
用户:"对"
↓
SiVi:"好的,记下来了!"
↓
[自动保存]

场景3:对话结束 → 可选总结

用户:"今天就这样吧"
↓
SiVi:"好的!这是今天的重要内容,需要保存吗?"
↓
[展示今日摘要]
↓
用户:"保存" 或 "修改一下"
↓
SiVi:"好的,已保存到记忆!"
↓
[写入 memory/YYYY-MM-DD.md]

场景4:手动触发 → 快速更新

用户:"更新记忆"
↓
SiVi:"好的,马上提取今天的重要内容!"
↓
[快速生成摘要]
↓
SiVi:"这是今天的重要内容:[摘要]"
↓
用户:"确认"
↓
SiVi:"好的,已保存!"

触发词总表

主动触发(对话中)

"这个很重要"
"你记住"
"记下来"
"别忘了"
"这个也记一下"
"别忘了这个"
"你要记住"
"我再说一遍,记下来"

吐槽触发(用户提醒)

"你忘了吗"
"你怎么不记得"
"你记性太差了"
"你不是AI吗,怎么记不住"

对话结束触发

"今天就这样"
"先到这里"
"结束了"
"今天的对话"
"总结一下今天"

手动触发

"更新记忆"
"保存一下"
"记录今天的对话"
"写记忆"
"保存到记忆"

设置触发

"设置更新模式"
"设置更新频率"
"当前设置是什么"
"恢复默认设置"

记忆文件格式

标准格式(保持一致):

# YYYY-MM-DD 记忆

## 今日事项

### [主题1]
- **事件:** [简要描述]
- **决策:** [重要决定]
- **待办:** [ ] 事项1 - 负责人 - 截止时间
- **链接:** [相关链接]

### [主题2]
...

最佳实践

  1. 重要内容立即说"记下来" - 确保关键信息不丢失
  2. 定期检查记忆 - 每天结束时确认今日记忆
  3. 选择适合的模式 - 新手用主动模式,老手用被动模式
  4. 智能混合模式最省心 - 重要内容提醒,其他不打扰
  5. 对话结束说"今天就这样" - 触发自动总结

局限说明

  • 识别可能有遗漏,重要内容请人工确认
  • 需要用户提供一定上下文才能准确识别
  • 不读取历史对话,只处理当前会话
  • 建议定期备份记忆文件
  • 不是实时监控,只在触发时工作

文件说明

  • SKILL.md - 本文件,使用说明
  • tips.md - 使用技巧和常见问题
  • _meta.json - 元数据
  • scripts/ - 核心脚本
    • extract_memory.py - 提取记忆内容
    • generate_summary.py - 生成摘要
    • write_memory.py - 写入记忆文件
    • user_settings.py - 用户设置管理
  • data/ - 数据文件
    • memory_template.md - 记忆模板
    • default_settings.json - 默认设置

Comments

Loading comments...