Agent Introspection & Debugging
Implements a structured self-correction workflow to diagnose and resolve AI agent failures, loops, and context drift.
The Agent Introspection Debugging skill provides a systematic framework for Claude to identify and resolve its own operational failures during complex tasks. By following a rigorous four-phase process—capture, diagnosis, recovery, and reporting—it prevents the agent from falling into infinite loops, wasting tokens on repetitive tool calls, or drifting away from the original objective. This skill is essential for maintaining autonomous performance when the agent encounters environment mismatches, context overflow, or transient tool errors, ensuring that every failure leads to a legible, structured path forward rather than blind retrying.