
Self Improving Agent
This logs every failure, user correction, and capability gap to help Claude learn from mistakes across sessions. When a bash command times out, you say "actually, try it this way," or you ask for something it can't do, it writes structured logs that get reviewed at session start. The hook system catches corrections like "No, that's wrong" and integrates with QAVR to boost memory rankings for successful patterns. It's basically a feedback loop that persists beyond individual conversations. The capability tracker is especially useful because it shows you what features users keep requesting that don't exist yet. Fair warning, you'll need to maintain these log files or they'll grow indefinitely.
- skills.sh installs
- 212
- last updated
- Aug 21, 2026
Install
$ npx -y skills add kimasplund/clawdbot-skills-pack --skill self-improving-agent --agent claude-codeInstalls into .claude/skills of the current project.
Files
Self-Improving Agent
Captures learnings, errors, and corrections to enable continuous improvement across sessions.
Activation Triggers
This skill automatically activates when:
| Trigger | What Gets Logged | Location |
|---|---|---|
| Command fails | Error type, context, recovery suggestion | logs/failures_detailed.jsonl |
| User corrects | "No, that's wrong...", "Actually..." | logs/corrections.jsonl |
| Missing capability | "Can you X?" where X isn't available | logs/missing_capabilities.jsonl |
| API/tool fails | Failure pattern, suggested fix | logs/failures_detailed.jsonl |
| Better approach found | Optimization learned | logs/learnings.jsonl |
How It Works
1. Automatic Logging (via hooks)
PostToolUse → enhanced-failure-logger.js → logs failures with context
UserMessage → correction-detector.js → detects "wrong/actually/try again"
Response → capability-tracker.js → detects unfulfilled requests
Sponsors
Details
- Repository
- github.com/kimasplund/clawdbot-skills-pack
- Categories
- AI & Agent Building, Marketing & SEO
- First seen
- Jun 3, 2026