Token导航 LogoToken导航

Agent Skill · 研究检索

self-improving-agent-pro(自我提升 Agent 专业版)

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

self-improving-agent-pro 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 5,548。

总安装 25,445周安装 1,093GitHub Stars 公开资料未说明下载 8,919核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install self-improving-agent-pro

这个 Skill 是做什么的

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

用于记录任务执行中的错误、用户纠正和经验缺口,支持 OpenClaw Agent 在本地持续改进。适用于需要完全本地化处理的场景,所有学习事件均在代理工作区内处理。通过轻量级机制捕捉错误模式,提升代理在编码、分析与决策中的准确性。

安装命令:openclaw skills install self-improving-agent-pro,无需联网即可完成安装。注意确认技能是否修改或读取敏感文件,建议在非生产环境先行测试。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

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

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

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

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

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

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

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

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

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

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

self-improving-agent-pro 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 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-pro

自我提升 Agent 专业版 · 本页

25,445—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
Self-Improving Agent
description
>

Self-Improving Agent

Local skill by Claw0x — Turn your agent's mistakes into systematic improvements. Every error, correction, and learning becomes a structured insight with auto-generated rules.

Runs locally in your OpenClaw agent. No external API calls, no API key required. Complete privacy — your learning data never leaves your machine.

Quick Reference

When This HappensLog AsWhat You Get
API call failserrorRetry rule with timeout adjustment
User corrects outputcorrectionFormat/style rule based on delta
Discover new patternlearningBest practice for similar tasks
Same issue repeatsBatch logSystemic fix recommendations
Command times outerrorTimeout + retry strategy
Wrong assumptionlearningUpdated knowledge rule

Why local processing? Complete privacy, zero latency, works offline, no API costs.


5-Minute Quickstart

Step 1: Install the Skill (30 seconds)

openclaw skill add self-improving-agent

Step 2: Log Your First Error (1 minute)

const result = await agent.run('self-improving-agent', {
  type: 'error',
  context: 'payment-api.ts',
  detail: 'ETIMEDOUT after 30s'
});

Step 3: Get Actionable Insight (instant)

{
  "entries": [{
    "severity": "high",
    "tags": ["network", "timeout", "payment"],
    "actionable_insight": "Error detected in payment-api.ts: ETIMEDOUT after 30s. Consider adding error handling or input validation for this scenario.",
    "suggested_rule": "WHEN operating in payment-api.ts THEN guard against: ETIMEDOUT after 30s"
  }]
}

Step 4: Apply the Rule (2 minutes)

// Add to your agent config
agent.addRule("Set 10s timeout for payment API. Retry once on ETIMEDOUT.");

Done. Your agent just learned from its mistake — all processed locally.

How It Works — Under the Hood

This skill provides a structured event processing pipeline for agent self-improvement. It runs entirely locally in your OpenClaw agent — no external API calls, no data transmission.

The Processing Pipeline

  1. Event classification — each incoming event is classified by type (error, correction, learning, pattern). If no severity is provided, it's auto-inferred based on the event type and content keywords.
  1. Auto-tagging — the skill scans the context and detail fields for known patterns and applies tags automatically. For example:

- An error mentioning "timeout" or "ETIMEDOUT" gets tagged [network], [timeout] - A correction in a .ts file gets tagged [typescript] - A learning about "retry" gets tagged [resilience]

  1. Insight generation — for each event, the skill generates an actionable_insight — a one-sentence summary of what the agent should do differently. For corrections, this compares the previous_attempt with the corrected_output to identify the delta.
  1. Rule suggestion — each event produces a suggested_rule — a concrete, implementable rule the agent could add to its system prompt or configuration. Example: "When calling external APIs, set a 10s timeout and retry once on ETIMEDOUT."
  1. Batch analysis (for multi-event submissions) — when you send an events array, the skill also produces:

- Breakdown by type and severity - Top recurring tags (indicating systemic issues) - Pattern detection across events (e.g., "3 of 5 errors are network-related") - Prioritized recommendations

Why This Matters for Agents

Traditional software logs errors and a human reads them later. Autonomous agents need to process their own failures in real time and adapt. This skill provides the structured feedback loop:

Agent runs → Error occurs → Log to self-improving-agent → Get insight + rule → Agent updates behavior

The skill is stateless by design — it doesn't accumulate history across calls. If you need persistent memory, store the returned entries in your own database and feed historical context back in future calls.

Event Types Explained

TypeWhen to UseExample
errorSomething failed unexpectedlyAPI returned 500, file not found, parse error
correctionUser or supervisor fixed agent outputAgent used tabs, user said use spaces
learningAgent discovered something new"This API requires auth header in a specific format"
patternRecurring behavior worth codifying"Users always ask for JSON output, not XML"

Prerequisites

None. This skill runs locally in your OpenClaw agent. No API key, no external dependencies, no configuration needed.

Just install and use:

openclaw skill add self-improving-agent

