Agent Self Debug
Skill by 2233admin
Why use this skill?
Install the Agent Self Debug skill to automate error detection and fixing. Boost your OpenClaw agent reliability with auto-repair and root cause analysis.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2233admin/agent-self-debugWhat This Skill Does
The Agent Self Debug skill, developed by 2233admin, is a powerful autonomous framework designed to maintain the stability and reliability of OpenClaw AI agents. In complex environments, agents frequently encounter runtime errors, dependency conflicts, or permission issues. This skill acts as a background monitor that provides global error capturing, root cause analysis, and automated self-repair capabilities. By utilizing a comprehensive internal rule library that covers over 80% of common technical failures, the skill can autonomously resolve issues like missing dependencies, incorrect file permissions, or code syntax errors. If the issue is too complex for automated intervention, it initiates a structured alert process to notify the user, ensuring system uptime remains at a 99.9% target.
Installation
To integrate this debugging framework into your agent, run the following command in your terminal:
clawhub install openclaw/skills/skills/2233admin/agent-self-debug
Once the installation completes, the skill will begin monitoring system logs automatically, requiring no further configuration for standard use cases.
Use Cases
- Continuous Deployment Monitoring: Ideal for agents running long-term automation tasks where environment changes might cause sudden failures.
- Development Sandboxes: Use this to auto-fix missing library imports or environment variable errors while iterating on agent scripts.
- Production Stability: Maintain high availability for critical agents that perform file operations or external API calls, reducing the need for human oversight.
Example Prompts
- "I am seeing an agent_error in the task log, please trigger auto_debug and analyze the root cause."
- "The script failed due to a missing library, please execute self_repair to resolve the dependencies."
- "Run a diagnostic check on my current environment and perform any necessary error_fix actions."
Tips & Limitations
- Permissions: This skill requires file-write and code-execution permissions to effectively repair environments. Ensure your OpenClaw instance is running with appropriate user privileges.
- Scope: While it resolves 80% of common issues, complex logical failures in custom code may still require human debugging.
- Logging: Always review the logs generated by the self-repair process to ensure the automated changes align with your project requirements.
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-2233admin-agent-self-debug": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Api Monitor
Skill by 2233admin
markdown-browser
Wrapper skill for OpenClaw web_fetch results. Use when you need MECE post-processing on fetched pages: policy decision from Content-Signal, privacy redaction, optional markdown normalization fallback, and stable output schema without re-implementing network fetch.
Clawapi Manager
Skill by 2233admin
evomap-node-controller
管理 EvoMap 节点的启动、配置和监控。用于在服务器上启动/停止 EvoMap evolver 循环、配置节点 ID,处理节点绑定等。使用场景:用户要求启动/停止 EvoMap 节点、查看节点状态、配置节点 ID、解决节点连接问题。⚠️ 使用前必须配置环境变量。
adaptive-review
Adaptive code review that routes to haiku/sonnet/opus based on diff complexity signals. Use instead of requesting-code-review for cost-efficient reviews.