A self-healing loop for AI agents that diagnoses task failures and converts them into permanent, reusable local skills.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install phoenix-loop
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install phoenix-loop using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Phoenix Loop is a sophisticated self-healing mechanism designed to turn agent failures into long-term operational improvements. By implementing a systematic loop of diagnosis and crystallization, this skill ensures that once an agent encounters a blocker or repeated friction, it doesn't just stop; it learns. It identifies failure patterns, extracts root causes, and generates recovery protocols that are stored locally, enhancing the resilience of your Openclaw Skills without compromising data privacy.
The core philosophy of this skill is persistent task completion. Instead of repeating the same errors, the agent utilizes a local feedback loop to rise from failures stronger than before. This privacy-first approach ensures that all learned lessons stay on your machine while providing a robust framework for handling unexpected technical hurdles.
To get started with this self-healing protocol, ensure your agent has access to the local memory directories and the ability to execute file system commands.
# Ensure the local skills directory exists
mkdir -p skills/local/
# Initialize the memory files if they do not exist
touch memory/blocked-items.md
touch memory/tasks.md
You should also configure your HEARTBEAT.md to include a daily self-check, allowing the Phoenix Loop to trigger its diagnosis phase every 24 hours.
The skill manages data across primary local directories to ensure all Openclaw Skills benefit from learned lessons while maintaining a clear metadata taxonomy.
| Path | Purpose | Format |
|---|---|---|
memory/blocked-items.md |
Active blockers and attempted solutions | Markdown |
memory/tasks.md |
Historical task data for pattern recognition | Markdown |
skills/local/*.md |
Generated recovery protocols and triggers | Markdown |
memory/{date}.md |
Daily execution logs and verification checks | Markdown |
Loading
A specialized diagnostic and repair tool designed to eliminate model routing conflicts and ensure consistent provider endpoint configurations.

A resilient self-healing skill that empowers AI agents to diagnose, retry, and learn from execution failures autonomously.

A persistence layer for AI agents that ensures critical user constraints and high-priority rules are never lost during context compaction or long sessions.

A diagnostic and repair utility to eliminate 401 Unauthorized errors by synchronizing tokens across all service layers.

A professional framework for executing robust, error-tolerant PowerShell commands on Windows systems.

A standardized approach for chaining Windows PowerShell commands reliably using try/catch logic and error handling instead of brittle bash-style operators.








































