Token导航 LogoToken导航

Agent Skill · 研究检索

self-improving-agent-skill(自我提升 Agent 技能)

self-improving-agent-skill 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

self-improving-agent-skill 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 7,502。

总安装 18,816周安装 832GitHub Stars 公开资料未说明下载 6,592核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.2.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-improving-agent-skill(自我提升 Agent 技能)
来源仓库:https://github.com/initail/self-improving-agent-skill
安装命令:
openclaw skills install self-improving-agent-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-improving-agent-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

基于对经验的持续学习,不断优化Agent能力。适用于完成任务后、出现错误时、会话结束时,或用户输入“自我进化”“总结经验”“从经验中重要学习”等指令时触发。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install self-improving-agent-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

self-improving-agent-skill 怎么安装?

在终端执行 openclaw skills install self-improving-agent-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

self-improving-agent-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

self-improving-agent-skill 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

self-improving-agent-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

self-improving-agent-skill 用的人多吗?

公开数据是累计安装 18,816 次,近一周安装 832 次,下载 6,592 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

self-improving-agent-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
self-improving-agent-skill

自我提升 Agent 技能 · 本页

18,816—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
self-improving-agent-skill
version
0.2.0
description
基于对经验的持续学习,不断优化 Agent 能力。适用于完成重要任务后、出现错误时、会话结束时,或用户输入“自我进化”“总结经验”“从经验中学习”等指令时触发。

Self-Improving Agent

"An AI agent that learns from every interaction, accumulating patterns and insights to continuously improve its own capabilities." — Based on 2025 lifelong learning research

Overview

This is a universal self-improvement system that learns from ALL task experiences. It implements a complete feedback loop:

  • Multi-Memory Architecture: Semantic (patterns/rules) + Episodic (experiences) + Working (session context)
  • Self-Correction: Detects and fixes guidance errors
  • Self-Validation: Periodically verifies skill accuracy
  • Evolution Markers: Traceable changes with source attribution
  • Confidence Tracking: Measures pattern reliability over time
  • User Confirmation Gate: All skill file modifications require explicit user approval before applying
  • Human-in-the-Loop: Collects feedback to validate improvements

Research-Based Design

ResearchKey InsightApplication
SimpleMemEfficient lifelong memoryPattern accumulation system
Multi-Memory SurveySemantic + Episodic memoryWorld knowledge + experiences
Lifelong LearningContinuous task stream learningLearn from every task
Evo-MemoryTest-time lifelong learningReal-time adaptation

The Self-Improvement Loop

┌──────────────────────────────────────────────────────────────┐
│                  UNIVERSAL SELF-IMPROVEMENT                   │
├──────────────────────────────────────────────────────────────┤
│                                                              │
│  Task Event → Extract Experience → Abstract Pattern → Update │
│       │               │                 │              │     │
│       ▼               ▼                 ▼              ▼     │
│  ┌────────────────────────────────────────────────────────┐  │
│  │              MULTI-MEMORY SYSTEM                       │  │
│  ├────────────────────────────────────────────────────────┤  │
│  │ Semantic Memory  │ Episodic Memory  │ Working Memory   │  │
│  │ (Patterns/Rules) │ (Experiences)    │ (Current)        │  │
│  │ memory/self-improving/semantic/ │ memory/self-improving/episodic/ │ memory/self-improving/working/  │  │
│  └────────────────────────────────────────────────────────┘  │
│                                                              │
│  ┌────────────────────────────────────────────────────────┐  │
│  │              FEEDBACK LOOP                             │  │
│  │ User Feedback → Confidence Update → Pattern Adapt      │  │
│  └────────────────────────────────────────────────────────┘  │
│                                                              │
└──────────────────────────────────────────────────────────────┘

When This Activates

Automatic Triggers

EventAction
Any significant task completesExtract patterns, propose skill updates (requires user confirmation)
An error or failure occursCapture error context, trigger self-correction (requires user confirmation before applying fixes)
Session endsConsolidate working memory into long-term memory

Manual Triggers

  • User says "自我进化", "self-improve", "从经验中学习"
  • User says "分析今天的经验", "总结教训", "总结经验"
  • User asks to improve a specific skill or workflow

Memory Storage

Workspace Discovery

