Files
openclaw-backups/skills/self-improving/setup.md

1.5 KiB

Setup — Self-Improving Agent

First-Time Setup

1. Create Memory Structure

mkdir -p ~/self-improving/{projects,domains,archive}

2. Initialize Core Files

Create ~/self-improving/memory.md:

# Memory (HOT Tier)

## Preferences

## Patterns

## Rules

Create ~/self-improving/corrections.md:

# Corrections Log

| Date | What I Got Wrong | Correct Answer | Status |
|------|-----------------|----------------|--------|

Create ~/self-improving/index.md:

# Memory Index

| File | Lines | Last Updated |
|------|-------|--------------|
| memory.md | 0 | — |
| corrections.md | 0 | — |

3. Choose Operating Mode

Add to your AGENTS.md or workspace config:

## Self-Improving Mode

Current mode: Passive

Available modes:
- Passive: Only learn from explicit corrections
- Active: Suggest patterns after 3x repetition
- Strict: Require confirmation for every entry

Verification

Run "memory stats" to confirm setup:

📊 Self-Improving Memory

🔥 HOT (always loaded):
   memory.md: 0 entries

🌡️ WARM (load on demand):
   projects/: 0 files
   domains/: 0 files

❄️ COLD (archived):
   archive/: 0 files

⚙️ Mode: Passive

Optional: Heartbeat Integration

Add to HEARTBEAT.md for automatic maintenance:

## Self-Improving Check

- [ ] Review corrections.md for patterns ready to graduate
- [ ] Check memory.md line count (should be ≤100)
- [ ] Archive patterns unused >90 days