Agent Introspection Debugging
Implements a structured self-correction workflow for AI agents to diagnose and recover from repetitive failures or context drift.
This skill provides a systematic framework for AI agents to debug their own operations when they hit tool call limits, experience context growth, or enter unproductive loops. Instead of blindly retrying failed actions, the skill guides the agent through a rigorous four-phase process—failure capture, root-cause diagnosis, contained recovery, and structured reporting—ensuring that the agent understands why it failed before attempting a fix. This reduces token waste and improves the autonomy and reliability of Claude Code and other agentic systems during complex tasks by providing a human-readable audit trail of the agent's internal reasoning.