error-guard
bởi amar1432
CLI UtilitiesTóm tắt
System safety and control-plane skill that prevents agent deadlocks.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
User asks: the agent is frozen and not responding to new tasks
- 1
Run /status to check active tasks, last heartbeats, and stalled flags
- 2
Identify which task is overdue or silent
- 3
Run /flush to cancel all active tasks, kill exec sessions, and clear the message queue
- 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
Cài đặt
clawhub install amar1432/error-guardChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.