Skip to content
Back to skills

Xiaobai Self Improve

ASecurity

Self-Improvement Engine - AI Agent that learns from mistakes and continuously improves. No more repeating the same errors.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspythongo

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add Lord1Egypt/awesome-skill-forge --skill xiaobai-self-improve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xiaobai Self Improve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xiaobai Self Improve
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/lord1egypt-xiaobai-self-improve/badge)](https://www.skillsdirectory.com/skills/lord1egypt-xiaobai-self-improve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: self-improve
version: 1.0.0
description: Self-Improvement Engine - AI Agent that learns from mistakes and continuously improves. No more repeating the same errors.
emoji: πŸ”„
tags: [self-improvement, learning, reliability, productivity, ai-agent]
---

# Self-Improvement Engine πŸ”„

AI Agent that learns from mistakes and continuously improves. No more repeating the same errors.

## The Problem

AI Agents make the same mistakes repeatedly:
- Forgot to verify before saying "done"
- Made incorrect time calculations
- Promised tasks but didn't execute
- Gave vague responses instead of concrete action

Each session starts fresh, learning nothing from past failures.

## The Solution

### Mistake Log

Track every mistake in `memory/mistakes.json`:

```json
{
  "mistakes": [
    {
      "date": "2026-04-21",
      "type": "fake_completion",
      "description": "Said 'cron task created' but only wrote to file",
      "impact": "User didn't receive scheduled messages",
      "lesson": "Always verify task exists via cron list before claiming done",
      "rule": "MUST run verification command after any creation action"
    },
    {
      "date": "2026-04-21",
      "type": "time_calculation",
      "description": "Said '1 minute later' when it was actually 1 hour",
      "impact": "User got wrong expectation",
      "lesson": "Never calculate time mentally - always use tools",
      "rule": "Use session_status or date command for time, never mental math"
    }
  ]
}
```

### Improvement Rules

Based on mistakes, auto-generate rules in `WORK_RULES.md`:

```markdown
## Learned Rules (from mistakes)

1. After creating any cron task β†’ MUST run `openclaw cron list` to verify
2. Time calculations β†’ MUST use `session_status` or Python, never mental
3. Multi-step task β†’ MUST checkpoint after each step
4. Tool error β†’ MUST report immediately, don't silently retry
```

### Self-Audit Protocol

Every heartbeat or session start:

```
1. Read mistakes.json
2. Read WORK_RULES.md
3. Check: Am I about to violate any learned rule?
4. If yes β†’ adjust behavior
5. If I make a mistake β†’ log it immediately
```

### Mistake Categories

| Type | Description | Prevention |
|------|-------------|------------|
| `fake_completion` | Said done but didn't do | EVR: Execute-Verify-Report |
| `time_calculation` | Wrong time math | Use tools, never mental |
| `silent_failure` | Tool failed, didn't tell user | Report immediately |
| `vague_promise` | "I'll do it" without action | Execute first, then report |
| `forget_context` | Lost important info | Use memory tools |
| `wrong_assumption` | Guessed instead of checking | Verify before claiming |

### Usage Examples

#### When you make a mistake:
```
User: "You said 1 minute but it's actually 1 hour"

I acknowledge this mistake. Let me log it:
- Type: time_calculation
- Lesson: Always use tools for time, never mental math
- New rule added to WORK_RULES.md

I will not make this mistake again.
```

#### When starting a task:
```
I need to create a cron task.
Checking WORK_RULES.md:
- Rule #1: After creating cron task β†’ MUST verify with cron list

[Creates task]
[Runs openclaw cron list]
[Confirms task exists]
Task verified and confirmed. βœ…
```

#### When user corrects you:
```
User: "You should have checked before saying it was done"

Logging mistake:
- Type: fake_completion
- Lesson: Verify before claiming done
- This becomes a permanent rule in WORK_RULES.md

This mistake is now in my permanent memory and won't happen again.
```

## Integration with Other Skills

- **EVR** - Self-improve reinforces Execute-Verify-Report
- **Memory Guard** - Mistakes persist across sessions
- **Daily Reflection** - Review mistakes at day end
- **Error Recovery** - Log errors that led to mistakes

## Key Principle

**Every mistake is a learning opportunity.** Log it, learn from it, never repeat it.

## License

MIT

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.