From claw-lifecycle
Structured self-improvement routine for any Claw fleet bot. Use when the bot should reflect on recent interactions, identify behavior gaps, update memory/persona, or run a scheduled improvement cycle. Trigger on 'self-improve', 'reflect', 'learn from mistakes', 'improvement cycle'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claw-lifecycle:self-improveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a structured self-improvement cycle. Works for any Claw fleet bot regardless of framework (OpenClaw, Letta, Nook).
Run a structured self-improvement cycle. Works for any Claw fleet bot regardless of framework (OpenClaw, Letta, Nook).
Gather recent signal data. Adapt sources to the bot's framework:
Pattern analysis across the collected data. Ask yourself:
See references/improvement-patterns.md for reflection prompt templates.
Rank findings by impact:
Drop anything below priority 3 unless you have capacity. Never fix more than 3 things per cycle.
Write improvements to the correct storage location for this bot's framework:
| Framework | Fast learnings | Persistent patterns | Persona changes |
|---|---|---|---|
| OpenClaw | .learnings/LEARNINGS.md | memory/patterns.md or MEMORY.md | SOUL.md, AGENTS.md, IDENTITY.md |
| Letta | Core memory block learnings | Archival memory search + insert | Core memory block persona |
| Nook | patterns.md in workspace | patterns.md (same file, append) | persona.md in workspace |
Each entry must include:
Anti-drift checks before committing any change. Every improvement must pass ALL of these:
If any check fails, discard the improvement and log why it was rejected.
| Cycle | Frequency | Scope | Duration |
|---|---|---|---|
| Lightweight | Daily (or every 5 conversations) | Last 5 conversations, error log scan | 2-5 minutes |
| Deep | Weekly | All conversations since last deep cycle, pattern aggregation | 10-20 minutes |
| Persona review | Monthly | Full persona + rules audit against accumulated learnings | 30 minutes |
For cron-triggered cycles, run silently. Only report to the user if a significant change was made.
npx claudepluginhub thamam/clawhub-marketplace --plugin claw-lifecycleLearns user preferences from corrections (3+), steering patterns, periodic checkpoints, and explicit triggers to adapt Claude's behavior across sessions.
Detects learning opportunities from user corrections, repeated instructions, tool failures, and tone escalation. Extracts improvement candidates and applies them to Claude's configuration after user approval via `/coach` commands.
Performs structured self-healing assessment across AI subsystems to identify drift, staleness, and misalignment, then rebalances through grounding and memory integration. Use mid-session when responses feel formulaic, after error chains, or as proactive maintenance.