TevinClaw
9 hours ago a3db9d258542a2960645743442f944968d24ec2b
移除:旧热记忆和自改进技能,更新工具箱记录 memory-md-learning 触发规则
1 files modified
19 files deleted
2737 ■■■■■ changed files
workspace/TOOLS.md 47 ●●●●● patch | view | raw | blame | history
workspace/skills/hot-memory/SKILL.md 184 ●●●●● patch | view | raw | blame | history
workspace/skills/hot-memory/scripts/daily_maintenance.py 327 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/.clawhub/origin.json 7 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/.learnings/ERRORS.md 5 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/.learnings/FEATURE_REQUESTS.md 5 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/.learnings/LEARNINGS.md 5 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/SKILL.md 647 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/_meta.json 6 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/assets/LEARNINGS.md 45 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/assets/SKILL-TEMPLATE.md 177 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/hooks/openclaw/HOOK.md 23 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/hooks/openclaw/handler.js 56 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/hooks/openclaw/handler.ts 62 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/references/examples.md 374 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/references/hooks-setup.md 223 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/references/openclaw-integration.md 248 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/scripts/activator.sh 20 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/scripts/error-detector.sh 55 ●●●●● patch | view | raw | blame | history
workspace/skills/self-improving-agent/scripts/extract-skill.sh 221 ●●●●● patch | view | raw | blame | history
workspace/TOOLS.md
@@ -10,6 +10,53 @@
- 搜索新闻时,优先使用技能 `tavily-search` 而不是 `web_fetch`
## 记忆技能触发规则
### memory-md-hot 热记忆更新
- **触发时机**: 每日晚上10点后(心跳任务)
- **执行命令**: `python skills/memory-md-hot/scripts/daily_maintenance.py update`
- **功能**: 扫描当日记忆,更新事件流水,保留所有历史
### memory-md-archive 归档控制
- **触发时机**: 每日热记忆更新后(心跳任务)
- **执行命令**: `python skills/memory-md-archive/scripts/archive.py`
- **功能**: 归档8天前内容、超过30条的重要/学习事件、体积控制(4KB限制)
### memory-md-learning 学习记录
**自动触发场景**(解决问题后立即调用):
- 修复了难以发现的 bug
- 解决了配置冲突问题
- 找到了更优的解决方案
- 翻过陷阱或踩坑后
**用户主动触发**(用户说以下关键词时):
- "学习一下"
- "记录下来"
- "记住这个"
- "总结经验"
- "这个要记"
**执行命令**:
```bash
python skills/memory-md-learning/scripts/learning.py \
  --trap "现象描述" \
  --cause "根本原因" \
  --fix "解决方案" \
  --prevent "预防措施" \
  --principle "行为准则" \
  --trigger "触发条件" \
  --action "具体行动" \
  --tag "标签" \
  --summary "一句话概要" \
  --keywords "关键词1,关键词2"
```
**学习内容**:
1. **技术层**(长期记忆): 陷阱、原因、修复、预防
2. **原则层**(长期记忆): 决策原则、触发条件、行动
3. **学习事件**(MEMORY.md): 日期+概要+关键词
## 这里记什么
技能定义了工具如何工作,这个文件是用来记录那些只属于你的设置的东西
workspace/skills/hot-memory/SKILL.md
File was deleted
workspace/skills/hot-memory/scripts/daily_maintenance.py
File was deleted
workspace/skills/self-improving-agent/.clawhub/origin.json
File was deleted
workspace/skills/self-improving-agent/.learnings/ERRORS.md
File was deleted
workspace/skills/self-improving-agent/.learnings/FEATURE_REQUESTS.md
File was deleted
workspace/skills/self-improving-agent/.learnings/LEARNINGS.md
File was deleted
workspace/skills/self-improving-agent/SKILL.md
File was deleted
workspace/skills/self-improving-agent/_meta.json
File was deleted
workspace/skills/self-improving-agent/assets/LEARNINGS.md
File was deleted
workspace/skills/self-improving-agent/assets/SKILL-TEMPLATE.md
File was deleted
workspace/skills/self-improving-agent/hooks/openclaw/HOOK.md
File was deleted
workspace/skills/self-improving-agent/hooks/openclaw/handler.js
File was deleted
workspace/skills/self-improving-agent/hooks/openclaw/handler.ts
File was deleted
workspace/skills/self-improving-agent/references/examples.md
File was deleted
workspace/skills/self-improving-agent/references/hooks-setup.md
File was deleted
workspace/skills/self-improving-agent/references/openclaw-integration.md
File was deleted
workspace/skills/self-improving-agent/scripts/activator.sh
File was deleted
workspace/skills/self-improving-agent/scripts/error-detector.sh
File was deleted
workspace/skills/self-improving-agent/scripts/extract-skill.sh
File was deleted