durable-session-state

Official

Persist session state across compaction and restarts.

AuthorZaxbyHub
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Long-running swarm-mode AI coding sessions lose critical context during compaction, restarts, or handoffs, leading to re-litigated settled decisions, invalidated approvals, and wasted rework of already completed work.

Core Features & Use Cases

  • Durable artifact persistence: Automatically saves task plans, scope decisions, validation evidence, and reviewer/critic gate approvals to structured, project-local files.
  • Stale approval detection: Tracks git HEAD and diff summaries at each gate approval to automatically invalidate outdated approvals when work continues after a session resumes.
  • Use case: Ideal for multi-phase swarm development tasks, long coding sessions, and cross-session handoffs, ensuring no work is lost or repeated unnecessarily.

Quick Start

Use the durable-session-state skill to save your current task's plan, decisions, and gate approvals to the project's .claude/session/tasks/ directory before your session compacts or restarts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: durable-session-state
Download link: https://github.com/ZaxbyHub/opencode-swarm/archive/main.zip#durable-session-state

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.