← 返回
未分类 中文

Better Memory

One-shot smart installation and ongoing maintenance for a native OpenClaw memory stack with L1 daily logs (`memory/YYYY-MM-DD.md`), L2 sidecar summaries, and...
一次性智能安装并持续维护原生 OpenClaw 记忆栈,包含 L1 每日日志 (memory/YYYY-MM-DD.md)、L2 摘要文件以及...
fuuuuujichaos fuuuuujichaos 来源
未分类 clawhub v1.0.4 2 版本 100000 Key: 无需
★ 0
Stars
📥 438
下载
💾 0
安装
2
版本
#latest

概述

Better Memory V2

Smart Install (Recommended)

Run once to inject memory capability additively and generate migration + schedule artifacts:

python3 skills/better-memory/scripts/smart_install.py --workspace .

Supported install customization:

  • --daily-time HH:MM (default 22:00)
  • --weekly-day MON..SUN (default SUN)
  • --weekly-time HH:MM (default 20:00)
  • --monthly-day 1..31 (default 1)
  • --monthly-time HH:MM (default 10:00)
  • --entry-threshold N (default 8)

Memory Layers

  • L1 (native): memory/YYYY-MM-DD.md
  • L2 (sidecar): .openclaw-memory-os/l2/{experience,value,standard}.md
  • L3 (native): managed block in MEMORY.md

Typed taxonomy:

  • experience: think, say, do
  • value: good, bad
  • standard: right, wrong

Commands

  • Capture L1 typed memory:

python3 skills/better-memory/scripts/capture_memory.py --workspace . --kind --axis --topic "" --statement ""

  • Daily review (L1 -> L2):

python3 skills/better-memory/scripts/run_daily_review.py --workspace .

  • Weekly rollup (L2 -> L3):

python3 skills/better-memory/scripts/run_weekly_rollup.py --workspace .

  • Monthly advisory review (no auto cleanup):

python3 skills/better-memory/scripts/run_monthly_review.py --workspace .

  • Apply approved monthly cleanup actions:

python3 skills/better-memory/scripts/apply_monthly_cleanup.py --workspace . --rerollup

  • This command also writes an apply summary in .openclaw-memory-os/reviews/apply-summary-*.md.
  • Emit cron template:

python3 skills/better-memory/scripts/emit_cron_template.py --workspace .

  • Legacy migration plan prepare/apply:
  • python3 skills/better-memory/scripts/promote_legacy_memory.py --workspace . --prepare
  • python3 skills/better-memory/scripts/promote_legacy_memory.py --workspace . --apply

Compatibility command:

  • python3 skills/better-memory/scripts/refine_memory.py --workspace .
  • Runs daily review then weekly rollup in one command.

Installation Policy

  • Preserve existing AGENTS.md, MEMORY.md, and daily logs.
  • Write only managed blocks in AGENTS.md, MEMORY.md, and optional HEARTBEAT.md.
  • Keep sidecar artifacts outside native memory/ so memory_search behavior stays clean.
  • Generate migration review and editable migration plan; do not auto-import legacy lines unless enabled.

Monthly Cleanup Policy

  • Monthly script only produces a report and suggested actions.
  • Monthly script also produces a disabled-by-default cleanup plan JSON.
  • Do not auto-delete or auto-rewrite memory on monthly review.
  • Resolve conflicts and bloat with user confirmation, enable selected plan actions, then apply.

References

Read references/memory-schema.md for schema and lifecycle details.

版本历史

共 2 个版本

  • v1.0.4 当前
    2026-05-03 06:19 安全 安全
  • v1.0.3
    2026-03-31 06:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,095 📥 822,025
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,234 📥 269,059
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,390 📥 321,920