When to Use

  • An operation fails and the agent wants to record what went wrong
  • User corrects agent output and the agent should learn from it
  • Agent discovers a new pattern worth remembering
  • Agent pipeline needs to process a batch of improvement events

Real-World Use Cases

Scenario 1: API Integration Debugging

Problem: Your agent keeps failing when calling external APIs

Solution:

  1. Log each API error to self-improving-agent
  2. Get auto-tagged insights (network, timeout, auth, etc.)
  3. Apply suggested rules (retry logic, timeout adjustments)
  4. Reduce API failure rate by 60%

Example:

try {
  await paymentAPI.charge(amount);
} catch (error) {
  const insight = await agent.run('self-improving-agent', {
    type: 'error',
    context: 'payment-api.ts',
    detail: error.message
  });
  // Apply: "Set 10s timeout. Retry once on ETIMEDOUT."
  await agent.updateConfig(insight.entries[0].suggested_rule);
}

Scenario 2: User Correction Learning

Problem: Users frequently correct your agent's output format

Solution:

  1. Log each correction with previous_attempt and corrected_output
  2. Get suggested rules for output formatting
  3. Update agent prompt with accumulated rules
  4. Reduce correction rate from 30% to 5%

Example:

async function onUserCorrection(previous, corrected, context) {
  const result = await agent.run('self-improving-agent', {
    type: 'correction',
    context: context,
    previous_attempt: previous,
    corrected_output: corrected
  });
  // Apply rule to agent memory
  agent.memory.addRule(result.entries[0].suggested_rule);
}

Scenario 3: Pattern Detection

Problem: Your agent makes the same mistakes repeatedly

Solution:

  1. Batch-log 50 recent errors
  2. Get summary with top_tags and patterns_detected
  3. Identify systemic issues (e.g., "80% are auth-related")
  4. Fix root cause instead of symptoms

Example:

const events = recentErrors.map(e => ({
  type: 'error',
  context: e.context,
  detail: e.message
}));

const result = await agent.run('self-improving-agent', { events });
// result.summary.patterns_detected: ["auth-service.ts appeared 40 times"]
// Fix auth-service.ts once, eliminate 40 errors

Scenario 4: Multi-Agent Fleet Management

Problem: Managing learnings across 10+ agent instances

Solution:

  1. Each agent logs locally to self-improving-agent
  2. Store results in central database
  3. Aggregate insights across fleet
  4. Distribute top rules to all agents
  5. Continuous improvement at scale

Integration Recipes

OpenClaw Agent (Native)

// In your agent's error handler
agent.onError(async (error, context) => {
  const result = await agent.run('self-improving-agent', {
    type: 'error',
    context: context.file,
    detail: error.message
  });
  
  // Apply suggested rule
  if (result.entries[0].suggested_rule) {
    await agent.addRule(result.entries[0].suggested_rule);
    console.log('✓ Rule applied:', result.entries[0].suggested_rule);
  }
});

LangChain Agent

# Install via OpenClaw skill system
# Then use in your LangChain agent

def on_user_correction(previous, corrected, context):
    result = openclaw.run("self-improving-agent", {
        "type": "correction",
        "context": context,
        "detail": "User corrected output",
        "previous_attempt": previous,
        "corrected_output": corrected
    })
    
    # Store in agent memory
    agent.memory.add_rule(result["entries"][0]["suggested_rule"])
    return result["entries"][0]["actionable_insight"]

Custom Agent (Generic)

async function logLearning(type, context, detail) {
  const result = await agent.run('self-improving-agent', {
    type,
    context,
    detail
  });
  
  return result.entries[0];
}

// Use in your agent
try {
  await riskyOperation();
} catch (error) {
  const insight = await logLearning('error', 'riskyOperation', error.message);
  console.log('Insight:', insight.actionable_insight);
  console.log('Rule:', insight.suggested_rule);
  
  // Store for later review
  await db.learnings.create(insight);
}

Batch Processing

// Collect events throughout the day
const events = [];

agent.onError((error, ctx) => {
  events.push({ type: 'error', context: ctx.file, detail: error.message });
});

agent.onCorrection((prev, corrected, ctx) => {
  events.push({ 
    type: 'correction', 
    context: ctx.file, 
    detail: 'User corrected output',
    previous_attempt: prev,
    corrected_output: corrected
  });
});

// Process batch at end of day
async function dailyReview() {
  const result = await agent.run('self-improving-agent', { events });
  
  console.log('Summary:', result.summary);
  // {
  //   by_severity: { high: 12, medium: 8, low: 5 },
  //   top_tags: [{ tag: 'network', count: 15 }, { tag: 'auth', count: 10 }],
  //   patterns_detected: ["payment-api.ts appeared 8 times"],
  //   recommendations: ["Multiple high-severity events — consider systematic review"]
  // }
  
  // Apply top rules
  for (const entry of result.entries.filter(e => e.severity === 'critical')) {
    await agent.addRule(entry.suggested_rule);
  }
}

