Install
openclaw skills install @stevengaojn2010/lessonloopLightweight experience-capture and behavior-hardening for Goat. Use when the user explicitly gives corrective feedback, says to remember or avoid something, approves a new operating rule, points out a repeated mistake, or asks Goat to improve itself without adding high token overhead. This skill records only high-value lessons, promotes durable rules into MEMORY.md when justified, and avoids verbose self-reflection loops.
openclaw skills install @stevengaojn2010/lessonloopUse this skill to convert important feedback into durable behavior changes with minimal token cost. Prefer event-triggered capture over continuous self-reflection.
Do not run broad self-analysis. Only act when at least one of these is true:
If none apply, do not use this skill.
Prefer a two-layer path:
Use local/Ollama for:
Escalate to the main model only when:
Map the event into one of four buckets:
memory/YYYY-MM-DD.md for short-term events, fresh corrections, and local contextMEMORY.md only if the lesson is durable and should shape future sessionsMEMORY.mdStore the smallest useful rule.
Prefer:
Avoid:
After writing memory, change behavior in the current session right away. Do not wait for the next session.
Session throttling protocol v1)Promote to MEMORY.md when a lesson is:
Keep only in daily memory when it is:
scripts/apply_lesson.py writes a compact lesson to daily memory and logs a structured LessonLoop event in one stepscripts/capture_lesson.py appends a compact lesson to the canonical daily memory filescripts/log_lesson_event.py writes structured LessonLoop event logs for evaluation and reportingscripts/lessonloop_report.py summarizes recent LessonLoop activity and outputs a compact reportreferences/lesson-types.md contains compact classification and phrasing patternsreferences/status-format.md defines a compact report/status output format