error-guard
بواسطة amar1432
CLI Utilitiesموجز
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
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
التثبيت
clawhub install amar1432/error-guardشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.