Agent Behavior Troubleshooter
Investigates and explains unexpected chat agent behavior by analyzing direct JSONL debug logs and session metadata.
This skill provides a deep-dive diagnostic capability for developers to understand the 'why' behind chat agent actions. By parsing JSONL log files located outside the standard workspace, it can trace the exact sequence of events including tool calls, subagent invocations, and LLM request/response cycles. It is particularly useful for identifying performance bottlenecks, discovering why specific instructions failed to load, and verifying the exact system prompts or tool definitions sent to the model, ensuring conclusions are based on empirical log evidence rather than guesswork.
Key Features
01Diagnose tool call failures, blocks, and subagent errors
020 GitHub stars
03Analyze JSONL debug logs for granular event tracing
04Identify causes for high latency and slow request durations
05Verify discovery events for instructions, skills, and agents
06Inspect untruncated system prompts and tool definitions
Use Cases
01Determining why a model ignored specific instructions or failed to use an available tool
02Debugging slow response times by analyzing time-to-first-token (TTFT) and event durations
03Investigating why custom agent or skill files were not correctly loaded during session initialization