yishu5/self-improving-agent
> Low-noise self-improvement skill. Captures learnings, errors, and corrections into a local `.learnings/` cache layer. Never auto-promotes to long-term memory files (SOUL.md, MEMORY.md, AGENTS.md, TOOLS.md). Promotion requires explicit user approval after repeated validation.
npx skills add https://github.com/YiShu5/claude-skills --skill self-improving-agent
A conservative self-improvement system that treats .learnings/ as a write-first
cache layer. Nothing reaches the main system files without human review.
| Action | Target | Auto? |
|--------|--------|-------|
| Log a learning | .learnings/LEARNINGS.md | Yes |
| Log an error | .learnings/ERRORS.md | Yes |
| Log a feature gap | .learnings/FEATURE_REQUESTS.md | Yes |
| Promote to MEMORY.md | Requires user approval | No |
| Promote to SOUL.md | Requires user approval + review | No |
| Promote to AGENTS.md | Requires user approval | No |
| Promote to TOOLS.md | Requires user approval | No |
.learnings/. No exceptions.## [YYYY-MM-DD] Category: brief title
- **Type**: correction | knowledge_gap | best_practice
- **Context**: What was happening
- **Learning**: What was learned
- **Confidence**: low | medium | high
- **Promote?**: no (default) | candidate | promoted
## [YYYY-MM-DD] brief description
- **Command/Tool**: What failed
- **Error**: The error message or symptom
- **Root Cause**: What actually went wrong
- **Resolution**: How it was fixed
- **Recurrence**: first | repeated
## [YYYY-MM-DD] brief description
- **Gap**: What capability is missing
- **User Need**: Why it matters
- **Priority**: low | medium | high
A cached item may be promoted to a system file only when ALL of these are true:
| Content Type | Target File | Extra Requirement |
|---|---|---|
| User preference / long-term decision | MEMORY.md | Stable across sessions |
| Identity / behavior guideline | SOUL.md | Human review mandatory |
| Agent capability / role definition | AGENTS.md | Verified in practice |
| Tool usage pattern / integration | TOOLS.md | Tested and confirmed |
Promote?: promoted.learnings/ periodically. Prune stale entries.See references/openclaw-integration.md for how this skill fits into the
OpenClaw workspace architecture.
┌─────────────────────────────────────┐
│ Main System Layer (protected) │
│ SOUL.md · MEMORY.md · AGENTS.md │
│ TOOLS.md │
│ ← promotion requires approval → │
├─────────────────────────────────────┤
│ Cache Layer (free-write) │
│ .learnings/LEARNINGS.md │
│ .learnings/ERRORS.md │
│ .learnings/FEATURE_REQUESTS.md │
└─────────────────────────────────────┘
Take yishu5/self-improving-agent from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.