본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

session-state-tracker

qsmtco 제작

CLI Utilities
—아직 평가 없음
내 평가

요약

Persistent session state management across compaction and restarts via lifecycle hooks.

설명

이 스킬이 하는 일

Persists and restores working session state across OpenClaw compaction events and restarts using lifecycle hooks. State is stored in a local SESSION_STATE.md file with schema-validated YAML frontmatter. Three hooks run automatically: at session start, before compaction, and after compaction.

Lifecycle hooks handle state persistence and restoration automatically, so neither the user nor the agent needs to manually save or reload context during compaction.

사용 시점

  • Resuming a long coding task after an agent session restart
  • Recovering task context when a session gets compacted mid-work
  • Tracking current status and next steps across multiple work sessions
  • Inspecting what the agent was working on before an unexpected restart
  • Rebuilding lost context from session transcripts after a crash

예시 워크플로

입력

User asks: Resume where we left off on the authentication refactor

에이전트
  1. 1

    session-start hook reads SESSION_STATE.md and finds a fresh state entry from the previous session

  2. 2

    Hook injects a summary of the saved task, status, and next steps into the initial system context

  3. 3

    Agent re-anchors to the prior state and identifies the next pending step

  4. 4

    User confirms, and work continues without re-explaining context

출력

Agent resumes the authentication refactor from the exact point recorded in the last session

설치

clawhub install qsmtco/session-state-tracker

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크