debug-log-analysis

Installation
SKILL.md

Mode: Cognitive/Prompt-Driven — No standalone utility script; use via agent context.

Debug Log Analysis

Structured workflow for extracting actionable signal from Claude Code session debug logs. Use during reflection cycles, incident response, or when diagnosing agent failures.

When to Use

  • After any session with unexpected agent failures or stalls
  • When reflection-agent needs telemetry to contextualize task completions
  • When debugging hook errors that appear opaque in task outputs
  • When the router reports "agent completed but didn't call TaskUpdate"

Prerequisites

The scripts/reduce-debug-log.mjs script auto-detects the most recent log when no file argument is provided. It copies the log to .tmp/ and produces a reduced version there.

Step 0: Determine Analysis Mode

Related skills
Installs
25
GitHub Stars
27
First Seen
Feb 25, 2026