Phoenix Loop
Skill by dalomeve
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dalomeve/phoenix-loopname: phoenix-loop description: Turn agent failures into permanent improvements. Auto-diagnose blocked tasks, extract lessons, and wire them into reusable skills. Privacy-first: all data stays local.
Phoenix Loop
Rise from failures. Complete tasks persistently.
When the agent encounters blockers, failures, or repeated friction, this skill starts a self-healing loop: Diagnose -> Extract -> Crystallize -> Verify.
Core Mechanism
1. Diagnose
# Read recent blocked items
Get-Content memory/blocked-items.md | Select-String "Blocker" -Context 3
# Extract failure patterns
Get-Content memory/tasks.md | Select-String "Status: failed" -Context 5
Diagnosis Checklist:
- Is the failure cause clearly stated?
- Were at least 2 solution paths attempted?
- Is minimum unblock input defined?
2. Extract
Extract reusable patterns from failures:
## Failure Pattern: {pattern_name}
- Trigger: {when_this_happens}
- Root Cause: {root_cause}
- Solution: {fix_steps}
- Verification: {verification_criteria}
3. Crystallize
Write the lesson to a local skill:
skills/local/{pattern_name}-recovery.md
Skill Template:
# {Pattern Name} Recovery
## Trigger
When {condition} happens
## Steps
1. {step_1}
2. {step_2}
3. {step_3}
## Verification
- [ ] {check_1}
- [ ] {check_2}
## Fallback
If failed, execute {fallback_action}
4. Verify
Next time a similar issue occurs:
- Search
skills/local/for matching skills - Execute recovery steps
- Log result to
memory/{date}.md - Update skill if needed
Privacy Security
All data stored locally:
- NO external logging of failure data
- NO API keys or tokens in skill files
- NO upload of user task content
- Only pattern names and solution steps recorded
- Skills stored in
skills/local/local directory
Sensitive Data Filter: Before writing to any memory or skill, check and remove:
apiKey,token,secret,passwordBearer,sk-,OPENCLAW_- Personal emails, phones, addresses
Executable Completion Criteria
A phoenix-loop task is complete if and only if:
| Criteria | Verification Command |
|---|---|
| Failure pattern named | Select-String "Failure Pattern" memory/blocked-items.md |
| Local skill created | Test-Path skills/local/{name}-recovery.md |
| Skill has trigger section | Select-String "## Trigger" skills/local/{name}.md |
| Skill has verification steps | Select-String "## Verification" skills/local/{name}.md |
| Memory updated | Select-String "phoenix-loop" memory/{today}.md |
| Privacy check passed | Skill file contains no `apiKey |
Usage Example
Scenario: Missing API Key Blocks Task
1. Diagnose:
Blocker: Missing Brave API key
Attempted: web_search (failed)
Unblock Input: User runs `openclaw configure --section web`
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dalomeve-phoenix-loop": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
model-route-guard
Diagnose and fix model routing conflicts. Ensure primary model uses correct provider endpoint without duplicate overrides.
Instruction Anchor Guard
Skill by dalomeve
ui-design-optimizer
Generate practical UI design systems and starter pages using local style/color/typography datasets. Use for landing page or dashboard UI planning and implementation.
Skill Governance Balanced
Skill by dalomeve
evidence-url-verifier
Verify evidence URLs are real and accessible. Check that artifact links resolve to actual content, not placeholders.