Capability Evolver
БесплатноБез исполняемых скриптовНе проверенMeta-skill for AI agent self-improvement. Analyzes runtime logs to detect error patterns, regressions, and inefficiencies, then generates structured…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Capability Evolver
Local skill by Claw0x — runs entirely in your OpenClaw agent.
Runs locally. No external API calls, no API key required. Complete privacy.
Analyze agent runtime logs, detect patterns, compute health scores, and generate structured improvement proposals. Pure deterministic logic — no LLM, no external dependencies.
Quick Reference
| When This Happens | Use Action | What You Get |
|---|---|---|
| Agent keeps failing | analyze |
Error patterns + health score |
| Same error repeats | analyze |
Root cause identification |
| Need improvement plan | evolve |
Prioritized recommendations |
| System health check | status |
Health score + summary |
| Post-deployment review | analyze |
Regression detection |
| Fleet-wide diagnostics | analyze (batch) |
Cross-agent patterns |
Why deterministic? Reproducible results, no hallucination risk, sub-100ms processing, zero token costs.
Prerequisites
None. Just install and use.
5-Minute Quickstart
Step 1: Install (30 seconds)
openclaw skill add capability-evolver
Step 2: Analyze Your First Logs (1 minute)
const result = await agent.run('capability-evolver', {
action: 'analyze',
logs: [
{timestamp: '2025-01-15T10:00:00Z', level: 'error', message: 'ETIMEDOUT', context: 'payment-api.ts'},
{timestamp: '2025-01-15T10:01:00Z', level: 'error', message: 'ETIMEDOUT', context: 'payment-api.ts'},
{timestamp: '2025-01-15T10:02:00Z', level: 'error', message: 'ETIMEDOUT', context: 'payment-api.ts'}
]
});
Step 3: Get Actionable Insights (instant)
{
"patterns": [
{
"type": "repeated_error",
"severity": "high",
"description": "ETIMEDOUT appeared 3 times in payment-api.ts",
"affected_contexts": ["payment-api.ts"]
}
],
"health_score": 45,
"recommendations": [
"Add timeout configuration to payment-api.ts",
"Implement retry logic with exponential backoff",
"Monitor payment API response times"
]
}
Step 3: Generate Evolution Plan (instant)
const evolution = await agent.run('capability-evolver', {
action: 'evolve',
logs: result.logs,
strategy: 'harden'
});
Done. You now have a prioritized improvement roadmap, all processed locally.
Real-World Use Cases
Scenario 1: Production Incident Response
Problem: Your agent crashed in production and you need to understand why
Solution:
- Export last 1000 log entries
- Run analyze action
- Get error patterns and cascades
- Identify root cause in minutes
Example:
const logs = await db.logs.findMany({
where: { timestamp: { gte: incidentStart } },
orderBy: { timestamp: 'asc' }
});
const analysis = await agent.run('capability-evolver', {
action: 'analyze',
logs: logs.map(l => ({
timestamp: l.timestamp,
level: l.level,
message: l.message,
context: l.context
}))
});
// analysis.patterns shows: "auth-service.ts failed, then payment-api.ts failed"
// Root cause: auth service timeout cascaded to payment failures
Scenario 2: Continuous Improvement Pipeline
Problem: You want your agent to automatically improve based on production data
Solution:
- Schedule daily log analysis
- Generate evolution proposals
- Review and apply recommendations
- Track improvement over time
Example:
// Cron job: every day at 2am
async function dailyEvolution() {
const logs = await getLast24HoursLogs();
const evolution = await agent.run('capability-evolver', {
action: 'evolve',
logs,
strategy: 'balanced'
});
// Store recommendations for review
for (const rec of evolution.recommendations.filter(r => r.priority === 'critical')) {
await db.recommendations.create({
title: `${rec.category}: ${rec.description}`,
priority: rec.priority,
affected_files: rec.affected_files,
approach: rec.suggested_approach
});
}
// Track health score trend
await db.metrics.create({
date: new Date(),
health_score: evolution.estimated_improvement
});
}
// Result: Health score improved from 45 to 85 over 3 months
Scenario 3: Multi-Agent Fleet Management
Problem: Managing 50+ agent instances, need to identify systemic issues
Solution:
- Aggregate logs from all agents
- Batch analyze to find common patterns
- Fix once, deploy to all agents
- Reduce fleet-wide error rate
Example:
# Collect logs from all agents
all_logs = []
for agent_id in agent_fleet:
logs = fetch_agent_logs(agent_id, last_24h)
all_logs.extend(logs)
# Analyze fleet-wide
result = client.call("capability-evolver", {
"action": "analyze",
"logs": all_logs
})
# res
Установить Capability Evolver в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Capability Evolver?
Meta-skill for AI agent self-improvement. Analyzes runtime logs to detect error patterns, regressions, and inefficiencies, then generates structured improvement proposals. Use when the user or agent asks to analyze logs, diagnose failures, improve agent reliability, generate evolution proposals, or assess system health. Supports analyze, evolve, and status actions.
Как установить скилл Capability Evolver?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Capability Evolver запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic