A disciplined 8-step framework designed to prevent AI coding agents from falling into hallucination loops by enforcing test-driven diagnosis and root cause analysis.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install bug-fix-protocol
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 bug-fix-protocol using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Bug Fix Protocol is a rigorous technical standard for AI coding agents that prioritizes the integrity of the test system over quick fixes. Grounded in the philosophy that a production bug is fundamentally a failure of the safety net, this skill mandates that every bug fix includes both a code patch and an improvement to the testing suite. By using this methodology within the Openclaw Skills ecosystem, developers can eliminate the common fix loop where AI agents guess at solutions without understanding the underlying failure.
This protocol transforms bug fixing from a reactive task into a proactive strengthening of the entire codebase. It treats the test system as the primary line of defense, ensuring that any bug that reaches production results in a permanent upgrade to the diagnostic capabilities of the project. This makes it an essential part of any library of Openclaw Skills for professional software development.
To implement this within your environment, include the protocol markdown in your agent's knowledge base. Ensure your development environment has a functioning test runner compatible with your stack.
# Example of initializing a test suite for the protocol
npm test -- --watch
# or for Python environments
pytest
Configure your agent to strictly follow the 8-step checklist provided in the Openclaw Skills documentation before committing any code changes.
The skill organizes its output into two primary documentation formats to maintain a clear audit trail:
| Document Type | Purpose | Key Fields |
|---|---|---|
| Bug Fix Log | Documents the specific fix | Symptom, Root Cause, Solution, Test Status (Red/Green) |
| Test System Audit | Analyzes the failure of the safety net | Failure Reason, Improved Layers (Unit/E2E/Static), Action Items |
Metadata is tracked via file paths and specific test identifiers to ensure the fix is verifiable and reproducible.
Loading
A precision tool for AI agents to interpret DAO governance rules and map them to specific allowed or forbidden actions.

An advanced analytical skill for AI agents to deconstruct narratives and identify systemic manipulation or market hype.

A comprehensive skill for deploying and managing hybrid architectures featuring FastAPI backends and Flask frontend services.

The Nimo AI Glasses skill establishes a secure, private bridge between wearable smart glasses and your OpenClaw Gateway for real-time AI voice interactions.

Recall provides persistent memory for AI agents through temporal tracking, semantic search, and relationship graphing to ensure you never lose context between sessions.

A technical workflow for fine-tuning the Step3-VL-10B vision-language model using LoRA or full-parameter methods on GPU clusters.








































