ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

error-monitor-fix

错误监控 - 扫描 JSON 日志、捕获 ERROR 级别错误、OpenClaw 系统级错误修复建议

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/amd5/error-monitor-fix
Or

Error Monitor Fix — 错误监控技能

版本: 2.3.0 (所有修复策略改为提示手动,不再执行文件系统修改)
创建日期: 2026-03-23
更新日期: 2026-04-14


📋 功能

实时监控 OpenClaw 运行日志中的 error 类型错误,自动追加到 error.md,并尝试自动修复。


📂 文件结构

skills/error-monitor-fix/
├── SKILL.md
├── skill.json
├── _meta.json               # ClawHub 元数据
└── scripts/
    ├── monitor-error.js     # 错误监控(JSON 日志解析 + 去重)
    └── auto-fix.js          # 自动修复(5 种策略)

🔧 修复策略

策略匹配条件动作
Gateway 重启(提示手动)gateway/ws/连接错误⚠️ 提示用户手动重启
端口释放(只读检查)EADDRINUSE检查 node 监听端口
会话清理(只读检查)INVALID_REQUESTdry-run 检查

缓存清理、权限修复属于 dev/test/rule 子代理操作范畴,不属于本技能。


📊 Cron 任务

任务名频率Job ID
错误监控修复每 5 分钟176ecc83

⚠️ 注意事项

  • 去重窗口:1 小时(避免同一错误重复报告)
  • 日志格式:JSON 行格式
  • 输出:追加到 memory/error.md

Metadata

Author@amd5
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-amd5-error-monitor-fix": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.