evolver
Meta-skill that allows OpenClaw agents to inspect their own runtime history, identify failures or inefficiencies, and autonomously write new code or update their own memory to improve performance. Use when an agent needs to self-improve, audit past performance, optimize workflows, or adapt to new patterns without human intervention.
- License 许可
- MIT
- 最近更新
- 2026-04-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- evolver
- description
- Meta-skill that allows OpenClaw agents to inspect their own runtime history, identify failures or inefficiencies, and autonomously write new code or update their own memory to improve performance. Use when an agent needs to self-improve, audit past performance, optimize workflows, or adapt to new patterns without human intervention.
03 SKILL.md 正文
Evolver — Autonomous Agent Self-Improvement
What It Is
The Evolver is a meta-skill that enables OpenClaw agents to:
- Self-audit — Review their own execution history and decision logs
- Identify patterns — Detect recurring failures, inefficiencies, or bottlenecks
- Autonomous improvement — Write new code, update skills, or modify memory
- Adaptive learning — Evolve behavior based on performance metrics
When to Use
This skill activates automatically when:
- An agent completes a complex task and should reflect on its performance
- Multiple similar failures occur in sequence
- Performance metrics indicate suboptimal workflows
- New patterns emerge that could be codified into skills
How It Works
Phase 1: Audit
1. Scan recent session history
2. Extract decision points and outcomes
3. Calculate success/failure ratios
4. Identify high-cost or slow operations
Phase 2: Analysis
1. Cluster similar failure modes
2. Trace root causes through decision chains
3. Compare against known best practices
4. Generate improvement hypotheses
Phase 3: Implementation
1. Write new helper functions or scripts
2. Update SKILL.md files with learned patterns
3. Modify memory/ preferences based on outcomes
4. Create automated checks to prevent recurrence
Phase 4: Validation
1. Test changes in isolated environment
2. Monitor performance metrics
3. Roll back if degradation detected
4. Document learnings for future reference
Examples
Example 1: Optimizing File Operations
Before: Agent reads entire 10MB file for each search query
After: Evolver creates indexed lookup and caches frequent queries
Result: 90% reduction in file I/O operations
Example 2: Fixing Recurring API Errors
Before: Agent retries failed API calls 5 times with fixed delays
After: Evolver implements exponential backoff + circuit breaker
Result: 75% reduction in timeout-related failures
Example 3: Learning User Preferences
Before: Agent asks for confirmation on every file write
After: Evolver detects user always approves .md edits, rarely approves .exe
Result: Auto-approve .md edits, still ask for .exe
Safety Constraints
The Evolver operates within strict boundaries:
- No external changes — Cannot modify systems outside OpenClaw workspace
- Human oversight — Major changes require approval (configurable)
- Rollback capability — All changes are versioned and reversible
- Transparency — Every evolution is logged with reasoning
Configuration
# In ~/.openclaw/workspace/evolver-config.yaml
evolver:
enabled: true
audit_frequency: "after_major_tasks" # or: hourly, daily, on_failure
auto_apply_minor: true # Auto-apply low-risk changes
require_approval_for:
- new_skills
- memory_updates
- external_tool_changes
performance_metrics:
- execution_time
- success_rate
- user_satisfaction
- token_efficiency
Integration with Other Skills
- ClawTeam — Evolver can optimize multi-agent coordination patterns
- Healthcheck — Evolver can improve security and performance audits
- Coding Agent — Evolver can refine code generation templates
- Memory System — Evolver can enhance memory retention and recall
Quick Start
To manually trigger an evolution audit:
# Check if Evolver skill is loaded
openclaw skills list | grep evolver
# View evolution logs
cat ~/.openclaw/workspace/memory/evolver-log.md
# Force an audit of the last 24 hours
echo "Run Evolver audit on last 24 hours of activity" | openclaw
Development
The Evolver skill itself can evolve. To contribute improvements:
- Fork the OpenClaw skills repository
- Modify
skills/autogame-17/evolver/SKILL.md - Submit a pull request
"The most intelligent systems are those that can improve themselves."
04 同仓库更多 Skills
webapp-testing
To test local web applications, write native Python Playwright scripts.
python-packaging
Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.
canvas-design
These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.
webapp-testing
To test local web applications, write native Python Playwright scripts.
slack-gif-creator
A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.
frontend-design
You are a frontend designer-engineer, not a layout generator.