Anomaly Alert for Claude Code

0•

Identifies and reports statistical anomalies in Claude Code session data to optimize costs, performance, and reliability.

Anomaly Alert is a sophisticated diagnostic tool for the Claude Code Agent Monitor (CCAM) that detects unusual patterns in session behavior, expenditure, and performance. By fetching data from the CCAM local API, it computes statistical baselines across your last 500 sessions to flag cost spikes, excessive token usage, high error rates, and abnormal duration patterns. This skill is essential for developers who need to debug inefficient agent behaviors, monitor API expenditure in real-time, and maintain the stability of their automated AI workflows.

Key Features

01Detection of behavioral deviations including unusual tool combinations and compaction surges
020 GitHub stars
03Statistical outlier detection for session costs, durations, and token usage
04Detailed classification of anomalies into Critical, Warning, and Info severity levels
05Real-time comparison of current metrics against 30-day historical baselines
06Comprehensive reporting with session IDs, observed vs. expected values, and recommended actions

Use Cases

01Monitoring and controlling unexpected spikes in Claude API consumption and costs
02Debugging recurring tool failures or sessions with abnormally high error propagation
03Optimizing token efficiency by identifying cache miss spikes and unusual input/output ratios