Agent Session Forensics provides a robust framework for inspecting and debugging the internal state of AI coding agent sessions. By analyzing message history, correlating tool call IDs with results, and identifying common failure patterns like interrupted loops or duplicate turns, this skill allows developers to recover stalled sessions and optimize agent performance. It emphasizes safety through read-only inspections and mandatory backups, ensuring that complex multi-turn interactions remain consistent and traceable even when dealing with experimental MCP data layers or subagent trace correlation.
주요 기능
01Safe session repair workflows with mandatory backup and truncation procedures
02Identification of common failure patterns like orphan results and duplicate turns
03Automated correlation of tool call IDs with corresponding result turns
04Advanced JSON history inspection using optimized jq-based queries
05Timing analysis to identify performance bottlenecks in LLM and tool execution
067 GitHub stars
사용 사례
01Recovering an AI agent session that stopped mid-tool-call without a clear error
02Optimizing slow agent performance by tracing timing metadata across session turns
03Diagnosing why an agent is stuck in an infinite loop or repeating the same command