A systematic debugging framework designed to identify and resolve AI agent failures, infinite loops, and resource bottlenecks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-debugger
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 agent-debugger using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Debugger is a specialized toolset within the Openclaw Skills library built to handle the unique challenges of AI agent development. It provides a structured approach to diagnosing common autonomous agent issues such as context overflow, rate limiting, and permission errors. By implementing these debugging protocols, developers can ensure their agents remain reliable, efficient, and capable of recovering from unexpected tool failures or logic loops.
This skill serves as an essential companion for anyone building complex agentic workflows, offering both diagnostic patterns and concrete code snippets for remediation. Whether you are dealing with a stuck reasoning chain or fragmented memory, Agent Debugger provides the technical guardrails needed to stabilize agent performance and optimize token consumption.
To begin using the debugging protocols provided by this skill, ensure your workspace is correctly configured for Openclaw Skills development:
# Verify your workspace structure
ls -la ~/.openclaw/workspace/
# Ensure memory files are present
touch ~/.openclaw/workspace/MEMORY.md
Configure your agent with verbose thinking to expose internal reasoning during the debug phase:
{
"thinking": "verbose",
"reasoning": "on"
}
The Agent Debugger utilizes a structured approach to categorize and track agent errors. Below is the primary error mapping used by the skill:
| Error Code | Primary Cause | Remediation Strategy |
|---|---|---|
context_length_exceeded |
Excessive history/file data | Summarization & Truncation |
rate_limit_exceeded |
API frequency limits | Backoff & Queuing |
tool_not_found |
Registry mismatch | Installation & Path Check |
permission_denied |
Sandbox restrictions | Policy Adjustment |
invalid_parameters |
Schema violation | Input Validation |
Loading
A comprehensive toolkit for automating repetitive work through scripts, scheduled jobs, and complex multi-step workflows.

An end-to-end automated pipeline for protein discovery that transitions from literature surveys to structural analysis and experimental prioritization.

A streamlined tool to monitor Baidu's real-time trending searches, rankings, and popularity indices directly from your AI agent workflow.

A specialized AI assistant for Optimacros developers focusing on complex formulas, model architecture, and enterprise-grade access security.

A high-performance real-time WebSocket feed providing 1-second OHLC ticks and USD pricing for thousands of tokens across eight major blockchain networks.

A comprehensive search aggregation skill supporting 17 global and domestic engines with advanced filtering and zero API key requirements.








































