# Self Improving Agent

> 自动学习改进，记录错误和修正 - Auto-learn from mistakes, track errors and corrections, analyze patterns, and improve responses over time

- Skill: `chainlesschain/self-improving-agent` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add chainlesschain/self-improving-agent`
- Raw SKILL.md: https://api.skillmd.com/api/skills/chainlesschain/self-improving-agent/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- License: MIT
- Author: chainlesschain (https://skillmd.com/u/chainlesschain)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/chainlesschain/self-improving-agent

---


# Self-Improving Agent

Auto-learn from mistakes, track errors and corrections, and improve over time.

## Usage

```
/self-improving-agent record-error <error_description> fix: <correction>
/self-improving-agent analyze-patterns
/self-improving-agent suggest-improvements
/self-improving-agent show-history [--limit N]
/self-improving-agent clear-history
```

## Actions

| Action | Description |
| --- | --- |
| `record-error` | Record an error with its correction for future learning |
| `analyze-patterns` | Analyze recorded errors for recurring patterns |
| `suggest-improvements` | Generate improvement suggestions based on history |
| `show-history` | Display recorded error/correction history |
| `clear-history` | Clear all recorded history |

## Examples

- Record a bug fix: `/self-improving-agent record-error "null pointer in user service" fix: "added optional chaining"`
- View patterns: `/self-improving-agent analyze-patterns`
- Get tips: `/self-improving-agent suggest-improvements`

