[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6NR0S4AYC1JH5JAVFC35F":3,"skill-same:01M7A6NR0S4AYC1JH5JAVFC35F":138},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7A6NR0S4AYC1JH5JAVFC35F","devops-guru-troubleshooter",null,"Diagnoses Amazon DevOps Guru insights across Proactive and Reactive categories. Covers insight types (Proactive=anomalous behavior, Reactive=operational issue), severity (High\u002FMedium\u002FLow), resource coverage (CloudFormation stacks, Auto Scaling groups, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild), analysis categories (performance, availability, cost, configuration), recommendation implementation, false positive suppression. Latest: DevOps Guru for RDS\u002FCodeBuild\u002F Lambda, server-side encryption analysis, event-based insights. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a DevOps Guru insight is OPEN or investigating performance\u002Favailability anomalies flagged by the service.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: devops-guru-troubleshooter\ndescription: 'Diagnoses Amazon DevOps Guru insights across Proactive and Reactive categories. Covers insight types (Proactive=anomalous behavior, Reactive=operational issue), severity (High\u002FMedium\u002FLow), resource coverage (CloudFormation stacks, Auto Scaling groups, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild), analysis categories (performance, availability, cost, configuration), recommendation implementation, false positive suppression. Latest: DevOps Guru for RDS\u002FCodeBuild\u002F Lambda, server-side encryption analysis, event-based insights. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a DevOps Guru insight is OPEN or investigating performance\u002Favailability anomalies flagged by the service.'\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). Offline diagnosis works on supplied describe-insight \u002F list-recommendations JSON. Live-account diagnosis uses aws devops-guru describe-insight, list-anomalies-for-insight, list-recommendations, describe-resource-health, and aws logs filter-log-events for correlated CloudWatch Logs (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  task_type: troubleshoot\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: devops-guru, management, troubleshoot, insight, proactive, reactive, anomaly, recommendation\n  dependencies: aws-orchestrator\n  keywords: DevOps Guru, insight, Proactive, Reactive, anomalous behavior, operational issue, severity, High, Medium, Low, CloudFormation, Auto Scaling group, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild, performance, availability, cost, configuration, recommendation, false positive, server-side encryption\n  when_to_use: Invoke when the user is investigating an Amazon DevOps Guru insight (OPEN or recently resolved), needs to map an insight to a root cause, wants to implement or validate a DevOps Guru recommendation, needs to suppress false positives, or is onboarding DevOps Guru to a new resource set (CloudFormation stacks, Auto Scaling groups, RDS, Lambda, ECS). Do NOT invoke for CloudWatch alarm triage (use cloudwatch-alarm-operator), or for general performance analysis without a DevOps Guru insight context.\n---\n\n# DevOps Guru Troubleshooter\n\nAn AWS CloudOps agent skill that diagnoses Amazon DevOps Guru insights.\nThe skill walks the operator from an insight ID through severity\nclassification, resource\u002Fanalysis categorization, anomaly correlation,\nrecommendation evaluation, and root-cause determination. It emits a\nROOT_CAUSE_FOUND verdict with evidence from describe-insight,\nlist-anomalies-for-insight, and list-recommendations.\n\n## What this skill does\n\nDiagnoses DevOps Guru insights: classifies Proactive (anomalous\nbehavior detected by ML) vs Reactive (operational issue already\noccurring), maps the insight to a resource category (CloudFormation\nstack, Auto Scaling group, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild),\nidentifies the analysis category (performance, availability, cost,\nconfiguration), evaluates the recommendations, and decides whether to\nimplement, suppress, or escalate.\n\n## Activation\n\nTrigger phrases: \"DevOps Guru insight\", \"proactive insight\", \"reactive\ninsight\", \"DevOps Guru anomaly\", \"DevOps Guru recommendation\", \"DevOps\nGuru false positive\", \"DevOps Guru for RDS\", \"DevOps Guru for Lambda\",\n\"DevOps Guru CodeBuild\", \"insight severity high\", \"DevOps Guru resource\ncollection\", \"server-side encryption analysis\".\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a DevOps Guru insight, the agent MUST\nrespond with the diagnostic block defined in §\"STRICT output contract\"\nusing the literal all-caps labels `INSIGHT:`, `VERDICT:`,\n`ROOT_CAUSE:`, `EVIDENCE:`, and `REMEDIATION:`. Do NOT preface the\nblock with prose, headings, or disclaimers — emit the block as the\nfirst lines of the response. This contract is what assertion-based\nevals and downstream diagnostic pipelines rely on.\n\n## Mindset\n\n**One-line takeaway:** DevOps Guru insights are ML-detected signals,\nnot root causes. The insight tells you WHAT is anomalous (a resource's\nbehavior deviates from baseline); the operator's job is to walk from\nthe anomaly to the underlying cause (code change, capacity exhaustion,\nmisconfiguration, dependency failure). The insight itself rarely names\nthe root cause directly.\n\nThree misconceptions dominate DevOps Guru troubleshooting:\n\n- **\"DevOps Guru tells me the root cause.\"** It does not. It tells you\n  that an anomaly exists (Proactive) or that an operational issue is\n  occurring (Reactive). The `Name` and `Description` fields describe\n  the SYMPTOM. The `Recommendations` are best-effort heuristics, not\n  authoritative diagnoses. Always correlate with CloudWatch metrics,\n  CloudTrail events, and deployment history.\n\n- **\"Proactive insights are less urgent than Reactive.\"** Proactive\n  insights are ML-detected anomalies that have NOT yet caused an\n  operational issue — they are EARLY WARNINGS. A Proactive insight\n  with High severity often precedes a Reactive incident by hours or\n  days. Treat Proactive=High with the same urgency as Reactive=Medium.\n\n- **\"Recommendations are safe to apply automatically.\"** DevOps Guru\n  recommendations include generic guidance (\"consider adding a CloudWatch\n  alarm\", \"review the IAM policy\") and specific actions (\"increase the\n  Auto Scaling group maximum\"). Always evaluate the recommendation\n  against the actual root cause before applying — a recommendation\n  generated from a symptom (high CPU) may address the symptom\n  (scale out) without addressing the cause (a code regression causing\n  CPU spin).\n\n## Quick navigation\n\n- **Step 0** — Capture the insight (insight ID, region, account).\n- **Step 1** — Classify insight type (Proactive vs Reactive).\n- **Step 2** — Read severity (High \u002F Medium \u002F Low) and urgency.\n- **Step 3** — Map resource category (CFN stack, ASG, ALB, RDS, etc.).\n- **Step 4** — Identify analysis category (performance, availability,\n  cost, configuration).\n- **Step 5** — Correlate anomalies (`list-anomalies-for-insight`).\n- **Step 6** — Evaluate recommendations (`list-recommendations`).\n- **Step 7** — Cross-reference CloudWatch metrics + CloudTrail + deploy\n  history.\n- **Step 8** — Decide: implement \u002F suppress \u002F escalate.\n- **Step 9** — Decide VERDICT (ROOT_CAUSE_FOUND \u002F NEED_MORE_INFO \u002F\n  ESCALATE).\n\n## STRICT output contract\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nINSIGHT: \u003Cinsight ID> in \u003Cregion> — \u003CInsightType + InsightSeverity + Name>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nROOT_CAUSE: \u003CInsightCategory> — \u003Cone-sentence specific root cause>\nEVIDENCE:\n  - describe-insight: \u003Cquoted InsightType, Severity, Status, Name>\n  - list-anomalies-for-insight: \u003Cquoted anomaly descriptions and sources>\n  - list-recommendations: \u003Cquoted recommendation text, with ARN>\n  - CloudWatch correlation: \u003Cmetric + datapoint>\n  - CloudTrail correlation: \u003Cevent source + event name + time>\nRESOURCE_CATEGORY: #\u003CN>\nANALYSIS_CATEGORY: \u003CPERFORMANCE | AVAILABILITY | COST | CONFIGURATION>\nREMEDIATION:\n  1. \u003Cexact action — code change, config update, capacity adjustment>\n  2. \u003Cverification command or CloudWatch metric>\n  3. \u003Cpost-apply monitoring step>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll investigate…\" — the\n  INSIGHT line is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `ROOT_CAUSE_FOUND`,\n  `NEED_MORE_INFO`, or `ESCALATE`.\n- NEVER declare `ROOT_CAUSE_FOUND` without quoting evidence from at\n  least TWO sources (describe-insight + one of: anomalies,\n  recommendations, CloudWatch, CloudTrail). A single-source diagnosis\n  is a hypothesis, not a root cause.\n- NEVER auto-apply a recommendation without evaluating it against the\n  root cause. DevOps Guru recommendations address symptoms; the root\n  cause may require a different fix (code change vs capacity scale).\n- NEVER suppress an insight as a \"false positive\" without documenting\n  the suppression rationale. Suppression without a paper trail\n  guarantees the same insight will recur and be re-investigated from\n  scratch.\n\n## Insight type decision tree\n\n| InsightType | What it means | Diagnostic step |\n|---|---|---|\n| `PROACTIVE` | ML detected anomalous behavior — has NOT yet caused an outage | Step 1A |\n| `REACTIVE` | An operational issue IS occurring or recently occurred | Step 1B |\n\n### Step 1A — Proactive insight diagnostic\n\nProactive insights surface anomalies detected by the ML model against\nthe trailing 14-day baseline. Common patterns:\n\n| Proactive pattern (read from `Name` + anomalies) | Likely root cause | Probe |\n|---|---|---|\n| \"High latency on ALB\" with elevated `TargetResponseTime` | Backend slow-down (DB, downstream API, thread pool exhaustion) | CloudWatch `TargetResponseTime`, RDS `DatabaseConnections` \u002F `CPUUtilization`, application logs |\n| \"Increased error rate\" with elevated `HTTPCode_Target_5XX_Count` | Code regression (latest deployment), downstream dependency failure, capacity exhaustion | Deployment history (CodeDeploy \u002F CodePipeline), CloudTrail `error` events, dependency health |\n| \"Anomalous API throttle\" with elevated `ThrottleCount` | API gateway usage plan exceeded, downstream service throttling, burst traffic | CloudWatch API Gateway `4XXErrors`, application logs |\n| \"Low RDS connection count\" with dropping `DatabaseConnections` | Application connection pool misconfiguration, failover event, security group change | RDS events, CloudTrail `ModifyDBInstance` \u002F `ModifySecurityGroup` |\n| \"Resource saturation\" with high `CPUUtilization` \u002F `Memory` | Capacity exhaustion, hot shard, runaway process | CloudWatch EC2\u002FECS\u002FLambda metrics, application profiler |\n| \"SSE-KMS configuration anomaly\" (2024-2025 feature) | KMS key disabled, key policy changed, cross-region replication with missing key | CloudTrail `DisableKey` \u002F `PutKeyPolicy`, KMS `KeyState` |\n\n**Diagnostic walk:**\n1. Read `describe-insight` for the full `Name`, `Description`, and\n   `InsightTimeRange`.\n2. Call `list-anomalies-for-insight` — each anomaly includes the\n   `Source` (CloudWatch metric, CloudTrail event) and the\n   `Data` (time series showing the deviation from baseline).\n3. Correlate the anomaly time range with deployment history. Most\n   Proactive=High insights that turn into Reactive incidents are\n   caused by a code or config change in the trailing 24-48 hours.\n\n### Step 1B — Reactive insight diagnostic\n\nReactive insights surface operational issues that ARE occurring (an\nALB returning 5xx, an ASG unable to launch instances, an RDS failover).\nThese are higher-urgency than Proactive.\n\n| Reactive pattern | Likely root cause | Probe |\n|---|---|---|\n| \"ALB 5xx error rate\" | Backend target returning 5xx (application error, timeout, health check failure) | CloudWatch `HTTPCode_Target_5XX_Count`, target group health, application error logs |\n| \"ASG launch failures\" | Capacity (instance type unavailable in AZ), AMI not found, IAM instance profile missing, subnet out of IP | ASG activity history, CloudTrail `RunInstances`, EC2 `DescribeInstances` for failed launches |\n| \"RDS failover initiated\" | Multi-AZ failover (primary failure, AZ outage, storage failure) | RDS event subscription, CloudTrail `FailoverDBCluster` \u002F `RebootDBInstance` |\n| \"Lambda throttling\" | Concurrency limit reached (account-level or reserved) | CloudWatch `Throttles`, Lambda concurrent executions, reserved concurrency config |\n| \"ECS task stop\" | Container exit (OOM, health check fail, deregistration), host failure | ECS `TaskStopCode`, `StoppedReason`, container logs |\n| \"DynamoDB throttling\" | Hot partition, insufficient capacity (PROVISIONED), GSI cascade | CloudWatch `ThrottledRequests`, DynamoDB `ConsumedCapacityUnits` per partition |\n\n**Diagnostic walk:**\n1. Read `describe-insight` — the `Name` names the operational issue.\n2. Call `list-anomalies-for-insight` for the correlated metrics\u002Fevents.\n3. Cross-reference CloudTrail for the same time range — Reactive\n   insights often correlate with a specific API event (deployment,\n   config change, infrastructure event).\n\n## Step 2 — Read severity and urgency\n\n| Severity | Proactive meaning | Reactive meaning | Response SLA |\n|---|---|---|---|\n| `HIGH` | Anomaly strongly suggests an impending incident; the ML confidence is high and the deviation is large | Operational issue is actively degrading user experience or system availability | Immediate — investigate now |\n| `MEDIUM` | Anomaly is notable but the deviation is moderate; may self-resolve or escalate | Operational issue is marginal; some users affected but system is functional | Same business day |\n| `LOW` | Anomaly is minor; informational only | Operational issue is resolved or was transient | Next business day |\n\n**Precedence rule:** when multiple insights are OPEN simultaneously on\nrelated resources (e.g., an ASG insight + an ALB insight + an RDS\ninsight), the ALB\u002FRDS insight is usually the root cause and the ASG\ninsight is the downstream symptom. Investigate the infrastructure-layer\ninsight first.\n\n## Step 3 — Map resource category\n\nDevOps Guru groups insights by resource. The resource category drives\nthe diagnostic path.\n\n| Resource category | Typical InsightType | Diagnostic probe |\n|---|---|---|\n| CloudFormation stack | PROACTIVE \u002F REACTIVE | `aws cloudformation describe-stack-events`, drift detection |\n| Auto Scaling group | PROACTIVE \u002F REACTIVE | `aws autoscaling describe-scaling-activities`, ASG activity history |\n| ALB \u002F Target Group | PROACTIVE \u002F REACTIVE | CloudWatch ALB metrics, target health |\n| RDS (DevOps Guru for RDS, 2024) | PROACTIVE \u002F REACTIVE | RDS Performance Insights, RDS events |\n| DynamoDB table | PROACTIVE | CloudWatch `ThrottledRequests`, `ConsumedCapacityUnits` |\n| Lambda function | PROACTIVE \u002F REACTIVE | CloudWatch Lambda metrics, Lambda Insights |\n| ECS cluster \u002F service | PROACTIVE \u002F REACTIVE | ECS task metrics, container insights |\n| CodeBuild project (2024-2025) | PROACTIVE | CodeBuild build history, build duration anomalies |\n\n## Step 4 — Identify analysis category\n\nDevOps Guru classifies each insight into one of four analysis\ncategories:\n\n| AnalysisCategory | Meaning | Example |\n|---|---|---|\n| `PERFORMANCE` | Latency, throughput, resource saturation | \"Increased ALB latency\", \"RDS CPU saturation\" |\n| `AVAILABILITY` | Errors, failures, outages | \"ALB 5xx errors\", \"ASG launch failures\", \"Lambda throttling\" |\n| `COST` | Unusual spend pattern (2024-2025 enhancement) | \"DynamoDB cost anomaly\", \"Unexpected EC2 spend\" |\n| `CONFIGURATION` | Misconfiguration detected (e.g., SSE-KMS missing, IAM drift) | \"S3 bucket without SSE-KMS\", \"Security group open to 0.0.0.0\u002F0\" |\n\n**Latest analysis additions (2024-2026):**\nThe two latest analysis additions (SSE-KMS server-side encryption analysis, per-resource cost analysis) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad them when the insight analysis category is COST or CONFIGURATION.\n\n## Step 5 — Correlate anomalies (`list-anomalies-for-insight`)\n\n```bash\naws devops-guru list-anomalies-for-insight \\\n  --region \u003Cregion> \\\n  --insight-id \u003Cinsight-id> \\\n  --start-time-range '{From=2026-08-01T00:00:00Z,To=2026-08-10T23:59:59Z}' \\\n  --query 'ProactiveAnomalies[*].{name:Name,source:Source,severity:Severity}' \\\n  --output table\n```\n\nEach anomaly includes:\n- `Name` — short description of the anomalous metric or event.\n- `Source` — the metric namespace + metric name, or the CloudTrail\n  event source.\n- `Data` — time series showing the deviation from baseline.\n- `Severity` — anomaly-level severity (may differ from insight severity).\n\n**Cross-reference with CloudWatch:**\n\n```bash\n# Get the actual metric values for the anomaly time range\naws cloudwatch get-metric-statistics \\\n  --namespace AWS\u002FApplicationELB \\\n  --metric-name TargetResponseTime \\\n  --dimensions Name=LoadBalancer,Value=app\u002Fmy-alb\u002F1234567890 \\\n  --start-time 2026-08-09T00:00:00Z \\\n  --end-time 2026-08-10T00:00:00Z \\\n  --period 300 --statistics Average \\\n  --query 'Datapoints[*].[Timestamp,Average]' --output table\n```\n\n## Step 6 — Evaluate recommendations (`list-recommendations`)\n\n```bash\naws devops-guru list-recommendations \\\n  --region \u003Cregion> \\\n  --insight-id \u003Cinsight-id> \\\n  --query 'Recommendations[*].{name:Name,description:Description,category:Category,link:Link}' \\\n  --output table\n```\n\nRecommendations are categorized:\n- `AGGREGATE_OF_EVENT_LOGS` — based on CloudWatch Logs patterns.\n- `AGGREGATE_OF_METRICS` — based on CloudWatch metric patterns.\n- `DEPLOYMENT_FAILURE` — based on deployment events.\n- `LOG_PATTERN` — based on specific log patterns.\n\n**Evaluation framework:**\n\n| Recommendation type | When to apply directly | When to investigate further |\n|---|---|---|\n| Specific action (e.g., \"increase ASG max to 20\") | When the anomaly is capacity-driven and the root cause is traffic growth | When a code change is the root cause — scaling masks but does not fix |\n| Generic guidance (e.g., \"consider adding a CloudWatch alarm\") | When the insight is informational | Always — generic recommendations rarely fix the root cause |\n| `DEPLOYMENT_FAILURE` | When the deployment correlates with the insight start time | When multiple deployments occurred — identify the specific one |\n| `LOG_PATTERN` | When the pattern points to a known error | When the pattern is novel — capture and route to the application team |\n\n## Step 7 — Cross-reference CloudTrail + deployment history\n\nThe most common root cause of a DevOps Guru insight is a **change**\n(code deployment, config update, infrastructure modification) in the\ntrailing 24-48 hours.\n\n```bash\n# CloudTrail events in the insight time range\naws cloudtrail lookup-events \\\n  --lookup-attributes AttributeKey=EventName,AttributeValue=UpdateStack \\\n  --start-time 2026-08-09T00:00:00Z \\\n  --end-time 2026-08-10T00:00:00Z \\\n  --query 'Events[*].[EventTime,Username,EventName,ResourceName]' \\\n  --output table\n\n# CodePipeline \u002F CodeDeploy deployment history\naws deploy list-deployments \\\n  --application-name \u003Capp> \\\n  --create-time-range start=2026-08-09T00:00:00Z,end=2026-08-10T00:00:00Z\n\naws codepipeline list-pipeline-executions \\\n  --pipeline-name \u003Cpipeline> \\\n  --query 'pipelineExecutionSummaries[*].[startTime,status,sourceRevisions]' \\\n  --output table\n```\n\n**Change-correlation heuristic:** if a deployment or config change\noccurred within 1-2 hours of the `InsightTimeRange.StartTime`, that\nchange is the leading hypothesis for the root cause.\n\n## Step 8 — Decide: implement \u002F suppress \u002F escalate\n\n| Decision | Criteria | Action |\n|---|---|---|\n| **Implement recommendation** | Root cause is confirmed and the recommendation addresses the root cause (not just the symptom) | Apply the recommendation; verify via CloudWatch; close insight |\n| **Implement different fix** | Root cause is confirmed but the recommendation addresses the symptom | Apply the root-cause-specific fix (code change, config update); document why the recommendation was not followed |\n| **Suppress as false positive** | Anomaly is confirmed benign (known maintenance window, expected traffic pattern, test environment noise) | Document the rationale; do NOT use the console \"dismiss\" alone — use the runbook to add the resource or metric pattern to the suppression list |\n| **Escalate** | Root cause is outside the operator's scope (AWS-side issue, cross-team dependency, security incident) | Escalate to the appropriate team with the evidence block; mark the insight for tracking |\n\n**False positive suppression patterns:**\n\n| Pattern | When it is a false positive | Suppression approach |\n|---|---|---|\n| Traffic spike during known marketing event | Pre-announced event; traffic spike is expected | Tag the resource with `DevOpsGuru:SuppressedReason` and add a CloudWatch alarm annotation |\n| Test environment noise | Non-production; insights are informational | Set the DevOps Guru `ResourceCollection` to exclude the test account\u002Ftags |\n| Scheduled maintenance (deployments, backups) | Maintenance window is known and approved | Use CloudWatch Events to annotate the time range; DevOps Guru does not auto-suppress maintenance windows |\n| Resource right-sizing after scale-down | Post-scale-down metrics look \"anomalous\" against the pre-scale-down baseline | Wait 14 days for the baseline to retrain; if urgency is low, let it self-resolve |\n\n## Step 9 — Decide VERDICT\n\n- **ROOT_CAUSE_FOUND.** The diagnostic walk identified a specific root\n  cause (code change, capacity exhaustion, config change, dependency\n  failure) supported by evidence from at least two sources. Output\n  REMEDIATION with the exact action.\n- **NEED_MORE_INFO.** The walk reached a step where evidence is\n  insufficient (e.g., CloudWatch metrics unavailable, CloudTrail not\n  configured for the relevant API, application logs not shipped to\n  CloudWatch). Output the list of missing inputs.\n- **ESCALATE.** The root cause is outside the operator's scope: an\n  AWS-side incident, a cross-team dependency, a security finding.\n  Output the escalation target and the specific request.\n\n## Output format\n\n```text\nINSIGHT: \u003Cinsight ID> in \u003Cregion> — \u003CInsightType + InsightSeverity + Name>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nROOT_CAUSE: \u003CInsightCategory> — \u003Cspecific root cause in one sentence>\nEVIDENCE:\n  - describe-insight: \u003CInsightType, Severity, Status, Name>\n  - list-anomalies-for-insight: \u003Canomaly name + source + deviation>\n  - list-recommendations: \u003Crecommendation category + text>\n  - CloudWatch correlation: \u003Cmetric + datapoint>\n  - CloudTrail correlation: \u003Cevent + time + user>\nRESOURCE_CATEGORY: #\u003CN>\nANALYSIS_CATEGORY: \u003CPERFORMANCE | AVAILABILITY | COST | CONFIGURATION>\nREMEDIATION:\n  1. \u003Cexact action>\n  2. \u003Cverification command or metric>\n  3. \u003Cpost-apply monitoring>\n```\n\n### Worked example — Proactive performance insight (ALB latency)\n\n```text\nINSIGHT: x-1234abcd in us-east-1 — PROACTIVE \u002F HIGH \u002F \"Increased latency on ALB app\u002Fmy-alb\"\nVERDICT: ROOT_CAUSE_FOUND\nROOT_CAUSE: PERFORMANCE — Code deployment at 2026-08-09T14:32Z introduced an N+1 query in the \u002Fcheckout handler, increasing RDS query latency 8x and propagating to ALB TargetResponseTime\nEVIDENCE:\n  - describe-insight: PROACTIVE, HIGH, OPEN, \"Increased latency on ALB app\u002Fmy-alb\", StartTime 2026-08-09T14:35Z\n  - list-anomalies-for-insight: Anomaly \"TargetResponseTime\" source AWS\u002FApplicationELB, p99 elevated from 200ms baseline to 1800ms starting 14:35Z\n  - list-recommendations: AGGREGATE_OF_METRICS — \"Investigate the backend service for increased processing time\" (generic, addresses symptom not root cause)\n  - CloudWatch correlation: AWS\u002FRDS DatabaseConnections elevated from 50 to 380 (connection pool exhaustion); CPUUtilization 92%\n  - CloudTrail correlation: CodeDeploy deployment event at 2026-08-09T14:32Z, application=my-app, revision=abc123\nRESOURCE_CATEGORY: ALB + RDS (downstream)\nANALYSIS_CATEGORY: PERFORMANCE\nREMEDIATION:\n  1. Roll back the CodeDeploy deployment to the previous revision\n  2. Verify ALB TargetResponseTime returns to baseline (\u003C300ms) within 10 minutes\n  3. Fix the N+1 query in the \u002Fcheckout handler before redeploying; add a CloudWatch alarm on p99 TargetResponseTime > 500ms\n```\n\n## NEVER do these things (top)\n\n1. **NEVER treat the DevOps Guru insight `Name` or `Description` as the\n   root cause.** They describe the SYMPTOM (anomalous behavior, elevated\n   error rate). The root cause is the underlying change, failure, or\n   misconfiguration that CAUSED the anomaly. Always correlate with\n   CloudTrail and deployment history to identify the proximate change.\n\n2. **NEVER auto-apply a DevOps Guru recommendation without evaluating\n   it against the root cause.** Recommendations are heuristic — they\n   address the symptom (scale out, add an alarm) not necessarily the\n   root cause (a code regression). Scaling out masks the regression\n   but the regression persists and will recur under higher load.\n\n3. **NEVER suppress an insight as a \"false positive\" without\n   documenting the suppression rationale in a runbook or ticket.**\n   Console \"dismiss\" is ephemeral; the same insight will recur when\n   the ML model retrains. Use resource tags or `ResourceCollection`\n   filters for durable suppression, and record the reason.\n\n4. **NEVER declare `ROOT_CAUSE_FOUND` based on a single evidence\n   source.** The describe-insight field alone is a symptom description.\n   Always correlate with at least one additional source:\n   list-anomalies-for-insight (metric deviation),\n   list-recommendations (heuristic), CloudWatch (actual metric values),\n   or CloudTrail (change events). Single-source diagnosis is a\n   hypothesis.\n\n5. **NEVER treat Proactive insights as low-priority by default.**\n   Proactive=HIGH insights are ML-detected anomalies with high\n   confidence that an incident is impending. They often precede\n   Reactive incidents by hours or days. A Proactive=HIGH on a\n   production resource deserves the same urgency as a Reactive=MEDIUM.\n\n(Additional: never rely solely on `InsightSeverity` for response\nprioritization without reading the `Name` — a LOW severity insight on\na payment-processing resource may matter more than a HIGH on a dev\nsandbox. Never skip the deployment history check — the majority of\nProactive insights correlate with a recent code or config change.\nNever assume DevOps Guru covers ALL resources — coverage requires\nexplicit `ResourceCollection` config or CloudFormation stack tagging.)\n\n## Expert heuristic: change-correlation is the leading root-cause signal\n\nExpert heuristic content — the 70\u002F30 change-correlation statistics, the six-step change-correlation procedure, and the 2-hour window rationale — moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when Step 7 finds a candidate change near the InsightTimeRange start.\n\n## Expert heuristic: RESOURCE_CATEGORY determines the diagnostic path\n\nExpert heuristic content — the resource-category to diagnostic-path mapping table (ALB, RDS, Lambda, ECS, DynamoDB, ASG, CodeBuild first\u002Fsecond probes) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when choosing resource-specific probes for Step 5.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026) — DevOps Guru for RDS, CodeBuild, enhanced Lambda analysis, SSE analysis, cost analysis, event-based insights — moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when an insight references a 2024+ capability or the list-events API.\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert heuristics (change correlation, resource-category diagnostic paths), 2024-2026 analysis additions, and Recent AWS features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — full live-account diagnostic command listings (Steps 0-9 and verification after remediation)\n- [references\u002Finsight-catalog-and-decision-tree.md](references\u002Finsight-catalog-and-decision-tree.md) — insight-type catalog, severity response matrix, suppression patterns, decision tree\n\n## Domain\n\nAWS CloudOps \u002F Management — AIOps Insight Triage & Remediation.\n\n## AWS documentation\n\n- **Amazon DevOps Guru User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fwelcome.html\n- **DevOps Guru insights** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-insights.html\n- **DevOps Guru recommendations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-recommendations.html\n- **DevOps Guru for RDS** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-rds.html\n- **DevOps Guru CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fdevops-guru\u002F\n- **DevOps Guru pricing** — https:\u002F\u002Faws.amazon.com\u002Fdevops-guru\u002Fpricing\u002F\n- **DevOps Guru resource coverage** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-cw.html\n","# DevOps Guru Troubleshooter\n\nAn AWS CloudOps agent skill that diagnoses Amazon DevOps Guru insights.\nThe skill walks the operator from an insight ID through severity\nclassification, resource\u002Fanalysis categorization, anomaly correlation,\nrecommendation evaluation, and root-cause determination. It emits a\nROOT_CAUSE_FOUND verdict with evidence from describe-insight,\nlist-anomalies-for-insight, and list-recommendations.\n\n## What this skill does\n\nDiagnoses DevOps Guru insights: classifies Proactive (anomalous\nbehavior detected by ML) vs Reactive (operational issue already\noccurring), maps the insight to a resource category (CloudFormation\nstack, Auto Scaling group, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild),\nidentifies the analysis category (performance, availability, cost,\nconfiguration), evaluates the recommendations, and decides whether to\nimplement, suppress, or escalate.\n\n## Activation\n\nTrigger phrases: \"DevOps Guru insight\", \"proactive insight\", \"reactive\ninsight\", \"DevOps Guru anomaly\", \"DevOps Guru recommendation\", \"DevOps\nGuru false positive\", \"DevOps Guru for RDS\", \"DevOps Guru for Lambda\",\n\"DevOps Guru CodeBuild\", \"insight severity high\", \"DevOps Guru resource\ncollection\", \"server-side encryption analysis\".\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a DevOps Guru insight, the agent MUST\nrespond with the diagnostic block defined in §\"STRICT output contract\"\nusing the literal all-caps labels `INSIGHT:`, `VERDICT:`,\n`ROOT_CAUSE:`, `EVIDENCE:`, and `REMEDIATION:`. Do NOT preface the\nblock with prose, headings, or disclaimers — emit the block as the\nfirst lines of the response. This contract is what assertion-based\nevals and downstream diagnostic pipelines rely on.\n\n## Mindset\n\n**One-line takeaway:** DevOps Guru insights are ML-detected signals,\nnot root causes. The insight tells you WHAT is anomalous (a resource's\nbehavior deviates from baseline); the operator's job is to walk from\nthe anomaly to the underlying cause (code change, capacity exhaustion,\nmisconfiguration, dependency failure). The insight itself rarely names\nthe root cause directly.\n\nThree misconceptions dominate DevOps Guru troubleshooting:\n\n- **\"DevOps Guru tells me the root cause.\"** It does not. It tells you\n  that an anomaly exists (Proactive) or that an operational issue is\n  occurring (Reactive). The `Name` and `Description` fields describe\n  the SYMPTOM. The `Recommendations` are best-effort heuristics, not\n  authoritative diagnoses. Always correlate with CloudWatch metrics,\n  CloudTrail events, and deployment history.\n\n- **\"Proactive insights are less urgent than Reactive.\"** Proactive\n  insights are ML-detected anomalies that have NOT yet caused an\n  operational issue — they are EARLY WARNINGS. A Proactive insight\n  with High severity often precedes a Reactive incident by hours or\n  days. Treat Proactive=High with the same urgency as Reactive=Medium.\n\n- **\"Recommendations are safe to apply automatically.\"** DevOps Guru\n  recommendations include generic guidance (\"consider adding a CloudWatch\n  alarm\", \"review the IAM policy\") and specific actions (\"increase the\n  Auto Scaling group maximum\"). Always evaluate the recommendation\n  against the actual root cause before applying — a recommendation\n  generated from a symptom (high CPU) may address the symptom\n  (scale out) without addressing the cause (a code regression causing\n  CPU spin).\n\n## Quick navigation\n\n- **Step 0** — Capture the insight (insight ID, region, account).\n- **Step 1** — Classify insight type (Proactive vs Reactive).\n- **Step 2** — Read severity (High \u002F Medium \u002F Low) and urgency.\n- **Step 3** — Map resource category (CFN stack, ASG, ALB, RDS, etc.).\n- **Step 4** — Identify analysis category (performance, availability,\n  cost, configuration).\n- **Step 5** — Correlate anomalies (`list-anomalies-for-insight`).\n- **Step 6** — Evaluate recommendations (`list-recommendations`).\n- **Step 7** — Cross-reference CloudWatch metrics + CloudTrail + deploy\n  history.\n- **Step 8** — Decide: implement \u002F suppress \u002F escalate.\n- **Step 9** — Decide VERDICT (ROOT_CAUSE_FOUND \u002F NEED_MORE_INFO \u002F\n  ESCALATE).\n\n## STRICT output contract\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nINSIGHT: \u003Cinsight ID> in \u003Cregion> — \u003CInsightType + InsightSeverity + Name>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nROOT_CAUSE: \u003CInsightCategory> — \u003Cone-sentence specific root cause>\nEVIDENCE:\n  - describe-insight: \u003Cquoted InsightType, Severity, Status, Name>\n  - list-anomalies-for-insight: \u003Cquoted anomaly descriptions and sources>\n  - list-recommendations: \u003Cquoted recommendation text, with ARN>\n  - CloudWatch correlation: \u003Cmetric + datapoint>\n  - CloudTrail correlation: \u003Cevent source + event name + time>\nRESOURCE_CATEGORY: #\u003CN>\nANALYSIS_CATEGORY: \u003CPERFORMANCE | AVAILABILITY | COST | CONFIGURATION>\nREMEDIATION:\n  1. \u003Cexact action — code change, config update, capacity adjustment>\n  2. \u003Cverification command or CloudWatch metric>\n  3. \u003Cpost-apply monitoring step>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll investigate…\" — the\n  INSIGHT line is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `ROOT_CAUSE_FOUND`,\n  `NEED_MORE_INFO`, or `ESCALATE`.\n- NEVER declare `ROOT_CAUSE_FOUND` without quoting evidence from at\n  least TWO sources (describe-insight + one of: anomalies,\n  recommendations, CloudWatch, CloudTrail). A single-source diagnosis\n  is a hypothesis, not a root cause.\n- NEVER auto-apply a recommendation without evaluating it against the\n  root cause. DevOps Guru recommendations address symptoms; the root\n  cause may require a different fix (code change vs capacity scale).\n- NEVER suppress an insight as a \"false positive\" without documenting\n  the suppression rationale. Suppression without a paper trail\n  guarantees the same insight will recur and be re-investigated from\n  scratch.\n\n## Insight type decision tree\n\n| InsightType | What it means | Diagnostic step |\n|---|---|---|\n| `PROACTIVE` | ML detected anomalous behavior — has NOT yet caused an outage | Step 1A |\n| `REACTIVE` | An operational issue IS occurring or recently occurred | Step 1B |\n\n### Step 1A — Proactive insight diagnostic\n\nProactive insights surface anomalies detected by the ML model against\nthe trailing 14-day baseline. Common patterns:\n\n| Proactive pattern (read from `Name` + anomalies) | Likely root cause | Probe |\n|---|---|---|\n| \"High latency on ALB\" with elevated `TargetResponseTime` | Backend slow-down (DB, downstream API, thread pool exhaustion) | CloudWatch `TargetResponseTime`, RDS `DatabaseConnections` \u002F `CPUUtilization`, application logs |\n| \"Increased error rate\" with elevated `HTTPCode_Target_5XX_Count` | Code regression (latest deployment), downstream dependency failure, capacity exhaustion | Deployment history (CodeDeploy \u002F CodePipeline), CloudTrail `error` events, dependency health |\n| \"Anomalous API throttle\" with elevated `ThrottleCount` | API gateway usage plan exceeded, downstream service throttling, burst traffic | CloudWatch API Gateway `4XXErrors`, application logs |\n| \"Low RDS connection count\" with dropping `DatabaseConnections` | Application connection pool misconfiguration, failover event, security group change | RDS events, CloudTrail `ModifyDBInstance` \u002F `ModifySecurityGroup` |\n| \"Resource saturation\" with high `CPUUtilization` \u002F `Memory` | Capacity exhaustion, hot shard, runaway process | CloudWatch EC2\u002FECS\u002FLambda metrics, application profiler |\n| \"SSE-KMS configuration anomaly\" (2024-2025 feature) | KMS key disabled, key policy changed, cross-region replication with missing key | CloudTrail `DisableKey` \u002F `PutKeyPolicy`, KMS `KeyState` |\n\n**Diagnostic walk:**\n1. Read `describe-insight` for the full `Name`, `Description`, and\n   `InsightTimeRange`.\n2. Call `list-anomalies-for-insight` — each anomaly includes the\n   `Source` (CloudWatch metric, CloudTrail event) and the\n   `Data` (time series showing the deviation from baseline).\n3. Correlate the anomaly time range with deployment history. Most\n   Proactive=High insights that turn into Reactive incidents are\n   caused by a code or config change in the trailing 24-48 hours.\n\n### Step 1B — Reactive insight diagnostic\n\nReactive insights surface operational issues that ARE occurring (an\nALB returning 5xx, an ASG unable to launch instances, an RDS failover).\nThese are higher-urgency than Proactive.\n\n| Reactive pattern | Likely root cause | Probe |\n|---|---|---|\n| \"ALB 5xx error rate\" | Backend target returning 5xx (application error, timeout, health check failure) | CloudWatch `HTTPCode_Target_5XX_Count`, target group health, application error logs |\n| \"ASG launch failures\" | Capacity (instance type unavailable in AZ), AMI not found, IAM instance profile missing, subnet out of IP | ASG activity history, CloudTrail `RunInstances`, EC2 `DescribeInstances` for failed launches |\n| \"RDS failover initiated\" | Multi-AZ failover (primary failure, AZ outage, storage failure) | RDS event subscription, CloudTrail `FailoverDBCluster` \u002F `RebootDBInstance` |\n| \"Lambda throttling\" | Concurrency limit reached (account-level or reserved) | CloudWatch `Throttles`, Lambda concurrent executions, reserved concurrency config |\n| \"ECS task stop\" | Container exit (OOM, health check fail, deregistration), host failure | ECS `TaskStopCode`, `StoppedReason`, container logs |\n| \"DynamoDB throttling\" | Hot partition, insufficient capacity (PROVISIONED), GSI cascade | CloudWatch `ThrottledRequests`, DynamoDB `ConsumedCapacityUnits` per partition |\n\n**Diagnostic walk:**\n1. Read `describe-insight` — the `Name` names the operational issue.\n2. Call `list-anomalies-for-insight` for the correlated metrics\u002Fevents.\n3. Cross-reference CloudTrail for the same time range — Reactive\n   insights often correlate with a specific API event (deployment,\n   config change, infrastructure event).\n\n## Step 2 — Read severity and urgency\n\n| Severity | Proactive meaning | Reactive meaning | Response SLA |\n|---|---|---|---|\n| `HIGH` | Anomaly strongly suggests an impending incident; the ML confidence is high and the deviation is large | Operational issue is actively degrading user experience or system availability | Immediate — investigate now |\n| `MEDIUM` | Anomaly is notable but the deviation is moderate; may self-resolve or escalate | Operational issue is marginal; some users affected but system is functional | Same business day |\n| `LOW` | Anomaly is minor; informational only | Operational issue is resolved or was transient | Next business day |\n\n**Precedence rule:** when multiple insights are OPEN simultaneously on\nrelated resources (e.g., an ASG insight + an ALB insight + an RDS\ninsight), the ALB\u002FRDS insight is usually the root cause and the ASG\ninsight is the downstream symptom. Investigate the infrastructure-layer\ninsight first.\n\n## Step 3 — Map resource category\n\nDevOps Guru groups insights by resource. The resource category drives\nthe diagnostic path.\n\n| Resource category | Typical InsightType | Diagnostic probe |\n|---|---|---|\n| CloudFormation stack | PROACTIVE \u002F REACTIVE | `aws cloudformation describe-stack-events`, drift detection |\n| Auto Scaling group | PROACTIVE \u002F REACTIVE | `aws autoscaling describe-scaling-activities`, ASG activity history |\n| ALB \u002F Target Group | PROACTIVE \u002F REACTIVE | CloudWatch ALB metrics, target health |\n| RDS (DevOps Guru for RDS, 2024) | PROACTIVE \u002F REACTIVE | RDS Performance Insights, RDS events |\n| DynamoDB table | PROACTIVE | CloudWatch `ThrottledRequests`, `ConsumedCapacityUnits` |\n| Lambda function | PROACTIVE \u002F REACTIVE | CloudWatch Lambda metrics, Lambda Insights |\n| ECS cluster \u002F service | PROACTIVE \u002F REACTIVE | ECS task metrics, container insights |\n| CodeBuild project (2024-2025) | PROACTIVE | CodeBuild build history, build duration anomalies |\n\n## Step 4 — Identify analysis category\n\nDevOps Guru classifies each insight into one of four analysis\ncategories:\n\n| AnalysisCategory | Meaning | Example |\n|---|---|---|\n| `PERFORMANCE` | Latency, throughput, resource saturation | \"Increased ALB latency\", \"RDS CPU saturation\" |\n| `AVAILABILITY` | Errors, failures, outages | \"ALB 5xx errors\", \"ASG launch failures\", \"Lambda throttling\" |\n| `COST` | Unusual spend pattern (2024-2025 enhancement) | \"DynamoDB cost anomaly\", \"Unexpected EC2 spend\" |\n| `CONFIGURATION` | Misconfiguration detected (e.g., SSE-KMS missing, IAM drift) | \"S3 bucket without SSE-KMS\", \"Security group open to 0.0.0.0\u002F0\" |\n\n**Latest analysis additions (2024-2026):**\nThe two latest analysis additions (SSE-KMS server-side encryption analysis, per-resource cost analysis) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad them when the insight analysis category is COST or CONFIGURATION.\n\n## Step 5 — Correlate anomalies (`list-anomalies-for-insight`)\n\n```bash\naws devops-guru list-anomalies-for-insight \\\n  --region \u003Cregion> \\\n  --insight-id \u003Cinsight-id> \\\n  --start-time-range '{From=2026-08-01T00:00:00Z,To=2026-08-10T23:59:59Z}' \\\n  --query 'ProactiveAnomalies[*].{name:Name,source:Source,severity:Severity}' \\\n  --output table\n```\n\nEach anomaly includes:\n- `Name` — short description of the anomalous metric or event.\n- `Source` — the metric namespace + metric name, or the CloudTrail\n  event source.\n- `Data` — time series showing the deviation from baseline.\n- `Severity` — anomaly-level severity (may differ from insight severity).\n\n**Cross-reference with CloudWatch:**\n\n```bash\n# Get the actual metric values for the anomaly time range\naws cloudwatch get-metric-statistics \\\n  --namespace AWS\u002FApplicationELB \\\n  --metric-name TargetResponseTime \\\n  --dimensions Name=LoadBalancer,Value=app\u002Fmy-alb\u002F1234567890 \\\n  --start-time 2026-08-09T00:00:00Z \\\n  --end-time 2026-08-10T00:00:00Z \\\n  --period 300 --statistics Average \\\n  --query 'Datapoints[*].[Timestamp,Average]' --output table\n```\n\n## Step 6 — Evaluate recommendations (`list-recommendations`)\n\n```bash\naws devops-guru list-recommendations \\\n  --region \u003Cregion> \\\n  --insight-id \u003Cinsight-id> \\\n  --query 'Recommendations[*].{name:Name,description:Description,category:Category,link:Link}' \\\n  --output table\n```\n\nRecommendations are categorized:\n- `AGGREGATE_OF_EVENT_LOGS` — based on CloudWatch Logs patterns.\n- `AGGREGATE_OF_METRICS` — based on CloudWatch metric patterns.\n- `DEPLOYMENT_FAILURE` — based on deployment events.\n- `LOG_PATTERN` — based on specific log patterns.\n\n**Evaluation framework:**\n\n| Recommendation type | When to apply directly | When to investigate further |\n|---|---|---|\n| Specific action (e.g., \"increase ASG max to 20\") | When the anomaly is capacity-driven and the root cause is traffic growth | When a code change is the root cause — scaling masks but does not fix |\n| Generic guidance (e.g., \"consider adding a CloudWatch alarm\") | When the insight is informational | Always — generic recommendations rarely fix the root cause |\n| `DEPLOYMENT_FAILURE` | When the deployment correlates with the insight start time | When multiple deployments occurred — identify the specific one |\n| `LOG_PATTERN` | When the pattern points to a known error | When the pattern is novel — capture and route to the application team |\n\n## Step 7 — Cross-reference CloudTrail + deployment history\n\nThe most common root cause of a DevOps Guru insight is a **change**\n(code deployment, config update, infrastructure modification) in the\ntrailing 24-48 hours.\n\n```bash\n# CloudTrail events in the insight time range\naws cloudtrail lookup-events \\\n  --lookup-attributes AttributeKey=EventName,AttributeValue=UpdateStack \\\n  --start-time 2026-08-09T00:00:00Z \\\n  --end-time 2026-08-10T00:00:00Z \\\n  --query 'Events[*].[EventTime,Username,EventName,ResourceName]' \\\n  --output table\n\n# CodePipeline \u002F CodeDeploy deployment history\naws deploy list-deployments \\\n  --application-name \u003Capp> \\\n  --create-time-range start=2026-08-09T00:00:00Z,end=2026-08-10T00:00:00Z\n\naws codepipeline list-pipeline-executions \\\n  --pipeline-name \u003Cpipeline> \\\n  --query 'pipelineExecutionSummaries[*].[startTime,status,sourceRevisions]' \\\n  --output table\n```\n\n**Change-correlation heuristic:** if a deployment or config change\noccurred within 1-2 hours of the `InsightTimeRange.StartTime`, that\nchange is the leading hypothesis for the root cause.\n\n## Step 8 — Decide: implement \u002F suppress \u002F escalate\n\n| Decision | Criteria | Action |\n|---|---|---|\n| **Implement recommendation** | Root cause is confirmed and the recommendation addresses the root cause (not just the symptom) | Apply the recommendation; verify via CloudWatch; close insight |\n| **Implement different fix** | Root cause is confirmed but the recommendation addresses the symptom | Apply the root-cause-specific fix (code change, config update); document why the recommendation was not followed |\n| **Suppress as false positive** | Anomaly is confirmed benign (known maintenance window, expected traffic pattern, test environment noise) | Document the rationale; do NOT use the console \"dismiss\" alone — use the runbook to add the resource or metric pattern to the suppression list |\n| **Escalate** | Root cause is outside the operator's scope (AWS-side issue, cross-team dependency, security incident) | Escalate to the appropriate team with the evidence block; mark the insight for tracking |\n\n**False positive suppression patterns:**\n\n| Pattern | When it is a false positive | Suppression approach |\n|---|---|---|\n| Traffic spike during known marketing event | Pre-announced event; traffic spike is expected | Tag the resource with `DevOpsGuru:SuppressedReason` and add a CloudWatch alarm annotation |\n| Test environment noise | Non-production; insights are informational | Set the DevOps Guru `ResourceCollection` to exclude the test account\u002Ftags |\n| Scheduled maintenance (deployments, backups) | Maintenance window is known and approved | Use CloudWatch Events to annotate the time range; DevOps Guru does not auto-suppress maintenance windows |\n| Resource right-sizing after scale-down | Post-scale-down metrics look \"anomalous\" against the pre-scale-down baseline | Wait 14 days for the baseline to retrain; if urgency is low, let it self-resolve |\n\n## Step 9 — Decide VERDICT\n\n- **ROOT_CAUSE_FOUND.** The diagnostic walk identified a specific root\n  cause (code change, capacity exhaustion, config change, dependency\n  failure) supported by evidence from at least two sources. Output\n  REMEDIATION with the exact action.\n- **NEED_MORE_INFO.** The walk reached a step where evidence is\n  insufficient (e.g., CloudWatch metrics unavailable, CloudTrail not\n  configured for the relevant API, application logs not shipped to\n  CloudWatch). Output the list of missing inputs.\n- **ESCALATE.** The root cause is outside the operator's scope: an\n  AWS-side incident, a cross-team dependency, a security finding.\n  Output the escalation target and the specific request.\n\n## Output format\n\n```text\nINSIGHT: \u003Cinsight ID> in \u003Cregion> — \u003CInsightType + InsightSeverity + Name>\nVERDICT: ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE\nROOT_CAUSE: \u003CInsightCategory> — \u003Cspecific root cause in one sentence>\nEVIDENCE:\n  - describe-insight: \u003CInsightType, Severity, Status, Name>\n  - list-anomalies-for-insight: \u003Canomaly name + source + deviation>\n  - list-recommendations: \u003Crecommendation category + text>\n  - CloudWatch correlation: \u003Cmetric + datapoint>\n  - CloudTrail correlation: \u003Cevent + time + user>\nRESOURCE_CATEGORY: #\u003CN>\nANALYSIS_CATEGORY: \u003CPERFORMANCE | AVAILABILITY | COST | CONFIGURATION>\nREMEDIATION:\n  1. \u003Cexact action>\n  2. \u003Cverification command or metric>\n  3. \u003Cpost-apply monitoring>\n```\n\n### Worked example — Proactive performance insight (ALB latency)\n\n```text\nINSIGHT: x-1234abcd in us-east-1 — PROACTIVE \u002F HIGH \u002F \"Increased latency on ALB app\u002Fmy-alb\"\nVERDICT: ROOT_CAUSE_FOUND\nROOT_CAUSE: PERFORMANCE — Code deployment at 2026-08-09T14:32Z introduced an N+1 query in the \u002Fcheckout handler, increasing RDS query latency 8x and propagating to ALB TargetResponseTime\nEVIDENCE:\n  - describe-insight: PROACTIVE, HIGH, OPEN, \"Increased latency on ALB app\u002Fmy-alb\", StartTime 2026-08-09T14:35Z\n  - list-anomalies-for-insight: Anomaly \"TargetResponseTime\" source AWS\u002FApplicationELB, p99 elevated from 200ms baseline to 1800ms starting 14:35Z\n  - list-recommendations: AGGREGATE_OF_METRICS — \"Investigate the backend service for increased processing time\" (generic, addresses symptom not root cause)\n  - CloudWatch correlation: AWS\u002FRDS DatabaseConnections elevated from 50 to 380 (connection pool exhaustion); CPUUtilization 92%\n  - CloudTrail correlation: CodeDeploy deployment event at 2026-08-09T14:32Z, application=my-app, revision=abc123\nRESOURCE_CATEGORY: ALB + RDS (downstream)\nANALYSIS_CATEGORY: PERFORMANCE\nREMEDIATION:\n  1. Roll back the CodeDeploy deployment to the previous revision\n  2. Verify ALB TargetResponseTime returns to baseline (\u003C300ms) within 10 minutes\n  3. Fix the N+1 query in the \u002Fcheckout handler before redeploying; add a CloudWatch alarm on p99 TargetResponseTime > 500ms\n```\n\n## NEVER do these things (top)\n\n1. **NEVER treat the DevOps Guru insight `Name` or `Description` as the\n   root cause.** They describe the SYMPTOM (anomalous behavior, elevated\n   error rate). The root cause is the underlying change, failure, or\n   misconfiguration that CAUSED the anomaly. Always correlate with\n   CloudTrail and deployment history to identify the proximate change.\n\n2. **NEVER auto-apply a DevOps Guru recommendation without evaluating\n   it against the root cause.** Recommendations are heuristic — they\n   address the symptom (scale out, add an alarm) not necessarily the\n   root cause (a code regression). Scaling out masks the regression\n   but the regression persists and will recur under higher load.\n\n3. **NEVER suppress an insight as a \"false positive\" without\n   documenting the suppression rationale in a runbook or ticket.**\n   Console \"dismiss\" is ephemeral; the same insight will recur when\n   the ML model retrains. Use resource tags or `ResourceCollection`\n   filters for durable suppression, and record the reason.\n\n4. **NEVER declare `ROOT_CAUSE_FOUND` based on a single evidence\n   source.** The describe-insight field alone is a symptom description.\n   Always correlate with at least one additional source:\n   list-anomalies-for-insight (metric deviation),\n   list-recommendations (heuristic), CloudWatch (actual metric values),\n   or CloudTrail (change events). Single-source diagnosis is a\n   hypothesis.\n\n5. **NEVER treat Proactive insights as low-priority by default.**\n   Proactive=HIGH insights are ML-detected anomalies with high\n   confidence that an incident is impending. They often precede\n   Reactive incidents by hours or days. A Proactive=HIGH on a\n   production resource deserves the same urgency as a Reactive=MEDIUM.\n\n(Additional: never rely solely on `InsightSeverity` for response\nprioritization without reading the `Name` — a LOW severity insight on\na payment-processing resource may matter more than a HIGH on a dev\nsandbox. Never skip the deployment history check — the majority of\nProactive insights correlate with a recent code or config change.\nNever assume DevOps Guru covers ALL resources — coverage requires\nexplicit `ResourceCollection` config or CloudFormation stack tagging.)\n\n## Expert heuristic: change-correlation is the leading root-cause signal\n\nExpert heuristic content — the 70\u002F30 change-correlation statistics, the six-step change-correlation procedure, and the 2-hour window rationale — moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when Step 7 finds a candidate change near the InsightTimeRange start.\n\n## Expert heuristic: RESOURCE_CATEGORY determines the diagnostic path\n\nExpert heuristic content — the resource-category to diagnostic-path mapping table (ALB, RDS, Lambda, ECS, DynamoDB, ASG, CodeBuild first\u002Fsecond probes) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when choosing resource-specific probes for Step 5.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026) — DevOps Guru for RDS, CodeBuild, enhanced Lambda analysis, SSE analysis, cost analysis, event-based insights — moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad it when an insight references a 2024+ capability or the list-events API.\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert heuristics (change correlation, resource-category diagnostic paths), 2024-2026 analysis additions, and Recent AWS features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — full live-account diagnostic command listings (Steps 0-9 and verification after remediation)\n- [references\u002Finsight-catalog-and-decision-tree.md](references\u002Finsight-catalog-and-decision-tree.md) — insight-type catalog, severity response matrix, suppression patterns, decision tree\n\n## Domain\n\nAWS CloudOps \u002F Management — AIOps Insight Triage & Remediation.\n\n## AWS documentation\n\n- **Amazon DevOps Guru User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fwelcome.html\n- **DevOps Guru insights** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-insights.html\n- **DevOps Guru recommendations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-recommendations.html\n- **DevOps Guru for RDS** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-rds.html\n- **DevOps Guru CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fdevops-guru\u002F\n- **DevOps Guru pricing** — https:\u002F\u002Faws.amazon.com\u002Fdevops-guru\u002Fpricing\u002F\n- **DevOps Guru resource coverage** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fdevops-guru\u002Flatest\u002Fuserguide\u002Fworking-with-cw.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"devops-guru, management, troubleshoot, insight, proactive, reactive, anomaly, recommendation","2","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","DevOps Guru, insight, Proactive, Reactive, anomalous behavior, operational issue, severity, High, Medium, Low, CloudFormation, Auto Scaling group, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild, performance, availability, cost, configuration, recommendation, false positive, server-side encryption","troubleshoot","high","false","capability","Invoke when the user is investigating an Amazon DevOps Guru insight (OPEN or recently resolved), needs to map an insight to a root cause, wants to implement or validate a DevOps Guru recommendation, needs to suppress false positives, or is onboarding DevOps Guru to a new resource set (CloudFormation stacks, Auto Scaling groups, RDS, Lambda, ECS). Do NOT invoke for CloudWatch alarm triage (use cloudwatch-alarm-operator), or for general performance analysis without a DevOps Guru insight context.","aws-orchestrator","true","ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). Offline diagnosis works on supplied describe-insight \u002F list-recommendations JSON. Live-account diagnosis uses aws devops-guru describe-insight, list-anomalies-for-insight, list-recommendations, describe-resource-health, and aws logs filter-log-events for correlated CloudWatch Logs (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fdevops-guru-troubleshooter",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill devops-guru-troubleshooter",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill devops-guru-troubleshooter",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill devops-guru-troubleshooter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8026,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Ffalse-positive-suppression-known-marketing-event.md",749,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fbaselines\u002Ffalse-positive-suppression-known-marketing-event.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmissing-cloudtrail-coverage-need-more-info.md",860,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fbaselines\u002Fmissing-cloudtrail-coverage-need-more-info.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fproactive-alb-latency-from-deployment.md",968,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fbaselines\u002Fproactive-alb-latency-from-deployment.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Freactive-rds-failover-investigation.md",906,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fbaselines\u002Freactive-rds-failover-investigation.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fsse-config-insight-suppress-or-implement.md",658,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fbaselines\u002Fsse-config-insight-suppress-or-implement.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",2215,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",15276,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Ffalse-positive-suppression-known-marketing-event.md",912,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fprompts\u002Ffalse-positive-suppression-known-marketing-event.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmissing-cloudtrail-coverage-need-more-info.md",875,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fprompts\u002Fmissing-cloudtrail-coverage-need-more-info.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fproactive-alb-latency-from-deployment.md",895,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fprompts\u002Fproactive-alb-latency-from-deployment.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Freactive-rds-failover-investigation.md",858,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fprompts\u002Freactive-rds-failover-investigation.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fsse-config-insight-suppress-or-implement.md",830,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fevals\u002Fprompts\u002Fsse-config-insight-suppress-or-implement.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6342,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",5099,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fdiagnostic-commands.md",6605,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Freferences\u002Fdiagnostic-commands.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Finsight-catalog-and-decision-tree.md",10772,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Freferences\u002Finsight-catalog-and-decision-tree.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"skill.usf.yaml",4320,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevops-guru-troubleshooter\u002Fskill.usf.yaml",[139,146,153,160,167,174],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]