Agent Introspection & Debugging
Implements a structured self-debugging workflow for AI agents to diagnose and recover from execution failures, loops, and context drift.
Agent Introspection Debugging provides a systematic framework for Claude to analyze its own performance and resolve obstacles when it encounters repeated failures or inefficient loops. By following a rigorous four-phase workflow—Failure Capture, Root-Cause Diagnosis, Contained Recovery, and Introspection Reporting—it prevents blind retries and excessive token consumption. This skill is essential for complex coding tasks where environmental mismatches, context overflow, or logic errors might cause an agent to lose focus, ensuring a clear path to resolution or providing a detailed, human-readable report for manual intervention.