agent-failure-recovery

Community

Safely recover broken git state without losing work

Authornguyenpv1980-wq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps recover from failed, interrupted, or partially completed agent runs that leave a repository in a broken or confusing git state, while preserving all potentially useful work first.

Core Features & Use Cases

  • Read-only diagnosis first: Inspect git status, operation markers, stash, log, and reflog before making any changes.
  • Preserve before recovery: Create rescue branches or stashes, including untracked files, so nothing valuable is lost.
  • Minimal, reversible recovery: Use the safest fix for interrupted rebases, conflicted trees, wrong commits, broken branches, or permission-blocked operations.
  • Verification and reporting: Confirm the repository is in the intended end state and report exactly where preserved work lives.
  • Use case: An agent crashes during a rebase and the tree is left conflicted; this Skill restores order without discarding untracked notes or partial work.

Quick Start

Use the agent-failure-recovery skill to inspect the current git state, preserve anything uncommitted or untracked, and safely recover the repository without losing work.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: agent-failure-recovery
Download link: https://github.com/nguyenpv1980-wq/Project-Aegis/archive/main.zip#agent-failure-recovery

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