跳到正文
TakoAPI
返回技能列表

error-guard

由 amar1432 提供

CLI Utilities
2.6k下载量由 clawskills.sh 提供
7星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

System safety and control-plane skill that prevents agent deadlocks.

描述

该技能的功能

Control-plane skill for OpenClaw that prevents agent deadlocks, freezes, and unrecoverable states. Provides three non-LLM commands (/status, /flush, /recover) to inspect task state, cancel active work, and reset the system without restarting the container. Intended for long-running workloads, sub-agents, benchmarks, and background monitors.

Restores a hung agent to a clean state without a container restart, avoiding cold-start overhead and state loss that a full restart requires.

何时使用

  • Recovering a frozen agent without restarting the container
  • Canceling runaway background monitors mid-execution
  • Inspecting stalled sub-agent task state during a benchmark run
  • Flushing message queues when the system stops responding
  • Resetting control-plane state after a deadlock

示例工作流

输入

User asks: the agent is frozen and not responding to new tasks

智能体
  1. 1

    Run /status to check active tasks, last heartbeats, and stalled flags

  2. 2

    Identify which task is overdue or silent

  3. 3

    Run /flush to cancel all active tasks, kill exec sessions, and clear the message queue

  4. 4

    Run /recover to reset control-plane state and optionally reload skills without a container restart

输出

System returns to a clean idle state with no container restart required

安装

clawhub install amar1432/error-guard

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

链接