Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

auto-evolution

/auto-evolution

Organizuje pętle przeglądu, wykonania i audytu przez cztery role agentów oraz dwie bramki jakości, z automatycznym pakowaniem wyników.

Repozytorium
SkillCamo ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
04.11.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
10
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/heartbeat-coordinator.js, scripts/monitor.js, scripts/pack-skill.js

Co robi i kiedy

Organizuje pętle przeglądu, wykonania i audytu przez cztery role agentów oraz dwie bramki jakości, z automatycznym pakowaniem wyników.

Oryginalny opis (EN)

Multi-agent auto-evolution system — orchestrate review-execute-audit loops with 4 roles (Coordinator, Reviewer, Executor, Auditor). A single coordinator agent drives the loop by spawning sub-agents for review, execution, and audit. Break goals into subtasks, auto-iterate with dual quality gates, and auto-package results. Use when: user wants autonomous task execution with built-in quality assurance.

Jak działa

  1. Description
  2. Core Modules
  3. Setup
  4. How It Works
  5. Task File Format
  6. CLI Usage
  7. Design Philosophy
Sekcje z nagłówków SKILL.md, w oryginale · 187 linii, 694 słów
Podgląd SKILL.md
---
name: auto-evolution
description: "Multi-agent auto-evolution system — orchestrate review-execute-audit loops with 4 roles (Coordinator, Reviewer, Executor, Auditor). A single coordinator agent drives the loop by spawning sub-agents for review, execution, and audit. Break goals into subtasks, auto-iterate with dual quality gates, and auto-package results. Use when: user wants autonomous task execution with built-in quality assurance."
---

# auto-evolution

**Category:** Agent Orchestration / Meta-Skill
**Version:** 0.6.0

---

## Description

**Multi-agent auto-evolution system** — a coordinator agent drives an autonomous review → execute → audit loop by spawning specialized sub-agents for each role.

This is a **meta-skill**: it doesn't handle business logic. It orchestrates the loop so complex tasks get completed autonomously with dual quality gates (pre-execution review + post-execution audit).

### Architecture (4 Roles)

| Role | Responsibility | When Spawned | Recommended Model |
|------|---------------|--------------|-------------------|
| **Coordinator** | Drives the loop, updates task state, spawns sub-agents | Always (heartbeat/cron) | Any (cost-efficient) |
| **Reviewer** | Pre-execution review, generates detailed instructions | Before each subtask | Strong (Sonnet/GPT-4o) |
| **Executor** | Implements one subtask, runs verification | After review approves | Cost-effective (Qwen/Haiku) |
| **Auditor** | Post-execution audit, decides pass/retry | After execution completes | Strong (Sonnet/GPT-4o) |

**Why 4 roles?**
- Reviewer and Auditor are **both quality gates** but serve different purposes
- Reviewer ensures the plan is sound before work starts
- Auditor verifies the result matches the plan after work completes
- Executor is pure labor — follows instructions, no judgment needed

**Cost control:** Only Reviewer and Auditor need strong models. Coordinator and Executor can use cheap models.

---

## Core Modules

| File | Purpose |
|------|---------|
| `scripts/heartbeat-coordinator.js` | Coordinator: scan tasks → spawn Reviewer/Executor/Auditor |
| `scripts/monitor.js` | Monitor: detect stuck tasks, clean orphaned locks |
| `scripts/pack-skill.js` | Package completed tasks → skill directories |
| `config/task-schema.json` | Task file JSON Schema |

---

## Setup

### 1. Initialize workspace

```bash
mkdir -p evolution/tasks evolution/archive evolution/test-results
```

### 2. Create a task

```bash
cp skills/auto-evolution/references/task-example.json evolution/tasks/task-001.json
# Edit with your goal and subtasks
```

### 3. Configure the coordinator