Input (Single Event)

FieldTypeRequiredDescription
typestringyes"error", "correction", "learning", or "pattern"
contextstringyesWhere it happened (file, module, function)
detailstringyesWhat happened
severitystringno"low", "medium", "high", "critical" (auto-inferred if omitted)
tagsstring[]noManual tags (auto-tags are also added)
previous_attemptstringnoWhat the agent originally produced (for corrections)
corrected_outputstringnoWhat the correct output should be (for corrections)

Input (Batch)

FieldTypeRequiredDescription
eventsarrayyesArray of event objects (same fields as single event)

Output Fields

FieldTypeDescription
entriesarrayProcessed events with id, severity, tags, actionable_insight, suggested_rule
summaryobjectBatch summary (null for single events): by_type, by_severity, top_tags, patterns_detected, recommendations

Example

Single error input:

await agent.run('self-improving-agent', {
  type: 'error',
  context: 'api-client.ts',
  detail: 'ETIMEDOUT after 30s calling payment API'
});

Output:

{
  "entries": [{
    "id": "sia_abc123",
    "type": "error",
    "severity": "high",
    "tags": ["network", "timeout", "payment"],
    "actionable_insight": "Error detected in api-client.ts: ETIMEDOUT after 30s calling payment API. Consider adding error handling or input validation for this scenario.",
    "suggested_rule": "WHEN operating in api-client.ts THEN guard against: ETIMEDOUT after 30s calling payment API"
  }]
}

Error Handling

The skill throws standard JavaScript errors for invalid input:

  • Missing required fields (type, context, detail)
  • Invalid event type (not one of: error, correction, learning, pattern)
  • Invalid field types (e.g., context must be string)

Local vs Cloud: Why Local?

FeatureCloud API (Claw0x Gateway)Local Skill (This)
Setup Time2 min (get API key)30 sec (install skill)
PrivacyData sent to cloudData stays local ✅
Offline❌ Requires internet✅ Works offline
Latency50-200ms (network)<1ms (local) ✅
CostFree (but requires account)Free (no account) ✅
Multi-AgentCentralized analyticsManual aggregation
PersistenceYou controlYou control

When to Use Local (This Skill)

  • Single-agent, local development ✅
  • Need offline capability ✅
  • Prefer complete privacy ✅
  • Want zero latency ✅
  • Don't want to manage API keys ✅

When to Use Cloud (Claw0x Gateway)

  • Multi-agent fleet management
  • Need centralized analytics across agents
  • Want cloud-based aggregation and insights
  • Building agent-as-a-service products

Note: Claw0x also offers a cloud version of this skill at claw0x.com/skills/self-improving-agent for users who need centralized analytics.


How It Fits Into Your Agent Workflow

┌─────────────────────────────────────────────────────────────┐
│                     Your AI Agent                            │
└─────────────────────────────────────────────────────────────┘
                            │
                            ├─ Task Execution
                            │
                ┌───────────┴───────────┐
                │                       │
            ✅ Success              ❌ Error/Correction
                │                       │
                │                       ├─ Log Locally
                │                       │  agent.run('self-improving-agent', ...)
                │                       │
                │                       ├─ Get Insights
                │                       │  {severity, tags, 
                │                       │   actionable_insight,
                │                       │   suggested_rule}
                │                       │
                │                       └─ Apply Rule
                │                          agent.addRule(...)
                │
                └─ Continue

Integration Points

  1. Error Handler — Catch exceptions, log locally
  2. User Feedback Loop — Capture corrections, extract delta
  3. Batch Review — End of day, process all events
  4. Rule Application — Update agent config with suggested rules
  5. Analytics Dashboard — Visualize learning trends over time

Why Use This Skill?

Complete Privacy

  • All processing happens locally — your learning data never leaves your machine
  • No external API calls, no data transmission
  • Perfect for sensitive or proprietary agent workflows

Zero Latency

  • Sub-millisecond response times — no network overhead
  • Real-time feedback for agent adaptation
  • Works in high-frequency trading, robotics, or other latency-sensitive applications

Works Offline

  • No internet required — perfect for air-gapped environments
  • Edge computing, IoT devices, embedded systems
  • Reliable even in poor network conditions

No API Costs

  • Completely free — no API key, no usage limits, no billing
  • Process millions of events without worrying about costs
  • Ideal for high-volume agent fleets

Provided by Claw0x

  • Trusted source — developed and maintained by Claw0x
  • Part of the Claw0x skills ecosystem
  • Also available as cloud API for centralized analytics

About Claw0x

Claw0x is the native skills layer for AI agents — providing both local skills (like this one) and cloud APIs for agent capabilities.

Explore more skills:

Why Claw0x?

  • One unified ecosystem for agent skills
  • Both local and cloud options
  • Security scanned (OSV.dev integration)
  • Built for OpenClaw, LangChain, and custom agents

平台分布

OpenClaw

95.03%
按下载量换算8,476

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills