返回顶部
g

goat-self-improving-lite

Lightweight 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, and avoids verbose self-reflection loops.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
89
下载量
0
收藏
概述
安装方式
版本历史

goat-self-improving-lite

# Goat Self Improving Lite ## Overview Use this skill to convert important feedback into durable behavior changes with minimal token cost. Prefer event-triggered capture over continuous self-reflection. ## Core rule Do **not** run broad self-analysis. Only act when at least one of these is true: - The user explicitly says "remember", "以后", "别再", "固定下来", "写进记忆", or similar - The user corrects a mistake or rejects an output pattern - A new operating rule is agreed - A repeated failure should become a hard constraint If none apply, do not use this skill. ## Workflow ### 0. Use the low-cost decision path first Prefer a two-layer path: 1. **Local/Ollama first-pass** for simple classification, compression, and promotion pre-check 2. **Main model final pass** only when the case is ambiguous, strategic, or likely to affect long-term defaults Use local/Ollama for: - classifying feedback into a lesson type - compressing a lesson into 1-2 lines - deciding whether a lesson is probably daily-memory-only or a candidate for long-term promotion Escalate to the main model only when: - the lesson changes global operating rules - the wording is ambiguous or high-stakes - the summary may distort the user's intent - the lesson affects safety, billing, routing, or durable priorities ### 1. Classify the feedback Map the event into one of four buckets: 1. **Preference** — style, brevity, tone, output format 2. **Rule** — default behavior, routing, cost control, escalation condition 3. **Mistake** — something Goat did wrong and should avoid repeating 4. **Priority** — what to optimize first right now ### 2. Decide storage level - Write to `memory/YYYY-MM-DD.md` for short-term events, fresh corrections, and local context - Also update `MEMORY.md` only if the lesson is durable and should shape future sessions - Do not promote transient details into `MEMORY.md` ### 3. Write in compressed form Store the smallest useful rule. Prefer: - "Boss requires strict token-efficiency discipline" - "Default to short answers and minimal tools" Avoid: - long narrative explanations - emotional framing - detailed postmortems unless specifically requested ### 4. Apply immediately After writing memory, change behavior in the current session right away. Do not wait for the next session. ## Writing rules - Keep each stored lesson to 1-2 lines - Prefer imperative language - Record the correction, not the whole story - If a lesson changes defaults, phrase it as a rule - If the user approved a protocol, name it consistently (for example: `Session throttling protocol v1`) ## Promotion guide Promote to `MEMORY.md` when a lesson is: - likely to matter across many sessions - tied to cost, safety, trust, routing, or communication style - a default operating rule Keep only in daily memory when it is: - temporary - experimental - tied to a single task - not yet validated by repeated use or explicit user approval ## Anti-bloat guardrails - Do not summarize every conversation - Do not run reflection after every task - Do not create extra memory files - Do not duplicate the same rule in multiple places unless promoting from daily memory to long-term memory - Do not trigger memory search unless the task actually depends on prior decisions, preferences, dates, people, or todos ## Resources ### scripts/ - `scripts/capture_lesson.py` appends a compact lesson to the canonical daily memory file - `scripts/log_lesson_event.py` writes structured LessonLoop event logs for evaluation and reporting - `scripts/lessonloop_report.py` summarizes recent LessonLoop activity and outputs a compact report ### references/ - `references/lesson-types.md` contains compact classification and phrasing patterns - `references/status-format.md` defines a compact report/status output format

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 lessonloop-1776100623 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 lessonloop-1776100623 技能

通过命令行安装

skillhub install lessonloop-1776100623

下载 Zip 包

⬇ 下载 goat-self-improving-lite v0.1.0

文件大小: 8.06 KB | 发布时间: 2026-4-14 14:13

v0.1.0 最新 2026-4-14 14:13
Initial release of Goat Self Improving Lite – lightweight, event-triggered lesson capture for durable memory with minimal token cost.

- Records only high-value lessons based on explicit user feedback or important corrections.
- Promotes durable rules to long-term memory; avoids verbose or redundant reflections.
- Implements a two-layer, cost-efficient workflow (local/first-pass then main model for ambiguous or critical cases).
- Stores each lesson in compressed, rule-focused form to minimize memory bloat.
- Immediately applies new behavior changes after writing memory.
- Provides scripts for lesson capture, logging, and compact reporting.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部