Error Guard — Control‑Plane Safety
by @amar1432
System safety and control-plane skill that prevents agent deadlocks and freezes. Provides non-LLM control commands to inspect task state, flush message queues, cancel long-running work, and recover safely without restarting the container. Use when implementing or operating long-running tasks, sub-agents, benchmarks, background monitors (e.g., Moltbook, PNR checks), or when the system becomes unresponsive and needs immediate recovery controls.
clawhub install error-guard📖 About This Skill
name: error-guard description: > System safety and control-plane skill that prevents agent deadlocks and freezes. Provides non-LLM control commands to inspect task state, flush message queues, cancel long-running work, and recover safely without restarting the container. Use when implementing or operating long-running tasks, sub-agents, benchmarks, background monitors (e.g., Moltbook, PNR checks), or when the system becomes unresponsive and needs immediate recovery controls.
error-guard
⚠️ System‑level skill (Advanced users)
This skill defines the control‑plane safety primitives for OpenClaw. It is intentionally minimal, non‑blocking, and designed to prevent agent freezes, deadlocks, and unrecoverable states when running long‑lived or high‑risk workloads.
Design Principles
> Warning: This skill operates at the agent control‑plane level. > It should be installed only by users who understand OpenClaw’s execution model and are running workloads that can block, hang, or run for extended periods.
Command Surface (Phase 1)
/status
Report current system health and task registry state.
Returns:
Constraints:
/flush
Emergency stop.
Immediately:
Constraints:
/recover
Safe recovery sequence.
Steps:
1. Execute /flush
2. Reset control-plane state
3. Optionally reload skills/state (no container restart)
Future Extensions (Not Implemented Yet)
Security & Privacy
Non-Goals
This skill is the last line of defense. Keep it small, fast, and reliable.