Agent Repair & Failure Rescue

•
7
•

Automates systematic debugging and failure recovery when coding agents encounter repeated errors or infinite loops.

The Repair skill provides a structured framework for Claude Code to handle persistent failures by switching into a specialized repair mode. It systematically captures exact error signals, invokes external rescue logic via the Atelier context layer, and validates fixes using the narrowest possible scope to prevent regressions. By enforcing a strict policy of stopping after two failed attempts, it prevents costly execution loops and ensures that the agent provides a clear postmortem rather than continuing fruitlessly, making it essential for autonomous coding reliability.

Key Features

01Narrow-scope validation to verify fixes without side effects
02Automated 'rescue' integration for targeted recommendations
037 GitHub stars
04Systematic failure signal and error text capture
05Loop detection and automatic escalation after two failures
06Postmortem recording for agent learning and governance

Use Cases

01Automating the reproduction and fixing of persistent unit test failures
02Handling environment-specific errors that require specialized rescue procedures
03Breaking out of infinite retry loops during complex refactoring tasks