跳到正文
TakoAPI
返回技能列表

error-recovery-automation

由 konscious0beast 提供

Coding Agents & IDEs
504下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Standardize handling of common OpenClaw errors (gateway restart, browser service unavailable, cron failures)

描述

该技能的功能

Standardizes detection and recovery of common OpenClaw failures: gateway unresponsiveness, browser service outages, cron scheduler issues, and memory search errors. Provides bash script templates and cron scheduling patterns to automate restart sequences with verification steps. Includes escalation logic when automated recovery fails.

Reduces manual intervention by replacing ad-hoc restarts with structured scripts that detect, recover, verify, and escalate in a consistent sequence.

何时使用

  • Automatically restart a crashed gateway without manual SSH
  • Schedule a browser health check every 30 minutes via cron
  • Rebuild the better-sqlite3 native module when memory search breaks
  • Escalate unrecoverable failures to a task inbox for manual review
  • Run a combined keep-alive script across all OpenClaw services

示例工作流

输入

User asks: set up automated browser recovery that runs every 30 minutes

智能体
  1. 1

    Write browser-recovery.sh using the template: check status, stop, start, re-check

  2. 2

    Test the script manually by stopping the browser service and running the script

  3. 3

    Verify recovery with openclaw browser status --json

  4. 4

    Schedule the script as a cron job with openclaw cron add at 30-minute intervals

  5. 5

    Configure the job to announce only on failure via the delivery channel

输出

A scheduled cron job that automatically recovers the browser service and notifies on persistent failure

安装

clawhub install konscious0beast/error-recovery-automation

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接