arc-wake-state
trypto1019 제작
Notes & PKM요약
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
Run crash-check to determine if the last session ended cleanly or crashed
- 2
Run read to retrieve current status, notes, and key-value pairs
- 3
Run tasks to list all pending items from the persistent queue
- 4
Identify the last recorded status and continue from that point
- 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-stateCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.