Agent Introspection Debugging
Implements a structured self-debugging workflow for AI agents to diagnose and recover from repetitive failures and tool loops.
The Agent Introspection Debugging skill provides a rigorous framework for AI agents to handle execution failures such as tool-call loops, context drift, and environmental inconsistencies. By guiding the agent through a four-phase process—Capture, Diagnosis, Containment Recovery, and Introspection Reporting—it prevents blind retries and excessive token consumption. This skill ensures that failures are systematically documented and analyzed, allowing the agent to either resolve the issue through targeted actions or provide a detailed diagnostic report for human escalation.
Key Features
01Environment state verification to resolve file system and branch mismatches
02Comprehensive introspection reports for seamless human handoff
03Structured 4-phase self-debugging loop (Capture, Diagnose, Recover, Report)
04Context management to prune low-signal data and prevent inference degradation
05Automatic detection of tool-call loops and repetitive command patterns
060 GitHub stars
Use Cases
01Resolving environment mismatches where the agent's mental model differs from the actual file system
02Breaking out of infinite tool-call loops or repetitive 'retry' cycles without progress
03Recovering reasoning quality by pruning bloated context and re-stating primary goals