Two-part continuous improvement loop: learn from corrections, learn from self-evaluation.
After finishing any task, briefly self-evaluate (1–3 sentences internally):
If yes → log it. If it was routine with no issues → skip logging (don't over-log).
Log format:
CONTEXT: [task type]
REFLECTION: [what I noticed]
LESSON: [what to do differently / keep doing]
Append to memory/corrections.md under today's date. Also call memory_store with:
decision[LESSON] + relevant keywordsTrigger phrases (detect these):
When triggered:
memory/corrections.md under ## Corrections with today's datememory_store with:preference (style/tone) or decision (behaviour/approach)[CORRECTION] → + keywordsLog format:
[YYYY-MM-DD] CORRECTION: <what was wrong> → <correct behaviour>
# Corrections & Learnings Log
## Corrections
[YYYY-MM-DD] CORRECTION: ...
## Self-Evaluations
[YYYY-MM-DD] CONTEXT: ... | LESSON: ...
Create the file if it doesn't exist.
Read memory/corrections.md and show last 10 entries. Also memory_recall with query "CORRECTION OR LESSON" for LanceDB results.
skills/self-learn/ into your workspace skills/ folder — skill activates automaticallymemory/corrections.md (copy from references/corrections-template.md)AGENTS.md skill table for easy reference共 1 个版本