50 lines
1.4 KiB
Markdown
50 lines
1.4 KiB
Markdown
---
|
||
title: "Self-Improving Skill"
|
||
type: concept
|
||
tags: [AI, Agent, 记忆, 复盘]
|
||
sources: [yang-xia-ri-ji-2]
|
||
last_updated: 2026-04-14
|
||
---
|
||
|
||
## Definition
|
||
OpenClaw的结构化经验记录系统,每当Agent遇到问题、做出决策或发现值得记住的东西时,将内容写入LEARNINGS.md或ERRORS.md。
|
||
|
||
## 记录格式
|
||
```markdown
|
||
## [LRN-YYYYMMDD-NNN] type
|
||
|
||
**Logged**: YYYY-MM-DDTHH:MM:SS+08:00
|
||
**Priority**: high/medium/low
|
||
**Status**: pending/resolved
|
||
**Area**: config/workflow/error
|
||
|
||
### Summary
|
||
一句话描述学到了什么
|
||
|
||
### Details
|
||
具体发生了什么、问题出在哪
|
||
|
||
### Suggested Action
|
||
以后遇到类似情况该怎么做
|
||
|
||
### Metadata
|
||
- Pattern-Key: cron.telegram-delivery
|
||
- Recurrence-Count: 1
|
||
- See Also: LRN-YYYYMMDD-NNN
|
||
```
|
||
|
||
## 核心价值
|
||
- **错误只犯一次**:Pattern-Key重复是系统性问题的信号
|
||
- **固定格式**:让人和其他Agent能快速检索、对比、追踪完整生命周期
|
||
|
||
## Pattern-Key使用
|
||
| Pattern-Key | 出现次数 | 含义 |
|
||
|-------------|---------|------|
|
||
| cron.daily-self-review | 9次 | 每日复盘相关(活跃优化区)|
|
||
| cron.telegram-delivery | 2次 | Telegram通知配置(第二次解决)|
|
||
|
||
## Connections
|
||
- [[三层记忆架构]] ← 自改进层 ← [[Self-Improving Skill]]
|
||
- [[Pattern-Key]] ← 分类机制 ← [[Self-Improving Skill]]
|
||
- [[Recurrence-Count]] ← 重复指标 ← [[Self-Improving Skill]]
|