agent-introspection-debugging

Automates AI agent failure diagnosis and recovery with introspection reports.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/hector-manny/bussbot --skill agent-introspection-debugging-hector-manny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-introspection-debugging
Source: https://github.com/hector-manny/bussbot/tree/main/.cursor/.agents/skills/agent-introspection-debugging
Command: npx skills add https://github.com/hector-manny/bussbot --skill agent-introspection-debugging-hector-manny

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of self-debugging AI agent failures, reducing manual intervention and improving resolution efficiency.

Core Features & Use Cases

  • Self-Debugging Workflow: Provides a structured process for AI agents to diagnose and recover from failures.
  • Capture Failure State: Logs detailed failure information for analysis.
  • Diagnosis and Recovery: Offers a systematic approach to identifying and resolving the root cause of failures.
  • Introspection Reports: Generates human-readable reports for further investigation and documentation.
  • Use Case: Ideal for systems where AI agents are used for repetitive tasks, such as data analysis or customer support, and where timely resolution of failures is critical.

Quick Start

Activate the agent-introspection-debugging skill when an AI agent encounters a failure.

Frequently Asked Questions about agent-introspection-debugging

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

FAQPage Schema
How do I automate AI agent self-debugging for repetitive task failures?

AI agent self-debugging is automated using a structured, four-phase process that captures failure states, diagnoses root causes, executes contained recovery, and generates introspection reports to reduce manual intervention.

What is the process for diagnosing the root cause of an AI agent failure?

Root-cause diagnosis of an AI agent failure involves logging detailed failure information during the capture phase, followed by a systematic analysis of the agent's introspected state to identify and resolve the underlying issue.

How do I generate human-readable introspection reports for AI agent failures?

Introspection reports are generated automatically in the final phase of the self-debugging workflow, converting captured failure logs and root-cause diagnosis data into human-readable documentation for further investigation.

Can I use self-diagnosis for AI agents that only perform repetitive data analysis tasks?

Self-diagnosis is ideal for AI agents performing repetitive tasks like data analysis or customer support, where automated failure resolution and documented recovery are critical for maintaining continuous operations.

What do I need to set up automated agent failure resolution and self-diagnosis?

Automated agent failure resolution requires the AI system to be capable of logging its own state and introspecting its internal processes, enabling the self-debugging workflow to capture, diagnose, and recover from failures.

What are the limitations of using a structured self-debugging workflow for AI agents?

The self-debugging workflow is limited to AI systems capable of state logging and introspection, and requires repetitive task environments where failure patterns can be systematically captured and resolved through contained recovery.