Agent Guardrails: Session Analyzer
Analyzes Claude Code session logs to detect and report AI anti-patterns like hedging, stalling, and skipping.
This skill provides a comprehensive audit of your local Claude Code history by scanning session logs for recurring problematic behaviors known as anti-patterns. It automatically identifies instances of guessing, stalling, preference-asking, and false completions by running specialized regex patterns against assistant interactions. By generating a data-driven report complete with frequency counts and real-world excerpts, it allows developers to pinpoint exactly where the agent is underperforming and provides specific guardrail recommendations to improve the reliability and conciseness of future AI responses.
Key Features
01Discovery of novel patterns like excessive apologizing or over-explaining
02Data-driven recommendations for installing permanent guardrail rules
03Automated scanning of local .jsonl session logs across recent projects
04Detection of six canonical anti-patterns including stalling and guessing
059 GitHub stars
06Ranked frequency reporting with real-world text excerpts from logs
Use Cases
01Troubleshooting why an agent is providing vague or evasive responses in a specific codebase
02Optimizing developer experience by generating evidence-based guardrail configurations
03Auditing AI performance after a development sprint to identify efficiency bottlenecks