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

arc-wake-state

بواسطة trypto1019

Notes & PKM
541التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Persist agent state across crashes, context deaths, and restarts.

الوصف

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

Saves agent state to structured files so autonomous agents can resume work after context window resets or crashes. Provides a persistent task queue, named checkpoints, and crash detection based on heartbeat timestamps.

Structured state files and crash detection give agents a reliable handoff without requiring external databases or custom persistence code.

متى تستخدمها

  • Resuming a multi-hour agent task after context window resets
  • Detecting whether a previous session crashed or completed cleanly
  • Creating a named checkpoint before running a risky database migration
  • Maintaining a task queue that survives repeated agent restarts
  • Rolling back agent state to a known-good checkpoint after a failed operation

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

الإدخال

User asks: Resume the task you were working on before the context reset

الوكيل
  1. 1

    Run crash-check to determine if the last session ended cleanly or crashed

  2. 2

    Run read to retrieve current status, notes, and key-value pairs

  3. 3

    Run tasks to list all pending items from the persistent queue

  4. 4

    Identify the last recorded status and continue from that point

  5. 5

    Call heartbeat on each subsequent loop iteration to enable future crash detection

الإخراج

Agent identifies prior status as 'Building budget tracker skill', picks up pending tasks from the queue, and continues without manual re-briefing

التثبيت

clawhub install trypto1019/arc-wake-state

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

الروابط