Agent Introspection Debugging
Implements a structured self-debugging workflow to resolve AI agent loops, token wastage, and execution failures through systematic introspection.
This skill empowers Claude to identify and fix its own operational failures through a rigorous four-phase loop: failure capture, root-cause diagnosis, contained recovery, and introspection reporting. It is specifically designed to stop infinite tool-call loops, manage context drift, and resolve environment mismatches without immediate human intervention. By following predefined heuristics and diagnostic patterns, the agent can self-correct when facing context overflow, 429 errors, or stale filesystem states, ensuring more reliable and cost-effective autonomous task completion.
Key Features
01Contained recovery heuristics for safe self-healing
02Loop detection and token-waste prevention
03Automated failure state and context capture
04Pattern-based root-cause diagnosis
050 GitHub stars
06Structured introspection reporting for human oversight
Use Cases
01Breaking infinite tool-calling loops and repeated command failures
02Resolving context growth issues that degrade reasoning quality
03Diagnosing environment mismatches like missing files or incorrect port assumptions