damage-control

Solid

Recover from broken agent state including crash recovery, context overflow, merge conflicts, and corrupted worktrees.

Code & Development 308 stars 27 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Table of Contents - [Overview](#overview) - [When To Use](#when-to-use) - [When NOT To Use](#when-not-to-use) - [Damage Triage](#damage-triage) - [Module Reference](#module-reference) - [Integration Pattern](#integration-pattern) - [Exit Criteria](#exit-criteria) # Damage Control ## Overview Provides recovery protocols for agents that encounter broken state mid-session. Damage control covers four failure classes: agent crashes with partial work on disk, context window overflow that causes state loss, merge conflicts blocking forward progress, and general session state corruption requiring reconciliation. The skill does not prevent failures. It defines what to do after one has already happened, so recovery is consistent, auditable, and does not silently discard work. ## When To Use - An agent process crashed and left files in an unknown state - A session hit the context limit and cannot load prior decisions - `git merge` or `git rebase` produced conflicts the agent cannot resolve automatically - Observed state (files on disk, task list, git index) disagrees with expected state - A downstream agent reports missing artifacts that should have been produced upstream ## When NOT to Use - Proactive risk assessment before work starts (use `Skill(leyline:risk-classification)` instead) - Strategic architectural decisions after a failure (use `Skill(attune:war-room)` instead) - Routine error handling within a single tool call (use `Skill(leyline:error-patterns)`...

Details

Author
athola
Repository
athola/claude-night-market
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category