damage-control
SolidRecover from broken agent state including crash recovery, context overflow, merge conflicts, and corrupted worktrees.
Code & Development 308 stars
27 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
AI & Automation Listed
error-recovery
Strategies for handling subagent failures with retry logic and escalation patterns.
353 Updated today
aiskillstore Code & Development Listed
undo-recover
Use when undoing, recovering, restoring, reverting, aborting, or rescuing Git work.
0 Updated today
hypercube-xyz AI & Automation Listed
agent-introspection-debugging
Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. USE WHEN an agent run fails, loops, or behaves unexpectedly and you need a repeatable post-mortem and recovery process.
0 Updated 2 days ago
Sheshiyer