memory ebbinghaus
/install memory-ebbinghaus
Memory Ebbinghaus
Ebbinghaus forgetting curve-based memory lifecycle manager. Tracks memory items with strength decay, review reinforcement, and archiving.
Setup
First run — initialize the database:
python3 scripts/ebbinghaus.py status
# Auto-creates memory_db.json in current directory if not found
To use a custom path:
EBBINGHAUS_DB=/path/to/memory_db.json \
EBBINGHAUS_ARCHIVE=/path/to/MEMORY.md \
python3 scripts/ebbinghaus.py status
Environment variables:
| Variable | Default | Description |
|---|---|---|
EBBINGHAUS_DB |
./memory_db.json |
Path to the JSON database |
EBBINGHAUS_ARCHIVE |
./MEMORY.md |
File to append archived memories |
Core Concept
Strength formula: strength = e^(-days_elapsed / stability)
| Status | Strength | Meaning |
|---|---|---|
| 🟢 Active | ≥ 0.7 | Recently used, clear memory |
| 🟡 Decaying | 0.3–0.7 | Not used for a while |
| 🔴 Fading | \x3C 0.3 | Needs review or cleanup |
Stability: starts at 1.0, multiplied by 1.5 on each review (the more you review, the slower it fades).
Commands
# View all memory items and their current strength
python3 scripts/ebbinghaus.py status
# Recalculate all strength values (run daily)
python3 scripts/ebbinghaus.py decay
# Add a new memory item
python3 scripts/ebbinghaus.py add "content description" --category \x3Ccat> --source \x3Corigin>
# Review and reinforce (resets strength to 1.0, stability ×1.5)
python3 scripts/ebbinghaus.py review \x3Cid>
# Delete a memory item
python3 scripts/ebbinghaus.py forget \x3Cid>
# Archive to MEMORY.md (removes from active list, appends to archive file)
python3 scripts/ebbinghaus.py archive \x3Cid>
# Heartbeat mode — print items needing attention
python3 scripts/ebbinghaus.py heartbeat
Heartbeat Integration
Add to your heartbeat config:
- Memory decay check: python3 /path/to/scripts/ebbinghaus.py heartbeat
Heartbeat output rules:
- 🔴 items exist → alert user, ask "review or forget?"
- Only 🟡 items → log silently, no interruption
- All 🟢 → output
HEARTBEAT_OK
Categories
| category | Meaning |
|---|---|
project |
Project/task completion |
tech |
Technical findings/solutions |
person |
Memory about someone |
event |
Important events |
general |
Other |
Typical Workflows
"Clean up old memories":
- Run
decaythenstatus - List 🔴 items, ask user: review / forget / archive?
- Execute chosen action
"Remember this: XXX":
- Run
add "XXX" - Confirm added
"Which memories are fading?":
- Run
decayto update strengths - Run
status, highlight 🔴 items
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-ebbinghaus - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-ebbinghaus触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
memory ebbinghaus 是什么?
Ebbinghaus forgetting curve memory lifecycle manager for AI agents. Automatically calculates memory strength decay, supports review reinforcement, archiving,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。
如何安装 memory ebbinghaus?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-ebbinghaus」即可一键安装,无需额外配置。
memory ebbinghaus 是免费的吗?
是的,memory ebbinghaus 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
memory ebbinghaus 支持哪些平台?
memory ebbinghaus 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 memory ebbinghaus?
由 subcoldzhang(@subcoldzhang)开发并维护,当前版本 v1.0.0。