SKILL

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Agent Introspection Debugging
  • When to Activate
  • Scope Boundaries
  • Four-Phase Loop
  • Phase 1: Failure Capture
  • Phase 2: Root-Cause Diagnosis
  • Phase 3: Contained Recovery
  • Phase 4: Introspection Report

Use this skill when an agent run is failing repeatedly, consuming tokens without progress, looping on the same tools, or drifting away from the intended task. This is a workflow skill, not a hidden runtime. It teaches the agent to debug itself systematically before escalating to a human. Maximum tool call / loop-limit failures Repeated retries with no forward progress Context growth or prompt drift that starts degrading output quality File-system or environment state mismatch between expectation and reality Tool failures that are likely recoverable with diagnosis and a smaller corrective action Activate this skill for: capturing failure state before retrying blindly diagnosing common agent-specific failure patterns applying contained recovery actions producing a structured human-readable debug report Do not use this skill as the primary source for: feature verification after code changes; use verification-loop framework-specific debugging when a narrower ECC skill already exists runtime promises the current harness cannot enforce automatically Before trying to recover, record the failure precisely. Capture: error type, message, and stack trace when available last meaningful tool ca

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
pi/core/skills/agent-introspection-debugging/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:42.800Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.