Before accessing any memory files, the agent MUST first determine the workspace root path:

  1. Check environment — Use the workspace path provided by the IDE/environment context
  2. Verify structure — Confirm the workspace root by checking for project markers (e.g., .git/, package.json, pom.xml, etc.)
  3. All paths below are relative to the workspace root — e.g., {workspace}/memory/self-improving/

Relationship with Agent Memory

The Self-Improving Agent's memory lives inside the Agent's memory/ directory as a dedicated subdirectory. This design ensures:

  • No confusion: Agent's own memory (MEMORY.md, memory/YYYY-MM-DD.md) and Self-Improving Agent's memory (memory/self-improving/) are clearly separated by directory structure
  • Discoverability: The Agent can browse memory/ and naturally find self-improving insights
  • Supplement, not replace: Self-Improving Agent can append high-confidence patterns to Agent's memory files (with user confirmation), enriching the Agent's knowledge
{workspace}/
├── MEMORY.md                          # Agent core memory (Self-Improving Agent can append)
├── memory/
│   ├── YYYY-MM-DD.md                  # Agent daily memory (Self-Improving Agent can append)
│   └── self-improving/                # Self-Improving Agent dedicated memory space
│       ├── semantic/
│       │   └── patterns.json          # Abstract patterns and rules
│       ├── episodic/
│       │   └── YYYY/
│       │       └── YYYY-MM-DD-{task}.json  # Specific experiences
│       ├── working/
│       │   ├── current_session.json   # Active session data
│       │   ├── last_error.json        # Error context for self-correction
│       │   └── session_end.json       # Session end marker for consolidation
│       └── index.json                 # Memory index and metrics

Memory Interaction Rules

