session-cleanup-checkpoint

Community

Ensure safe session closure without data loss or accidental deletion.

AuthorDaBigHomie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a safe way to clean up or hand off a coding session, ensuring that no data is lost and no other agents' work is affected.

Core Features & Use Cases

  • Non-Destructive Session Closure: Classifies worktrees/branches as CURRENT, PROTECT, or SAFE-CANDIDATE to prevent accidental deletion.
  • Orphan Check: Identifies if a deleted branch lost any unmerged commits.
  • Checkpointing: Durable checkpointing of session state to a cloud database.
  • Handoff Framework Integration: Generates self-contained handoffs for unfinished work being handed to another agent.

Quick Start

Run 'npx tsx <this-skill>/scripts/forensics.mts --repo="$PWD"' to observe, classify, and create a cleanup plan.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: session-cleanup-checkpoint
Download link: https://github.com/DaBigHomie/ugwtf/archive/main.zip#session-cleanup-checkpoint

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 620,000+ vetted skills library on demand.