Agent Introspection Debugging
Guides AI agents through a structured four-phase self-debugging workflow to resolve execution loops, context drift, and tool failures.
Agent Introspection Debugging equips Claude Code with a systematic self-debugging framework to recover from agentic failure states. When an agent experiences tool call limits, repetitive loops, context overflow, or prompt drift, this skill enforces a four-phase loop: capturing failure state, diagnosing root causes against known failure patterns, executing contained minimal recoveries, and publishing an introspection report. It prevents runaway token consumption and ungrounded blind retries by promoting deliberate observation, state verification, and legible failure handoffs.
主な機能
01Structured failure capture templates to record precise environment and execution state
02Four-phase self-debugging loop covering capture, diagnosis, recovery, and reporting
031 GitHub stars
04Contained recovery heuristics that prevent repetitive blind retries
05Standardized post-mortem introspection reports for seamless handoff to humans or downstream agents
06Pattern recognition for tool-call loops, token exhaustion, context overflow, and environment drift
ユースケース
01Generating actionable post-mortem debug reports prior to escalating blocking issues to human developers
02Breaking out of repetitive tool call loops and infinite retries during complex multi-step tasks
03Diagnosing and correcting environment mismatches, stale branch state, and context degradation