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

anti-panic-protocol

بواسطة noelistired

Web & Frontend Development
377التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Handle tool failures under pressure with bounded retries, clean user communication, and safe escalation.

الوصف

ما الذي تفعله هذه المهارة

Defines a strict error-handling workflow for agents: identify the failure, attempt two bounded fixes, then escalate with plain-language communication. Prevents retry loops, duplicate outbound messages, and raw error dumps reaching the user. Includes hard stops for destructive or security-boundary situations.

Enforces a two-attempt ceiling on retries and requires verified outcomes before reporting success, preventing runaway loops and false "done" confirmations that other ad-hoc error handling skips.

متى تستخدمها

  • Recovering from a rate-limited publish without spamming retries
  • Handling a calendar event creation error with date/timezone fixes
  • Escalating a timed-out login flow to the user for OAuth confirmation
  • Preventing duplicate posts when an external publish action fails
  • Reporting a failed file write as pending rather than falsely done

مثال على سير العمل

الإدخال

User asks: Post my announcement to the blog

الوكيل
  1. 1

    Attempt to publish the post via the configured tool

  2. 2

    Receive rate-limit rejection, identify failure in one sentence

  3. 3

    Retry immediately as fix #1

  4. 4

    Retry with a delayed slot as fix #2

  5. 5

    Stop retrying, send escalation message: what failed, what was tried, what happens next

الإخراج

Dit faalde: publish werd afgewezen door rate-limit. Ik heb 1) direct retry en 2) delayed retry geprobeerd. Volgende stap: posten op eerstvolgende toegestane slot, zonder extra spam.

التثبيت

clawhub install noelistired/anti-panic-protocol

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

الروابط