Install
openclaw skills install claw-problem-diagnoser自动诊断并修复OpenClaw的配置、依赖、服务和权限问题,提升系统稳定性和运行效率。
openclaw skills install claw-problem-diagnoser基于Moltbook社区的最大需求(技术帮助:21次提及),开发这个OpenClaw问题诊断器。自动诊断和修复常见的OpenClaw配置、依赖、服务问题。
# 通过ClawdHub安装
clawdhub install claw-problem-diagnoser
# 或手动安装
mkdir -p ~/.openclaw/skills/claw-problem-diagnoser
cp -r ./* ~/.openclaw/skills/claw-problem-diagnoser/
安装后,在OpenClaw会话中:
# 运行全面诊断
claw-diagnose --full
# 诊断特定问题
claw-diagnose --category config
claw-diagnose --category dependencies
claw-diagnose --category service
# 自动修复模式
claw-diagnose --auto-fix
# 生成诊断报告
claw-diagnose --report html
在~/.openclaw/config.json中添加:
{
"problemDiagnoser": {
"autoDiagnoseOnStartup": true,
"enableAutoFix": false,
"checkInterval": 3600,
"severityThreshold": "warning",
"reportFormat": "console",
"notifyOnCritical": true,
"backupBeforeFix": true,
"excludeChecks": ["performance", "security"]
}
}
from claw_problem_diagnoser import ProblemDiagnoser
# 创建诊断器
diagnoser = ProblemDiagnoser()
# 运行全面诊断
results = diagnostor.run_full_diagnosis()
# 获取诊断报告
report = diagnostor.generate_report(results, format="json")
# 应用修复
if diagnostor.has_critical_issues(results):
fixes = diagnostor.suggest_fixes(results)
diagnostor.apply_fixes(fixes)
# 监控模式
diagnoser.start_monitoring(interval=300) # 每5分钟检查一次
# 基本诊断
claw-diagnose
# 特定类别诊断
claw-diagnose --category config,dependencies
# 自动修复
claw-diagnose --auto-fix --backup
# 生成报告
claw-diagnose --report html --output diagnosis.html
# 监控模式
claw-diagnose --monitor --interval 300
# 远程诊断
claw-diagnose --remote user@hostname
1. 问题检测 → 2. 原因分析 → 3. 影响评估 →
4. 修复建议 → 5. 实施验证 → 6. 结果报告
1. 问题识别 → 2. 备份当前状态 → 3. 应用修复 →
4. 验证修复效果 → 5. 回滚(如果需要) → 6. 生成报告
免费版
专业版 ($14.99/月)
企业版 ($149/月)
problem-diagnoser/
├── core/ # 核心诊断引擎
│ ├── config_validator/ # 配置验证
│ ├── dependency_checker/ # 依赖检查
│ ├── service_monitor/ # 服务监控
│ └── performance_analyzer/ # 性能分析
├── checks/ # 检查规则库
│ ├── openclaw_checks/ # OpenClaw特定检查
│ ├── system_checks/ # 系统级检查
│ ├── network_checks/ # 网络检查
│ └── security_checks/ # 安全检查
├── fixers/ # 修复模块
│ ├── config_fixers/ # 配置修复
│ ├── dependency_fixers/ # 依赖修复
│ └── permission_fixers/ # 权限修复
├── reporting/ # 报告系统
└── cli/ # 命令行界面
诊断速度慢
claw-diagnose --fast --exclude performance
误报处理
claw-diagnose --ignore-false-positives
权限不足
sudo claw-diagnose --skip-permission-checks
网络依赖
claw-diagnose --offline
MIT License - 免费用于个人和非商业用途 商业使用需要购买许可证
这个skill的灵感来自Moltbook社区对技术帮助的强烈需求。我们希望帮助OpenClaw用户更轻松地解决技术问题。
快速诊断,轻松修复 🔧
开发团队:Claw & 老板 版本:0.1.0 (原型) 发布日期:2026-02-11 (计划) 官网:https://clawdhub.com/skills/claw-problem-diagnoser 响应时间:24小时内响应紧急问题报告