What problem does it solve?
When an AI coding session using OpenCode Swarm is interrupted, resuming work often leads to lost context, stale git branches and worktree directories, or conflicting swarm configuration errors that require manual cleanup and risk losing progress.
Core Features & Use Cases
- Safe Plan Resumption: Automatically picks up where you left off on an existing approved .swarm/plan.md without redoing prior work.
- Stale State Cleanup: Prunes orphaned .swarm-worktrees/ lane directories and swarm-lane/* git branches left over from prior sessions to avoid conflicts.
- Cross-Swarm Reconciliation: Handles context cleanup when switching between local and cloud swarm environments to eliminate identity and stale cache conflicts.
- Use Case: If you are mid-way through a multi-phase coding project with the Swarm architect and your session is interrupted, use this skill to resume work seamlessly without manual cleanup of orphaned resources.
Quick Start
Use the resume skill to continue your interrupted OpenCode Swarm coding project from its last approved task.