ActionTargetCondition
ReadMEMORY.mdAlways — to understand Agent's accumulated knowledge
Readmemory/YYYY-MM-DD.mdAlways — to understand today's context
Append toMEMORY.mdOnly high-confidence patterns (>= 0.9), requires user confirmation
Append tomemory/YYYY-MM-DD.mdSession summary and key learnings, requires user confirmation
Full CRUDmemory/self-improving/*Self-Improving Agent's own memory space, free to manage

Evolution Priority Matrix

Trigger evolution when new reusable knowledge appears:

TriggerPriorityAction
New workflow pattern discoveredHighAdd to relevant skill guidance
Architecture/design tradeoff clarifiedHighAdd to decision patterns
Debugging fix or anti-pattern foundHighAdd to troubleshooting patterns
Security or performance insightHighAdd to best practice patterns
Code pattern or idiom learnedMediumAdd to coding patterns
Test strategy improvementMediumUpdate testing approach
Tool usage optimizationMediumUpdate tool usage patterns
Documentation structure insightLowUpdate documentation templates

Multi-Memory Architecture

1. Semantic Memory (memory/self-improving/semantic/patterns.json)

Stores abstract patterns and rules reusable across contexts:

{
  "patterns": {
    "pat-2025-01-11-001": {
      "id": "pat-2025-01-11-001",
      "name": "Pattern Name",
      "source": "user_feedback|implementation_review|retrospective",
      "confidence": 0.95,
      "applications": 5,
      "created": "2025-01-11",
      "last_applied": "2025-01-15",
      "category": "coding_patterns|architecture|debugging|workflow|...",
      "pattern": "One-line summary",
      "problem": "What problem does this solve?",
      "solution": "How to apply this pattern",
      "quality_rules": ["Rule 1", "Rule 2"],
      "target_skills": ["skill-name-1", "skill-name-2"]
    }
  }
}

2. Episodic Memory (memory/self-improving/episodic/)

Stores specific experiences and what happened:

{
  "id": "ep-2025-01-11-001",
  "timestamp": "2025-01-11T10:30:00Z",
  "skill": "debugger|coding-assistant|reviewer|...",
  "task_type": "debugging|coding|review|design|...",
  "situation": "What the user was trying to do",
  "solution": "How the issue was resolved",
  "outcome": "success|partial|failure",
  "root_cause": "Underlying issue if applicable",
  "lesson": "Key takeaway from this experience",
  "related_pattern": "pattern_id if linked",
  "user_feedback": {
    "rating": 8,
    "comments": "User's feedback on the experience"
  }
}

3. Working Memory (memory/self-improving/working/)

Stores current session context — ephemeral data that gets consolidated at session end:

{
  "session_id": "session-2025-01-11-001",
  "started": "2025-01-11T10:00:00Z",
  "tasks_completed": [],
  "errors_encountered": [],
  "patterns_applied": [],
  "pending_extractions": []
}

Self-Improvement Process

Phase 1: Experience Extraction

After any significant task completes, extract:

What happened:
  task_type: {what kind of task}
  task: {what was being done}
  outcome: {success|partial|failure}

Key Insights:
  what_went_well: [what worked]
  what_went_wrong: [what didn't work]
  root_cause: {underlying issue if applicable}

User Feedback:
  rating: {1-10 if provided}
  comments: {specific feedback}

Phase 2: Pattern Abstraction

Convert experiences to reusable patterns. The goal is to go from concrete to abstract — patterns should be general enough to apply across different tasks but specific enough to be actionable.

Concrete ExperienceAbstract Pattern
"User forgot to save intermediate work""Always persist intermediate results to files"
"Code review missed SQL injection""Add security checklist to review process"
"Callback was empty, causing silent failure""Verify all callbacks have implementations"
"Ambiguous UI spec caused rework""UI specs need exact layout specifications"

Abstraction Rules:

If experience_repeats 3+ times:
  pattern_level: critical
  action: Add to "Critical Mistakes" or "Anti-Patterns" section

If solution_was_effective:
  pattern_level: best_practice
  action: Add to "Best Practices" section

If user_rating >= 7:
  pattern_level: strength
  action: Reinforce this approach in relevant skills

If user_rating <= 4:
  pattern_level: weakness
  action: Add to "What to Avoid" section

Phase 3: Skill Updates

IMPORTANT: User Confirmation Required — Before writing any changes to skill files, you MUST:

  1. Present proposed changes — Show the user a clear summary of what will be modified:

- Which skill file(s) will be updated - What content will be added, modified, or removed - The rationale behind each change (source episode, pattern, confidence level)

  1. Wait for explicit approval — Do NOT proceed until the user confirms. Acceptable confirmations include explicit affirmative responses (e.g., "确认", "好的", "proceed", "yes").
  2. Apply changes only after approval — Once confirmed, apply the changes with evolution markers for traceability.

If the user rejects or requests modifications, adjust the proposed changes accordingly and re-present for confirmation.

Proposed Change Summary Format:

## Proposed Skill Update

**Target**: `{skill-file-path}`
**Action**: {Add new pattern | Correct existing guidance | Update checklist}
**Source**: {episode_id or trigger}
**Confidence**: {X.XX}

### Changes Preview
{Show the exact content that will be added/modified, using diff-style or before/after format}

### Rationale
{Why this change is recommended}

---
Confirm this update? (yes/no/modify)

Once confirmed, update skill files with evolution markers for traceability:

<!-- Evolution: 2025-01-12 | source: ep-2025-01-12-001 | task: debugging -->

## Pattern Added (2025-01-12)

**Pattern**: Always verify callbacks are not empty functions

**Source**: Episode ep-2025-01-12-001

**Confidence**: 0.95

### Updated Checklist
- [ ] Verify all callbacks have implementations
- [ ] Test callback execution paths

Correction Markers (when fixing wrong guidance):

<!-- Correction: 2025-01-12 | was: "Use callback chain" | reason: caused stale state -->

## Corrected Guidance

Use direct state monitoring instead of callback chains for reactive updates.

Use the templates in templates/ for consistent formatting. See references/appendix.md for the full template structures.

Phase 4: Memory Consolidation

  1. Update semantic memory — add or update patterns in memory/self-improving/semantic/patterns.json
  2. Store episodic memory — write episode to memory/self-improving/episodic/YYYY/YYYY-MM-DD-{task}.json
  3. Update pattern confidence — increase confidence for patterns that were successfully applied, decrease for those that led to errors
  4. Prune outdated patterns — lower confidence for patterns with no recent applications; archive patterns below 0.3 confidence
  5. Supplement Agent memory — propose additions to Agent's own memory files. User confirmation is REQUIRED before any write to MEMORY.md or memory/YYYY-MM-DD.md. Follow the same confirmation protocol as Phase 3:

What to propose: - High-confidence patterns (>= 0.9) as concise entries → MEMORY.md - Today's session summary and key learnings → memory/YYYY-MM-DD.md

Confirmation format:

   ## Proposed Agent Memory Update

   ### → MEMORY.md (append)
   {Exact content to be appended, preview here}

   ### → memory/YYYY-MM-DD.md (append)
   {Exact content to be appended, preview here}

   **Source patterns**: {pattern IDs and confidence levels}

   ---
   Confirm this memory update? (yes/no/modify)

After approval: - Append confirmed content with <!-- Source: self-improving-agent | date: YYYY-MM-DD --> markers for traceability - Do NOT overwrite existing content — always append at the end

Self-Correction

Triggered when:

  • A command or operation returns an error
  • Tests fail after following skill guidance
  • User reports the guidance produced incorrect results

Process:

  1. Detect Error

- Capture error context into memory/self-improving/working/last_error.json - Identify which guidance was followed

  1. Verify Root Cause

- Was the guidance incorrect? - Was the guidance misinterpreted? - Was the guidance incomplete?

  1. Propose Correction

- Draft the corrected guidance with correction markers - Present proposed changes to user for review (follow Phase 3 confirmation format) - Wait for user confirmation before applying any changes

  1. Apply Correction (after user approval)

- Update relevant skill/document with corrected guidance - Add correction marker with reason - Update related patterns in semantic memory

  1. Validate Fix

- Test the corrected guidance if possible - Ask user to verify the fix

Self-Validation

Periodically (or when triggered manually), verify that stored patterns and skill guidance are still accurate:

  1. Check that examples still work
  2. Verify checklists match current conventions
  3. Confirm external references are still valid
  4. Detect duplicated or conflicting guidance

Use the validation template in templates/validation-template.md for structured reviews.

Human-in-the-Loop Feedback

After each self-improvement cycle, present a summary to the user:

## Self-Improvement Summary

I've learned from our session and updated:

### Patterns Extracted
1. **pattern_name**: Description (confidence: X.XX)

### Skills/Documents Updated
- `skill-name`: What was updated

### Confidence Levels
- New patterns: ~0.85 (needs more validation)
- Reinforced patterns: ~0.95 (well-established)

### Your Feedback
- Were these updates helpful?
- Should I apply any pattern more broadly?
- Any corrections needed?

Integrate feedback into confidence scoring:

FeedbackAction
Positive (rating >= 7)Increase confidence, consider expanding to related skills
Neutral (rating 4-6)Keep pattern, gather more data before expanding
Negative (rating <= 3)Decrease confidence, revise or archive pattern

Best Practices

DO

  • Learn from EVERY significant task interaction
  • Extract patterns at the right abstraction level — general enough to reuse, specific enough to be actionable
  • Always present proposed changes to the user and wait for explicit confirmation before writing to skill files OR Agent memory (MEMORY.md, memory/YYYY-MM-DD.md)
  • Update multiple related skills when a pattern applies broadly
  • Track confidence and application counts for all patterns
  • Ask for user feedback on improvements
  • Use evolution/correction markers for full traceability
  • Validate guidance before applying broadly
  • Read MEMORY.md and today's memory/YYYY-MM-DD.md at the start of each self-improvement cycle for context

DON'T

  • NEVER modify skill files or Agent memory files without user confirmation — this is a hard rule with no exceptions
  • NEVER overwrite Agent memory content — always append at the end
  • Over-generalize from a single experience — wait for 2-3 occurrences before creating a pattern
  • Update skills without confidence tracking
  • Ignore negative feedback — it's the most valuable signal
  • Make changes that break existing, working functionality
  • Create contradictory patterns — resolve conflicts explicitly
  • Apply untested patterns at high confidence

Quick Start

After any significant task completes, this agent:

  1. Analyzes what happened during the task
  2. Extracts reusable patterns and insights
  3. Proposes skill updates and presents them to the user for review
  4. Waits for explicit user confirmation before applying any skill modifications
  5. Updates approved changes to skill files with evolution markers
  6. Logs to memory (semantic + episodic) for future reference
  7. Reports summary to user and collects feedback

References

For detailed memory structures, validation templates, metrics, and workflow diagrams, read references/appendix.md.

For pattern/correction/validation templates, see the templates/ directory:

  • templates/pattern-template.md — Adding new patterns
  • templates/correction-template.md — Fixing incorrect guidance
  • templates/validation-template.md — Validating skill accuracy

Research Papers

平台分布

OpenClaw

84.36%
按下载量换算5,561

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills