What problem does it solve?
Sifting through raw log files to find errors, warnings, or performance bottlenecks is a tedious and time-consuming task. This Skill automates log analysis, providing clear summaries and actionable insights, so you can quickly understand pipeline health.
Core Features & Use Cases
- Structured Log Parsing: Scans and parses structured JSON logs from all pipeline runs, making complex log data easy to digest.
- Error & Warning Identification: Quickly identifies and summarizes error, warning, and info messages across scripts, highlighting critical issues.
- Performance & Retry Metrics: Tracks API retry patterns, identifies slow operations, and flags rate-limiting issues, helping you optimize performance.
- Use Case: After a pipeline run, use this Skill to verify successful completion, check for any errors or warnings, or investigate why a script might have failed.
Quick Start
Analyze logs from the last 24 hours
python .claude/skills/log-analyzer/scripts/analyze_logs.py --hours 24
Show only error-level log entries
python .claude/skills/log-analyzer/scripts/analyze_logs.py --level error