Task Router Skill
Task Router
OpenClaw记忆系统优化方案 - 四层架构 + 动态衰减 + 智能检索
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install githubxiaohei/openclaw-memory-fix打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
OpenClaw记忆系统优化方案 - 四层架构 + 动态衰减 + 智能检索
| 方向 | 触发条件 |
|---|---|
| L1→L2 | 任务完成、用户确认 |
| L2→L3 | 相似情景3次+ |
| L3→L4 | 知识验证10次+ |
# 查看记忆状态
node scripts/memory.js status
# 手动触发迁移
node scripts/memory.js migrate
# 触发遗忘模拟
node scripts/memory.js preview-decay
在 WORKSPACE 下创建 memory/ 目录:
memory/
├── L1/ # 短期记忆
├── L2/ # 情景记忆
├── L3/ # 语义记忆
├── L4/ # 长期记忆
└── config.json # 配置文件
参考:references/MEMORY.md
作者:Odin for 馒头哥
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# OpenClaw Memory Fix 🧠 OpenClaw记忆系统优化方案 - 四层架构 + 动态衰减 + 智能检索 ## 功能 ### 1. 四层记忆架构 - L1 短期记忆:当前会话、任务状态 - L2 情景记忆:场景、情绪、置信度 - L3 语义记忆:知识库、经验教训 - L4 长期记忆:核心原则、用户画像 ### 2. 层间迁移 | 方向 | 触发条件 | |------|---------| | L1→L2 | 任务完成、用户确认 | | L2→L3 | 相似情景3次+ | | L3→L4 | 知识验证10次+ | ### 3. 动态衰减 - L4核心原则:永久保留 - L4画像:1%/月 - L3知识:5%/月 - L2情景:10%/月 - L1临时:50%/会话 ### 4. 智能检索 - 向量索引 + 知识图谱 - 多维筛选(标签/时间/情绪) ### 5. 自我反思 - 记忆模糊时主动询问 - 效能监控与调优 ## 使用方法 ```bash # 查看记忆状态 node scripts/memory.js status # 手动触发迁移 node scripts/memory.js migrate # 触发遗忘模拟 node scripts/memory.js preview-decay ``` ## 配置 在 WORKSPACE 下创建 `memory/` 目录: ``` memory/ ├── L1/ # 短期记忆 ├── L2/ # 情景记忆 ├── L3/ # 语义记忆 ├── L4/ # 长期记忆 └── config.json # 配置文件 ``` ## 详细文档 参考:`references/MEMORY.md` ## 更新日志 - 2026-03-08: 初始版本 - 四层架构 - 动态衰减 - 智能检索 - 自我反思 --- 作者:Odin for 馒头哥
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.