anomaly-detection

Detect statistical anomalies in CloudWatch and Prometheus metrics using Python libraries.

18|4|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-oh-my-aidlcops --skill anomaly-detection-aws-samples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anomaly-detection
Source: https://github.com/aws-samples/sample-oh-my-aidlcops/tree/main/plugins/agenticops/skills/anomaly-detection
Command: npx skills add https://github.com/aws-samples/sample-oh-my-aidlcops --skill anomaly-detection-aws-samples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires awslabs.cloudwatch-mcp-server, awslabs.prometheus-mcp-server, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the detection of statistical anomalies in CloudWatch and Prometheus metrics, providing input sources for incident response.

Core Features & Use Cases

  • Statistical Anomaly Detection: Automatically detects statistical anomalies in CloudWatch and Prometheus metrics.
  • Incident Response Integration: Provides input sources for incident response based on detected anomalies.
  • Use Case: Quickly identify and respond to critical issues in your infrastructure by automatically detecting anomalies in key metrics.

Quick Start

Use the anomaly-detection skill to monitor the 'Error Rate' metric for the 'rag-qa-agent' service.

Frequently Asked Questions about anomaly-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect statistical anomalies in CloudWatch and Prometheus metrics?

This Skill detects statistical anomalies in CloudWatch and Prometheus metrics by executing Python scripts to identify deviations. It serves as an input source for incident response systems to act on detected metric anomalies.

Can I automate incident response using anomaly detection for infrastructure metrics?

You can automate incident response by integrating detected statistical anomalies in CloudWatch and Prometheus metrics with your response systems. The Skill processes metric data using Python libraries to provide actionable insights for quick issue resolution.

What is needed to run anomaly detection on Prometheus and CloudWatch data?

Running anomaly detection requires access to CloudWatch and Prometheus metrics, the ability to execute Python scripts, and the awslabs.cloudwatch-mcp-server and awslabs.prometheus-mcp-server dependencies configured in your environment.

How do I monitor error rate metrics for statistical anomalies?

You monitor error rate metrics for statistical anomalies by applying the anomaly detection Skill to specific services like 'rag-qa-agent'. It analyzes the metric data using Python libraries to automatically identify statistical deviations.

Does this anomaly detection approach work with both CloudWatch and Prometheus simultaneously?

The anomaly detection works with both CloudWatch and Prometheus simultaneously. It integrates with both platforms through their respective MCP servers to detect statistical anomalies across your infrastructure metrics for incident response.