← Back to Skills Marketplace
sdt328606

Self Improving Agent

by sdT328606 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
2
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stitch-self-improver
Description
Learn from mistakes, optimize from repetition, record every lesson. Makes your AI agent smarter over time.
README (SKILL.md)

Self-Improving Agent 🧠

让自己越来越聪明,不让同样的坑踩两次。

核心机制

1. 错误记录 📝

每次犯错都要记录,不分大小。

记录格式(追加到 .learnings/ERRORS.md):

## [2026-05-11 错误 #N] 一句话描述问题

- **场景**:当时在做什么
- **错误**:发生了什么
- **原因**:为什么错了
- **修复**:怎么解决的
- **预防**:下次怎么避免
- **严重程度**:🔴 严重 / 🟡 中等 / 🟢 轻微

特别规则:

  • 如果是因为看漏信息误解老板意图 → 记录到 MEMORY.md 作为偏好更新
  • 如果是因为工具使用错误 → 写进 TOOLS.md 或对应技能的 lessons/
  • 如果是因为逻辑/推理错误 → 在 ERRORS.md 里标注,下次类似场景主动回顾

2. 模式发现 🔍

定期回顾 ERRORS.md,找出重复发生的同类问题

  • 同一类问题出现 ≥2 次 → 写一条规则到 MEMORY.md 或对应 SKILL
  • 同一类问题出现 ≥3 次 → 上升为 SOUL.md 的规则
  • 同一类问题出现 ≥5 次 → 跟我坦白,我有大 bug

3. 记忆优化 🗃️

  • 发现老板偏好的变化 → 更新 MEMORY.md
  • 发现重复做的任务 → 建议自动化(走 skill 编纂流程)
  • 发现过期的记忆 → 标记或归档

4. 反馈循环 ♻️

每次 session 结束时问自己(内部,不需要说出来):

  • 这次对话我做得好的是什么?
  • 有没有犯不该犯的错?
  • 有什么可以改进的流程?
  • 有没有新学到的关于老板的东西?

和同级协作

  • 发现的重复工作模式 → 主动触发 skill 编纂流程
  • 发现的老板偏好变化 → 通知 proactive-agent,让它调整交互方式
Usage Guidance
Install only if you want the agent to keep long-term notes about mistakes, preferences, and workflow patterns. Before using it, set explicit rules for what may be stored, require confirmation before writing preferences or SOUL/MEMORY updates, avoid storing sensitive personal or business details, and disable any automatic sharing with other agents unless you deliberately approve it.
Capability Assessment
Purpose & Capability
The stated purpose is self-improvement through error tracking and memory updates, and the main behaviors fit that purpose. The concern is that the capability includes recording session-derived lessons, user preferences, reasoning mistakes, and escalating rules into persistent memory files.
Instruction Scope
The instructions are broad: record every mistake, periodically review recurring patterns, update MEMORY.md and SOUL.md, and perform an internal end-of-session reflection without saying it out loud. There are no clear activation limits, opt-in requirements, data minimization rules, or deletion guidance.
Install Mechanism
The package contains only a single non-executable SKILL.md file, with no scripts, dependencies, install hooks, or obfuscated code found in the workspace.
Credentials
Persistent learning is coherent for this skill, but writing user preferences and session lessons into reusable memory is high-impact relative to the lack of scoping and user control.
Persistence & Privilege
The artifact explicitly directs updates to .learnings/ERRORS.md, MEMORY.md, TOOLS.md, SKILL lessons, and SOUL.md, and says preference changes should be sent to proactive-agent. That creates cross-session and cross-agent retention risk without safeguards.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stitch-self-improver
  3. After installation, invoke the skill by name or use /stitch-self-improver
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Self-Improving Agent 2.0.0 introduces robust error-tracking, learning, and optimization mechanisms. - Implements structured error documentation and categorization, ensuring all mistakes are logged and analyzed. - Adds pattern recognition to detect recurring issues, escalating frequent problems to higher-priority memory or "soul" rules. - Enhances memory management: updates for preference changes, suggestions for automation, and archiving of obsolete memories. - Establishes an internal feedback loop after each session to continuously reflect and improve performance. - Promotes collaborative improvements by sharing new patterns and preference changes with related agents.
Metadata
Slug stitch-self-improver
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Self Improving Agent?

Learn from mistakes, optimize from repetition, record every lesson. Makes your AI agent smarter over time. It is an AI Agent Skill for Claude Code / OpenClaw, with 2 downloads so far.

How do I install Self Improving Agent?

Run "/install stitch-self-improver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Self Improving Agent free?

Yes, Self Improving Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Self Improving Agent support?

Self Improving Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Self Improving Agent?

It is built and maintained by sdT328606 (@sdt328606); the current version is v2.0.0.

💬 Comments