agent-introspection-debugging
CommunityStop agent loops and recover progress
Software Engineering#debugging#troubleshooting#agent#introspection#failure-diagnosis#context-audit#contained-recovery
AuthorMaelwalser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps capture and diagnose agent runs that loop, consume excessive tokens, or fail repeatedly by guiding a systematic four-phase self-debugging workflow: failure capture, root-cause diagnosis, contained recovery, and an introspection report.
Core Features & Use Cases
- Failure Capture: Record error details, last meaningful tool calls, environment assumptions, and context pressure before retrying.
- Root-Cause Diagnosis: Classify failures into common patterns (looping tool calls, context overflow, network/quota errors, stale filesystem state) and derive a minimal hypothesis.
- Contained Recovery: Apply the smallest safe corrective action such as trimming context, isolating a failing command, re-checking environment state, or stopping retry storms.
- Introspection Reporting: Produce a structured, human-readable debug report that documents the failure, diagnosis, recovery action, evidence, and follow-up.
- Use Case: Recover an autonomous agent stuck in repeated tool calls or drifting from its goal by capturing state, running a discriminating check, and producing a clear handoff for human review.
Quick Start
Run the agent-introspection-debugging workflow to capture the failure state, diagnose the root cause, perform a minimal contained recovery, and produce an introspection report.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: agent-introspection-debugging Download link: https://github.com/Maelwalser/claude-config/archive/main.zip#agent-introspection-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.