Agent Introspection Debugging
Implements a structured self-debugging workflow to diagnose and recover from AI agent failures and token-wasting loops.
Agent Introspection Debugging provides a systematic framework for Claude to identify why an agentic process is stalling, looping, or drifting from its objective. Instead of blindly retrying failing commands, this skill guides the agent through a four-phase process: capturing the failure state, diagnosing root causes like context overflow or environment mismatches, applying safe recovery actions, and generating detailed reports. It is specifically designed to manage complex tasks where token consumption and context growth threaten completion, ensuring the agent remains focused, efficient, and capable of self-correction before escalating to a human.