LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports.

189,251stars29,267forksUpdated 5/24/2026
Productivity & Workflow#agent-debugging#troubleshooting#workflow#failure-analysis#ai-agents#introspection

Security Assessment

Safe(100/100)
Security Score100/100

About agent-introspection-debugging

The agent-introspection-debugging skill provides a structured workflow for diagnosing and recovering from repeated AI agent failures. It is designed for situations where an agent becomes stuck in retry loops, consumes excessive tokens without making progress, experiences prompt drift, or repeatedly misuses tools. Instead of relying on blind retries, the skill introduces a disciplined debugging process that captures the current failure state, identifies likely root causes, applies minimal corrective actions, and produces a clear introspection report for human review if escalation becomes necessary. The workflow is intended to improve reliability and reduce wasted execution cycles during complex autonomous tasks.

The skill is organized around a four-phase debugging loop: Failure Capture, Root-Cause Diagnosis, Contained Recovery, and structured reporting. It emphasizes precise failure recording, including error messages, tool-call history, environment assumptions, and context pressure indicators such as duplicated notes or oversized logs. It also provides diagnostic guidance for common agent failure patterns, including repeated command loops, degraded reasoning caused by context overflow, service connectivity problems, quota exhaustion, stale filesystem assumptions, and incorrect debugging hypotheses. Recovery actions focus on minimal and reversible interventions such as trimming low-signal context, narrowing scope to a single failing command or file, verifying actual system state, and switching from speculative reasoning to direct observation.

This skill is useful for AI agents operating in development, automation, orchestration, or multi-step reasoning environments where failures can compound over time. It is intended for agent developers, AI workflow designers, and operators managing autonomous systems that interact with tools, filesystems, services, or external processes. The workflow is especially valuable in environments where transparency, controlled recovery, and human-readable debugging reports are required before escalation or manual intervention.

FAQ

When should this skill be activated?

This skill should be activated when an AI agent repeatedly fails to make progress, enters retry loops, experiences context drift, or encounters recoverable tool and environment failures.

Does this skill automatically fix agent failures?

No. The skill provides a structured debugging and recovery workflow, but it does not guarantee automatic remediation or unsupported runtime state changes.

Can this skill replace framework-specific debugging tools?

No. The documentation explicitly states that framework-specific debugging should use narrower or more specialized ECC skills when available.

What types of failures can this workflow help diagnose?

It can help diagnose issues such as repeated tool-call loops, context overflow, service connectivity failures, quota exhaustion, filesystem inconsistencies, and incorrect debugging assumptions.

Who is the intended audience for this skill?

The skill is intended for AI agent developers, workflow engineers, automation operators, and teams managing autonomous systems that require structured failure analysis and controlled recovery.

Install agent-introspection-debugging

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

affaan-m/everything-claude-code

Related Skills

ccf-idea-reviewer

2,958

ccf-integrity-auditor

2,958

finance-sentiment

3,382

ccf-humanization

2,958