تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

error-guard

بواسطة amar1432

CLI Utilities
2.6kالتنزيلات وفق ما يذكره clawskills.sh
7النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط