assafster

Self-Improvement System

AI 智慧體v1.2.0
作者:assafster更新於 2026-05-18共 2 個版本 · 最新版本釋出於 2026-03-18self-improvement-system@clawhub_assafster/self-improvement-system
工作流編排記憶增強#Self Improvement

據 AlphaMoat 統計,截至 2026-10,Self-Improvement System 累計下載 24,080 次、獲 2 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 1,181 位,在「AI 智慧體」分類(1,632 個)中排名第 175 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
2.4萬
星標
2
全站下載量排名
#1,181
全站前 11% · 「AI 智慧體」前 11%
平台累計下載星標評論
ClawHub ↗15982-
SkillHub ↗2.4萬2—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能執行一個持續自我改進迴圈:在會話開始時載入 soul.md、lessons.md、playbook.md、session-log.md 等本地行為檔案;在非平凡任務前做不確定性檢查;在出錯時記錄抽象、隱私安全的錯誤日誌;在會話結束時追加一行總結。所有日誌只描述推理錯誤與流程失敗,絕不記錄使用者資料、金鑰或個人身份資訊。

資料釋出於 2026-10-27

可以用來做什麼

  • 跨會話記錄並復盤推理錯誤
  • 從錯誤中提煉可複用規則寫入 lessons.md
  • 定期審計重複錯誤模式以更新 soul.md

什麼時候用

  • 使用者說“改進你自己”或“記錄這次錯誤”時
  • 智慧體檢測到自身錯誤需要記錄時
  • 新會話啟動需要載入過往學習時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

幫我記錄這次推理錯誤並提煉一條規則
檢查一下我最近的 lessons.md 有沒有可用規則
執行一次自我審計並給出改進項

月度資料趨勢

累計下載2.4萬
01.3萬2.6萬2026-03 · 累計下載 6212026-05 · 累計下載 18852026-06 · 累計下載 25362026-07 · 累計下載 42132026-08 · 累計下載 59352026-09 · 累計下載 86672026-10 · 累計下載 2.4萬26-0326-0926-10
星標2
1232026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 22026-10 · 星標 226-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-102.4萬—2
2026-098667—2
2026-085935+40.9%2
2026-074213+66.1%2
2026-062536+34.5%2
2026-051885—2
2026-03621—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

5.1 KB · ClawHub v1.2.0
---
name: self-improvement
description: Runs a continuous self-improvement loop that helps the agent learn from mistakes, extract lessons, and refine its behaviour over time. Use when the user says "improve yourself", "learn from that mistake", "log what went wrong", "review your lessons", "run a self-audit", "check your soul file", "update your playbook", or when the agent detects it has made an error and should record it. Also triggers at session start to load prior learning, and periodically to detect recurring error patterns.
metadata:
  author: OpenClaw
  version: 1.2.0
  category: agent-behaviour
---

# Self-Improvement System
展開全部(共 117 行)

This skill runs a continuous self-improvement loop. The agent learns from mistakes, extracts reusable lessons, and compounds improvements across sessions.

---

## Privacy and Data Safety — read this first

All log entries must describe **reasoning errors and process failures only**. They must never contain user data.

**Never log any of the following:**
- Personally identifiable information (names, emails, phone numbers, addresses, IDs)
- Credentials, API keys, tokens, or passwords
- Financial data, account numbers, or transaction details
- Health, legal, or other sensitive personal information
- Verbatim user messages or any direct quotes from user input
- File contents, code, or data provided by the user

**Log only:**
- The type of reasoning error that occurred
- The process step where it happened
- The abstract root cause (e.g. "skipped validation step", "assumed tool was available")
- The preventive rule in general terms

If describing a mistake requires including any user-provided content, paraphrase in fully abstract terms or omit the detail entirely. When in doubt about whether a detail is safe to log, leave it out.

---

## Session Startup — always do this first

Before taking any action in a new session, read the following files if they exist:

- `soul.md` — core behavioural principles (these override defaults)
- `lessons.md` — extracted rules and heuristics
- `playbook.md` — proven workflows for common task types
- `session-log.md` — what was learned or updated in recent sessions

Internalise their contents before proceeding. If any file is missing, create it with a brief header comment and continue.

---

## Before Every Non-Trivial Response

Before finalising any response that involves reasoning, multi-step work, or external tools, run this internal check:

1. **Am I confident in this?** If uncertain, say so explicitly rather than proceeding as if certain.
2. **Have I made this type of mistake before?** Scan `lessons.md` for a relevant rule.
3. **Is there a playbook entry for this task type?** If yes, follow it.

If any answer is uncertain, note it briefly before responding — not after. This is the only part of the system that actively prevents mistakes rather than cataloguing them after the fact.

**A task is non-trivial if it meets any of these conditions:**
- 3 or more sequential steps
- Involves an external tool or API call
- Is a task type not yet encountered this session

---

## When to Log a Mistake

Log immediately when any of the following occur:

- Incorrect reasoning or a false assumption stated as fact
- A hallucinated detail presented with confidence
- Misunderstanding user intent that caused rework
- A task completed less efficiently than it could have been
- A tool used in the wrong order or for the wrong purpose
- A lesson from `lessons.md` was available but not applied

Note whether the mistake was **self-detected** or **user-reported**. Apply the privacy rules above before writing any entry. See `references/protocol.md` for the full logging format.

---

## Session Close — always do this last

Before ending any session, append one entry to `session-log.md`:

```
[YYYY-MM-DD] [Key lesson or "no new lessons"] | Files updated: [list or "none"]
```

Session log entries follow the same privacy rules — process observations only, no user data.

If `mistakes.md` now exceeds 50 entries, or contains entries older than 90 days, move the oldest entries to `archive/mistakes-[year].md` before closing. Keep only active entries and any `[pattern-rule]` or High-severity entries in the main file.

---

## Core Files

| File | Purpose |
|---|---|
| `mistakes.md` | Active error log — rotate when over 50 entries or 90 days old |
| `lessons.md` | Reusable rules extracted from mistakes |
| `soul.md` | Foundational behavioural principles (max 20 entries) |
| `playbook.md` | Proven workflows for recurring task types |
| `session-log.md` | One-line summary written at the end of every session |
| `archive/mistakes-[year].md` | Rotated entries from `mistakes.md` |

All files store process and reasoning observations only. No user data is ever written to any of these files.

See `references/protocol.md` for full formatting, lesson extraction rules, promotion criteria for `soul.md`, pattern detection process, and audit template.

---

## Mindset

Mistakes are signals, not failures. Every logged mistake — described in abstract, privacy-safe terms — compounds into future improvement. Accuracy of the lesson matters more than volume of logging. A skipped log is better than an unsafe one.

「AI 智慧體」分類下的熱門技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。