agent-introspection-debugging

Capture agent failure states and generate structured introspection reports.

4|7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/arbisoft/ai-skillforge --skill agent-introspection-debugging-arbisoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-introspection-debugging
Source: https://github.com/arbisoft/ai-skillforge/tree/main/Claude/skills/agent-introspection-debugging
Command: npx skills add https://github.com/arbisoft/ai-skillforge --skill agent-introspection-debugging-arbisoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow teaches AI agents to diagnose and recover from repeated failures by capturing failure data, identifying root causes, applying contained recovery actions, and producing introspection reports for human escalation.

Core Features & Use Cases

  • Failure capture, root-cause diagnosis, contained recovery, and introspection reporting for agent runs.
  • Useful when tool calls loop, prompts drift, or environment changes cause degradation.
  • Integrates with ECC guidelines to provide safe escalation and traceability.

Quick Start

Describe the failure context and run the introspection workflow to generate a structured debug report.

Frequently Asked Questions about agent-introspection-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug an AI agent stuck in a tool call loop?

Agent introspection works by capturing the failure state of an agent run with precise error details and context, analyzing the captured data to diagnose root causes, and applying contained recovery to resolve repeated failures or prompt drift.

What is the best way to diagnose root causes when an agent run fails repeatedly?

The best way to diagnose root causes of repeated agent failures is to capture the failure state and analyze the data using a structured template to identify root causes, apply contained recovery, and generate a human-readable introspection report for escalation.

How do I generate an introspection report for escalating agent failures?

You generate an introspection report for agent failures by describing the failure context and running the introspection workflow, which specifies minimum data to capture and produces a human-readable report for escalation.

When should I use an agent introspection workflow for debugging?

You should use an agent introspection workflow for debugging when tool calls loop, prompts drift, or environment changes cause degradation, providing safe escalation and traceability through structured diagnosis and recovery.

Do I need any specific dependencies to run agent diagnosis and recovery?

No specific dependencies are required to run agent diagnosis and recovery. The workflow uses a structured template for diagnosis and recovery steps to capture failure data and produce a human-readable debug report.