self-evalutaed-agent

# Self-Improving Agent

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "self-evalutaed-agent" with this command: npx skills add mopga/self-evalutaed-agent

Self-Improving Agent

Description

Self-improving agent system that learns from its own errors. Automatically detects issues, researches solutions, and implements improvements.

Based on production-ready patterns: Reflection, PEV (Plan-Execute-Verify), and Meta-Controller architectures.

Features

  • Auto-Trigger: Automatically runs when new errors are detected
  • Topic Selection: Analyzes error patterns and selects high-priority topics
  • Impact Measurement: Records before/after metrics to measure improvement effectiveness
  • Procedural Memory: Remembers working commands/scripts between sessions

What It Does

  1. Error Detection: Monitors cron jobs, circuit breakers, and error logs
  2. Topic Selection: Chooses research topics based on error impact
  3. Research: Generates research files with improvement recommendations
  4. Backlog: Creates high-impact tasks in backlog
  5. Execution: Backlog Agent PM executes tasks sorted by impact
  6. Measurement: Records before/after to measure effectiveness
  7. Learning: Remembers what worked for future reference

Architecture

Errors → Auto-Trigger → Topic Selector → Research → Backlog → Agent PM
                                              ↓                    ↓
                                      Impact Measurement ← Procedural Memory

Usage

Run Full Cycle

python3 skills/self-improving-agent/scripts/self_improvement_cycle.py

Check Errors Only

python3 skills/self-improving-agent/scripts/topic_selector.py

Record Impact

python3 skills/self-improving-agent/scripts/impact_measurement.py \
  --record \
  --task "Fix cron timeout" \
  --before '{"error_count": 5}' \
  --after '{"error_count": 0}'

Search Procedural Memory

python3 skills/self-improving-agent/scripts/procedural_memory.py --search "backup"

Cron Integration

Add to your cron jobs:

{
  "name": "Self-Improvement",
  "schedule": "0 10 * * *",
  "command": "python3 skills/self-improving-agent/scripts/self_improvement_cycle.py"
}

Requirements

  • Python 3.10+
  • OpenClaw workspace at /root/.openclaw/workspace
  • Write access to memory/ directory

Files

  • scripts/auto_trigger.py - Auto-triggers on new errors
  • scripts/impact_measurement.py - Measures improvement impact
  • scripts/procedural_memory.py - Stores working procedures
  • scripts/self_improvement_cycle.py - Main orchestrator
  • scripts/topic_selector.py - Selects topics by priority

Created By

  • Based on production patterns: Reflection, PEV, Meta-Controller
  • Tested in production environment
  • Ready for ClawHub publication

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

Autoresearch Agent

Autonomous experiment loop that optimizes any file by a measurable metric. Inspired by Karpathy's autoresearch. The agent edits a target file, runs a fixed e...

Registry SourceRecently Updated
Research

Strategic Paper Trader on Polymarket

Trade Polymarket prediction markets with AI — powered by PredictScope. Paper money with any initial amount, multiple custom strategies, controlled safe tradi...

Registry SourceRecently Updated
Research

server-log-analysis-en

Connect to remote servers over SSH, read sibling config.yaml to understand service metadata and log locations, download only required log snippets to local t...

Registry SourceRecently Updated
Research

server-log-analysis

通过 SSH 连接远程服务器,读取同级 config.yaml 理解服务信息与日志位置,按需下载相关日志片段到本地 temp 目录,并分析日志定位问题。适用于用户要求排查远程服务日志、分析服务端异常或基于 SSH 访问进行日志诊断的场景。

Registry SourceRecently Updated