root-cause-analysis

Collect metrics, logs, and events to infer causal relationships and generate RCA reports.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the root cause analysis of incidents by collecting relevant metrics, logs, events, and change histories, and inferring causal relationships to identify the root cause.

Core Features & Use Cases

  • Incident Analysis: Automatically collects metrics, logs, events, and change histories related to incidents.
  • Causal Relationship Inference: Infers causal relationships between events and identifies the root cause.
  • Timeline Reconstruction: Reconstructs the timeline of events leading up to the incident.
  • Dependency Graph Traversal: Traverses the dependency graph of affected services to trace the propagation path of the incident.
  • RCA Report Generation: Generates a structured RCA report with the root cause, confidence level, and recommendations.
  • Use Case: Imagine you have a critical incident in your production environment. Use this Skill to automatically analyze the incident, identify the root cause, and generate a report with recommendations for resolution.

Quick Start

Use the root-cause-analysis skill to analyze the incident with ID 'sev2-20260508-1405'.

Frequently Asked Questions about root-cause-analysis

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

FAQPage Schema
How does automated root cause analysis infer causal relationships during incident response?

Root cause analysis automates incident response by collecting metrics, logs, events, and change histories, inferring causal relationships between events, and reconstructing the timeline to identify the root cause.

Can I use this to traverse dependency graphs and trace incident propagation paths in EKS?

Yes, root cause analysis traverses the dependency graph of affected services to trace the incident propagation path, requiring access to cloud monitoring, logging services, and knowledge of the affected infrastructure.

Do I need CloudWatch and Prometheus MCP servers to generate an RCA report?

Yes, generating an RCA report requires access to cloud monitoring and logging services, specifically depending on the awslabs.cloudwatch-mcp-server, awslabs.prometheus-mcp-server, and awslabs.eks-mcp-server dependencies.

What is the best way to reconstruct the event timeline for a critical production incident?

The best way to reconstruct an event timeline is using root cause analysis, which automatically collects relevant event histories and infers causal relationships to generate a structured report with confidence levels and recommendations.

How do I analyze an incident with a specific ID to find the root cause?

To analyze an incident, use the root cause analysis skill with the specific incident ID, such as 'sev2-20260508-1405', to automatically collect data, infer relationships, and generate a resolution report.