AI agents can get stuck in a loop or waste tokens on failed tasks. They might repeat the same tool call over and over. This skill gives them a way to debug themselves without asking a human for help.
The process has four clear phases. First it captures the failure details. Then it diagnoses the root cause using common patterns. After that it tries a contained recovery using small safe actions. Finally it writes a human-readable report.
This structured approach stops blind retries and saves time. It helps the agent learn from mistakes and get back on track. Developers benefit from fewer crashes and better use of resources.
Global
mkdir -p ~/.claude/skills/agent-introspection-debuggingProject
mkdir -p .claude/skills/agent-introspection-debuggingSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Triagemattpocock/skills
Triage issues with a state machine driven by clear roles and agent briefs
Handoffmattpocock/skills
Hand off your work to another AI agent with a clear summary
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly