Install
openclaw skills install system-inspection大龙系统巡检 SOP — 低打扰式定期检查 OpenClaw 运行时状态、Gateway、Channel、Tasks 与错误日志。只整理值得行动的问题,格式输出「结论 / 原因 / 建议」。由「大龙-系统巡检」cron 任务触发。
openclaw skills install system-inspectiontags:
大龙-系统巡检 cron 任务(建议每 6–12 小时执行一次)openclaw status
重点看:
127.0.0.1 本地 / 0.0.0.0 暴露)对每个已配置的 Channel 做探测:
openclaw gateway logs --lines 50 2>&1 | grep -iE "error|warn|fail|400|500|9999"
重点关注:
openclaw cron list
检查:
openclaw status --deep
核对:
| 异常类型 | 判断条件 | 严重程度 |
|---|---|---|
| Gateway 不在 Running | openclaw status 非 running | 🔴 高 |
| Feishu API 权限错误 | 日志出现 99991672 或 contact.* 400 | 🔴 高 |
| Cron 任务失败 | cron runs 显示 error exit | 🟡 中 |
| 配置漂移 | 实际配置与预期不符 | 🟡 中 |
| 磁盘 / 内存紧张 | 经验判断(日志写入慢、内存占用异常) | 🟡 中 |
| 轻微 warn | 不影响功能 | 🟢 低(可忽略) |
contact:contact.* scopeopenclaw gateway restartopenclaw gateway logsopenclaw cron runs <job-id> 看最近一次执行详情每个巡检项输出结论,格式:
[项] 结论 / 原因(如果有)/ 建议(如果有)
如果所有项均正常或无值得打扰的事项,输出 NO_REPLY(不发消息,低打扰)。
每次巡检任务完成后,必须写两处:
~/agents/dalong/workspace/memory.md:
## YYYY-MM-DD 巡检结论
- 关键状态:...
- 发现的问题:...
- 下次需关注:...
memory/YYYY-MM-DD.md:
## 大龙巡检 YYYY-MM-DD
- 关键状态:...
- 发现的问题:...
- 下次需关注:...
两处都必须写。自己的 memory.md 积累大龙自己的经验;主控的 memory/ 方便小语召回全局信息。