**Option A: Heartbeat** (recommended — in your agent's HEARTBEAT.md)

```markdown
## Evolution Loop
1. Run `node skills/auto-evolution/scripts/heartbeat-coordinator.js`
2. Parse output: if phase=review → spawn Reviewer sub-agent
3. Apply review → if phase=execute → spawn Executor sub-agent
4. Apply execution → if phase=audit → spawn Auditor sub-agent
5. Apply audit → done for this tick
```

**Option B: Cron**

```bash
openclaw cron add --agent <your-agent> \
  --name "evolution-coordinator" \
  --every 5m \
  --session isolated \
  --timeout-seconds 300 \
  --message "Evolution heartbeat: scan and process tasks."
```

### 4. (Optional) Configure the monitor

```bash
openclaw cron add --agent <any-agent> \
  --name "evolution-monitor" \
  --every 10m \
  --session isolated \
  --timeout-seconds 120 \
  --message "Run: node skills/auto-evolution/scripts/monitor.js"
```

### 5. Environment variables (optional)

```bash
export OPENCLAW_WORKSPACE=/path/to/workspace
export EVOLUTION_TASKS_DIR=/path/to/tasks
```

---

## How It Works

### Full Loop

```
Coordinator heartbeat
  → finds task (priority: reviewed > executing > pending)
  → if pending: spawn Reviewer → reviewed
  → if reviewed: spawn Executor → executing
  → if executing: spawn Auditor → pending (next) or completed ✅
```

### State Machine

```
pending → reviewed → executing → pending (next subtask)
                         → completed (all done)
                         → packaged ✅
```

### Key Rules

- **One subtask per iteration** — keeps cycles fast and reviewable
- **Dual quality gates** — Reviewer (before) + Auditor (after)
- **Only mark `completed` when all subtasks done**
- If Reviewer/Auditor API fails → wait and retry next heartbeat
- Monitor auto-resets tasks stuck > 10 minutes

---

## Task File Format

See `references/task-example.json` for a complete example.

Required fields:
```json
{
  "task_id": "task-001",
  "status": "pending",
  "goal": "What to build",
  "current_iteration": 0,
  "max_iterations": 10,
  "context": {
    "subtasks": ["Step 1", "Step 2", "Step 3"]
  },
  "history": []
}
```

---

## CLI Usage

```bash
# Scan and output next phase prompt
node scripts/heartbeat-coordinator.js

# Apply review result
node scripts/heartbeat-coordinator.js apply-review task-001.json review.txt

# Apply execution result
node scripts/heartbeat-coordinator.js apply-exec task-001.json exec.txt

# Apply audit result
node scripts/heartbeat-coordinator.js apply-audit task-001.json audit.txt

# Run monitor
node scripts/monitor.js

# Package completed tasks
node scripts/pack-skill.js
```

---

## Design Philosophy

- **4-role architecture** — Coordinator drives, Reviewer/Executor/Auditor specialize
- **Dual quality gates** — Review before, audit after — never skip either
- **Model-agnostic** — swap any model for any role
- **One subtask per tick** — predictable, reviewable, won't timeout
- **Self-healing** — monitor detects and fixes stuck states
- **Cost-efficient** — strong models only where judgment matters (Reviewer, Auditor)
Pliki w paczce (10)
  • README.md 6 KB
  • SKILL.md 6 KB
  • _meta.json 1 KB
  • clawhub.yaml 1 KB
  • package.json 1 KB
  • config/task-schema.json 1 KB
  • references/task-example.json 1 KB
  • scripts/heartbeat-coordinator.js 14 KB
  • scripts/monitor.js 3 KB
  • scripts/pack-skill.js 3 KB

Wersje

W bazie nie ma innych skilli o nazwie auto-evolution.

Migawka bazy z 13.11.2026 · wersja paczki e82d0a1dfe50 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 86coordinator
    Koordynuje pracę obejmującą co najmniej dwie domeny agentów, np. gdy zadanie łączy kilka obszarów.
  • 100orchestrate
    Wykonuje plan przez uruchamianie agentów w sesjach tmux, epik po epiku z bramkami przeglądu, i przygotowuje raporty scalania.
  • 100orchestrate
    Wykonuje plan przez uruchamianie agentów w sesjach tmux, epik po epiku z bramkami przeglądu, i przygotowuje raporty scalania.
  • 100evolution-loop
    Zamienia zweryfikowane sygnały po zakończeniu zadań, powtarzających się porażkach lub uwagach użytkownika w audytowalne, ograniczone propozycje ulepszeń agentów, skilli, pamięci i dokumentacji.
  • 100nexau-evolution-guide
    Opisuje komponenty NexAU, schemat YAML i sposób dodawania narzędzi, middleware, podagentów i umiejętności do agenta.
  • 96generate-agentic-loop
    Projektuje lub wdraża ograniczone pętle wykonania agentów z weryfikacją, limitami zasobów i odzyskiwalnym stanem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.