[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A66RF5A09DCPZHEW2D6WXA":3,"skill-same:01M7A66RF5A09DCPZHEW2D6WXA":148},{"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":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M7A66RF5A09DCPZHEW2D6WXA","compute-optimizer-findings-auditor",null,"Audits AWS Compute Optimizer findings for EC2, EBS, Lambda, Auto Scaling Group, and ECS resources — classifies overprovisioned (underutilized) waste, underprovisioned (performance-risk) findings, and low-confidence recommendations (inferred memory, high performanceRisk, stale data) into a deterministic verdict with per-finding risk and CLI remediation. Emits UNDERUTILIZED | NOT_OPTIMIZED | OK per resource. Use when reviewing Compute Optimizer recommendations, triaging right-sizing findings, validating finding confidence before acting, or auditing cost-optimization posture.","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\u002Fcompute-optimizer-findings-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: compute-optimizer-findings-auditor\ndescription: Audits AWS Compute Optimizer findings for EC2, EBS, Lambda, Auto Scaling Group, and ECS resources — classifies overprovisioned (underutilized) waste, underprovisioned (performance-risk) findings, and low-confidence recommendations (inferred memory, high performanceRisk, stale data) into a deterministic verdict with per-finding risk and CLI remediation. Emits UNDERUTILIZED | NOT_OPTIMIZED | OK per resource. Use when reviewing Compute Optimizer recommendations, triaging right-sizing findings, validating finding confidence before acting, or auditing cost-optimization posture.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline finding-document classification. Live-account audits use aws compute-optimizer get-ec2-instance-recommendations, get-ebs-volume-recommendations, get-lambda-function-recommendations, and get-enrollment-status (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: medium\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Compute\n  verdict_shape: UNDERUTILIZED | NOT_OPTIMIZED | OK\n  when_to_use: Reviewing Compute Optimizer findings for EC2, EBS, Lambda, or ASG resources, triaging right-sizing recommendations, validating finding confidence before approving a right-size action, auditing cost- optimization posture, or checking whether a finding is actionable or low-confidence noise.\n  activation_triggers: audit compute optimizer findings, check EC2 right-sizing recommendations, is this compute optimizer finding reliable, review overprovisioned resources, compute optimizer low confidence, Lambda memory recommendations, EBS volume recommendations, performanceRisk too high, compute optimizer stale findings, right-size EC2 instances\n  invocation_schema: 'Input: either (a) a Compute Optimizer finding\u002Frecommendation document (EC2, EBS, Lambda, ASG) with finding, findingReasons, utilizationMetrics, recommendationOptions, and metadata, OR (b) a resource ARN for live-account audit. Output: deterministic RESOURCE\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per resource, where VERDICT ∈ {UNDERUTILIZED, NOT_OPTIMIZED, OK}.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: Compute Optimizer, right-sizing, overprovisioned, underprovisioned, underutilized, EC2 recommendations, EBS recommendations, Lambda recommendations, Auto Scaling Group, ECS Fargate, performanceRisk, savingsOpportunity, finding confidence, inferred memory, CloudWatch Agent, cost optimization, resource utilization, gp3 migration, Lambda memory, finding reasons\n  tags: compute, cost-optimization, right-sizing, compute-optimizer, ec2, ebs, lambda, audit\n---\n\n# Compute Optimizer Findings Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict depends on BOTH the finding field AND\nfinding confidence. An `Overprovisioned` finding with inferred memory (no\nCloudWatch Agent) is NOT actionable — it is NOT_OPTIMIZED, not\nUNDERUTILIZED. Confidence gates the verdict.\n\nAWS Compute Optimizer analyses 30+ days of CloudWatch utilization metrics and\nemits findings: `Optimized`, `Overprovisioned`, or `Underprovisioned`. But the\nfinding text alone does not tell you whether the recommendation is safe to act\non. Three factors override the finding:\n- **Memory metrics are inferred without the CloudWatch Agent (CWAgent).**\n  Without it, Compute Optimizer cannot see actual memory usage — it infers\n  memory from the instance type's published specs. An `Overprovisioned`\n  finding based on CPU-only data may be wrong if the instance is memory-bound.\n- **performanceRisk (1-5) on the recommended option** warns whether the\n  suggested instance type can handle the workload. Risk 4-5 means the\n  recommendation is speculative — do NOT act without load testing.\n- **Insufficient data** (new resources, stopped instances, zero-invocation\n  Lambda functions) produces unreliable or absent findings.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Rule |\n|---|---|---|\n| `finding: Overprovisioned` + HIGH confidence + savings > $0 | **UNDERUTILIZED** | Step 4a |\n| `finding: Overprovisioned` + LOW confidence (inferred memory \u002F performanceRisk ≥ 4) | **NOT_OPTIMIZED** | Step 3 |\n| `finding: Underprovisioned` | **NOT_OPTIMIZED** | Step 4b |\n| `finding: Optimized` + metrics present | **OK** | Step 4c |\n| No finding \u002F insufficient data \u002F enrollment inactive | **NOT_OPTIMIZED** | Step 1 |\n| `finding: Optimized` + lastRefresh > 30 days stale | **NOT_OPTIMIZED** | Step 2 |\n\nSee the ordered steps below for edge cases. Deep Compute Optimizer internals\n(analysis windows, metric sources, recommendation generation) are in the\n[Deep reference](#deep-reference-compute-optimizer-internals) section.\n\n## Pre-flight: enrollment and data gate (run before classification)\n\nBefore evaluating findings, verify that Compute Optimizer is producing real\ndata. Several conditions short-circuit the audit — misclassifying them\nproduces false confidence.\n\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n| Condition | Effect on audit |\n|---|---|\n| Enrollment `Inactive` | No findings possible. Output NOT_OPTIMIZED: \"enrollment inactive — opt in via AWS Console or CLI.\" |\n| `lastRefreshTimestamp` > 30 days old | Stale finding — workload may have changed. Downgrade to NOT_OPTIMIZED. |\n| `utilizationMetrics` empty or \u003C 2 entries | Insufficient data for reliable classification. NOT_OPTIMIZED. |\n| EC2 Memory metric absent (no CWAgent) | Memory inferred — finding confidence is LOW. Gate per Step 3. |\n| Lambda invocations = 0 during analysis period | No utilization signal. NOT_OPTIMIZED: \"insufficient invocation data.\" |\n| `findingReasons` empty on a non-Optimized finding | Malformed finding — missing root cause. NOT_OPTIMIZED with note. |\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Validate input\n\nIf the finding document is missing required fields (`finding`, or `finding`\nis not one of `Optimized`\u002F`Overprovisioned`\u002F`Underprovisioned`), output:\n\n```text\nRESOURCE: \u003Carn>\nVERDICT: ERROR\nREASON: Finding document is missing the 'finding' field or contains an invalid value — cannot classify.\nREMEDIATION: Re-fetch with the appropriate aws compute-optimizer get-*-recommendations command.\n```\n\n### Step 1: Enrollment and data sufficiency check\n\nIf any of these conditions are true, classify as **NOT_OPTIMIZED** and skip\nremaining steps:\n\n- Enrollment status is `Inactive` (no data at all).\n- `utilizationMetrics` is empty or has fewer than 2 entries (EC2\u002FEBS) —\n  insufficient data to determine optimization state.\n- Lambda function with 0 invocations during the analysis period — no\n  utilization signal exists.\n- `findingReasons` is empty on a non-`Optimized` finding — root cause\n  cannot be determined.\n\nThese all mean the resource's optimization state cannot be confidently\ndetermined. The finding (if present) is noise, not signal.\n\n### Step 2: Stale finding check\n\nIf `lastRefreshTimestamp` is more than 30 days old, the finding reflects a\nworkload that may have since changed. Classify as **NOT_OPTIMIZED**\nregardless of finding value, with reason: \"stale finding — last refresh >\n30 days ago; re-run recommendation before acting.\"\n\nThis is critical because Compute Optimizer does NOT retroactively update\nfindings when a workload changes — it only refreshes on the next analysis\ncycle (approximately every 24 hours). A finding from 45 days ago may\ndescribe a workload that was terminated and replaced.\n\n### Step 3: Confidence evaluation (gates the verdict)\n\nEvaluate whether the finding is HIGH or LOW confidence. **Confidence\ndetermines whether an Overprovisioned finding becomes UNDERUTILIZED\n(actionable cost waste) or NOT_OPTIMIZED (unreliable — do not act).**\n\n**A finding is LOW confidence if ANY of these are true:**\n\n1. **EC2 Memory metric is absent** from `utilizationMetrics`. Without the\n   CloudWatch Agent (CWAgent), Compute Optimizer cannot see actual memory\n   usage. It infers memory from the instance type's published specifications.\n   An `Overprovisioned` finding may be wrong if the instance is\n   memory-constrained — the CPU is idle but memory is at 95%. This is the\n   single most common false-positive source in Compute Optimizer.\n\n2. **performanceRisk ≥ 4** on the recommended instance type. The\n   performanceRisk score (1-5) estimates the likelihood that the recommended\n   instance type cannot handle the workload. Risk 1 is safe; Risk 4-5 means\n   the recommendation is speculative and should not be acted on without load\n   testing. The first (cheapest) recommendation option often carries the\n   highest risk.\n\n3. **EC2: fewer than 3 utilization metrics.** A reliable EC2 finding needs\n   at least CPU, Memory, and one more dimension (Network or Disk). CPU-only\n   findings are weak signal — the instance may be network-bound or I\u002FO-bound.\n\n4. **EBS: only one of {IOPS, Throughput} present.** Volume type\u002Fsize\n   recommendations need both read\u002Fwrite IOPS and throughput data. A\n   recommendation based on only one dimension may miss a bottleneck in the\n   other.\n\n**If the finding is LOW confidence, classify as NOT_OPTIMIZED** — the\nfinding cannot be trusted enough to recommend a right-size action. The\nremediation is to improve data quality (install CWAgent, wait for more data)\nbefore re-evaluating.\n\n**If the finding is HIGH confidence**, proceed to Step 4.\n\n### Step 4: Finding field classification\n\nApply based on the `finding` value:\n\n#### 4a: Overprovisioned + HIGH confidence → UNDERUTILIZED\n\nThe resource has excess capacity — it is underutilized and wasting spend.\nExtract the `savingsOpportunity.estimatedMonthlySavings` to quantify the\nwaste. The recommendation options are actionable (performanceRisk is\nacceptable).\n\n**Risk levels for UNDERUTILIZED:**\n- **HIGH risk** if estimatedMonthlySavings > $100\u002Fmonth OR CPU utilization \u003C 10%\n- **MEDIUM risk** if estimatedMonthlySavings $10-$100\u002Fmonth\n- **LOW risk** if estimatedMonthlySavings \u003C $10\u002Fmonth (pennies — note but\n  do not prioritize)\n\n#### 4b: Underprovisioned → NOT_OPTIMIZED\n\nThe resource is too small for its workload — performance degradation is\nlikely. This is NOT \"underutilized\" — the resource is overworked, not\nwasting money. The remediation is to UP-size, not down-size.\n\n**Risk levels for NOT_OPTIMIZED (Underprovisioned):**\n- **HIGH risk** if CPU > 90% AND findingReasons include\n  `CPUUnderprovisioned` — active performance degradation.\n- **MEDIUM risk** if any single resource dimension is underprovisioned\n  (Memory, Network, etc.).\n\n#### 4c: Optimized → OK\n\nThe resource is correctly provisioned. No action needed. Verify that the\nfinding has sufficient utilization metrics to be trustworthy (Step 3\nconfidence check should have passed).\n\n### Step 5: Aggregation — worst finding wins\n\nWhen auditing multiple resources in a single pass, the account-level verdict\nis the **worst** verdict across all resources, where NOT_OPTIMIZED is worse\nthan UNDERUTILIZED and UNDERUTILIZED is worse than OK:\n\n```text\naccount_verdict = max(all_resource_verdicts)\n```\n\nOrder: NOT_OPTIMIZED > UNDERUTILIZED > OK\n\nThis ordering reflects that a performance risk (Underprovisioned) is more\nurgent than wasted spend (Overprovisioned) — an underprovisioned resource\nmay be causing customer-visible latency, while an overprovisioned resource\nis only losing money.\n\n## Output format (per resource)\n\n```text\nRESOURCE: \u003Carn or resource-id>\nVERDICT: UNDERUTILIZED | NOT_OPTIMIZED | OK\nREASON: \u003C1-2 sentences citing the finding, confidence level, and key metric>\nRISK: HIGH | MEDIUM | LOW\nFINDINGS:\n  - [\u003Cseverity>] \u003Cfinding description with rule citation>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — EC2 Overprovisioned, high confidence\n\n```text\nRESOURCE: arn:aws:ec2:us-east-1:111111111111:instance\u002Fi-0abc123\nVERDICT: UNDERUTILIZED\nREASON: Finding is Overprovisioned with HIGH confidence — CPU 8%, Memory 15%\n(both measured by CloudWatch Agent), performanceRisk 1 on recommendation.\nSavings opportunity: $150\u002Fmonth.\nRISK: HIGH\nFINDINGS:\n  - [HIGH] Overprovisioned: m5.2xlarge with CPU max 8% and Memory max 15% —\n    both metrics measured by CWAgent. Recommended t3.large saves 75% (Step 4a).\n  - [OK] performanceRisk 1 on recommended option — safe to right-size.\nREMEDIATION:\n  1. Stop the instance: aws ec2 stop-instances --instance-ids i-0abc123.\n  2. Change instance type: aws ec2 modify-instance-attribute --instance-id\n     i-0abc123 --instance-type \"{\\\"Value\\\": \\\"t3.large\\\"}\".\n  3. Start the instance: aws ec2 start-instances --instance-ids i-0abc123.\n  4. Monitor CPU and Memory for 7 days post-change to confirm the\n     workload runs within the new instance's capacity.\n```\n\n### Worked example — EC2 Overprovisioned, LOW confidence (inferred memory)\n\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## Expert edge cases — non-obvious Compute Optimizer behaviors\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER classify an `Overprovisioned` finding as UNDERUTILIZED when the\n  EC2 Memory metric is absent from `utilizationMetrics`. Without the\n  CloudWatch Agent, memory usage is inferred — the finding is LOW confidence\n  and should be NOT_OPTIMIZED. This is the most common false positive.\n\n- NEVER act on a recommendation with `performanceRisk` ≥ 4 without load\n  testing. The risk score means Compute Optimizer estimates a meaningful\n  chance the recommended instance type cannot handle the workload.\n\n- NEVER treat `Underprovisioned` as UNDERUTILIZED. An underprovisioned\n  resource is overworked, not wasting money. It needs MORE capacity, not\n  less. Underprovisioned always maps to NOT_OPTIMIZED.\n\n- NEVER assume a Lambda function with 0 invocations is \"optimized.\" Zero\n  invocations means no utilization data — the finding is noise. Classify as\n  NOT_OPTIMIZED: \"insufficient invocation data.\"\n\n- NEVER right-size based on a single utilization metric. CPU-only data on\n  an EC2 instance cannot tell you whether the instance is memory-bound,\n  network-bound, or I\u002FO-bound. Require at least 3 metrics for HIGH\n  confidence.\n\n- NEVER recommend an ASG right-size as a quick fix. ASG recommendations\n  require launch-template changes AND instance replacement — it is a\n  higher-effort change that can take hours to roll out across a fleet.\n\n- NEVER ignore `lastRefreshTimestamp`. A finding older than 30 days\n  describes a workload that may no longer exist. Stale findings are\n  NOT_OPTIMIZED until refreshed.\n\n- NEVER assume all `Overprovisioned` findings are equally valuable. A\n  finding with `estimatedMonthlySavings` of $2 is noise; a finding with\n  $500 is a priority. Use savings magnitude to triage, not just finding\n  count.\n\n- NEVER recommend migrating a gp2 EBS volume to gp3 solely based on an\n  `Overprovisioned` finding without checking IOPS\u002Fthroughput utilization.\n  gp3 has lower baseline performance (3,000 IOPS \u002F 125 MiB\u002Fs) than gp2\n  (which scales IOPS with size). A gp2 volume at 10,000 IOPS will LOSE\n  performance on gp3 unless additional provisioned IOPS are purchased.\n\n- NEVER change an EC2 instance type without stopping it first.\n  `modify-instance-attribute --instance-type` requires the instance to be\n  stopped. Attempting it on a running instance returns\n  `IncorrectInstanceState`.\n\n- NEVER accept a recommendation option at index 0 blindly. The first option\n  is ranked by savings (cheapest), not by safety. Check `performanceRisk`\n  on every option — the safest may be index 1 or 2.\n\n- NEVER assume Compute Optimizer is enrolled for all resource types. EC2,\n  EBS, Lambda, and ECS enrollments are independent. An account enrolled for\n  EC2 may not be enrolled for Lambda — check `get-enrollment-status` for\n  each resource type before expecting findings.\n\n- NEVER overlook the effort of migrating instance families (e.g., m5 → t3).\n  Same-family right-sizes (m5.2xlarge → m5.large) are low-effort; cross-\n  family changes (m5 → t3) may require AMI changes, driver compatibility\n  checks, and application testing.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Remediation guidance\n\nMoved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md) - load on demand (see References below).\n\n## Deep reference: Compute Optimizer internals\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (LOW-confidence inferred memory) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert edge cases, deep internals reference, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight checks + pre-rightsize safety checks moved from SKILL.md\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — per-verdict remediation guidance moved from SKILL.md\n\n## Domain\n\nAWS CloudOps \u002F Compute Cost Optimization & Right-Sizing.\n\n## AWS documentation\n\n- **AWS Compute Optimizer User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002Fug\u002Fwhat-is.html\n- **Compute Optimizer Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002Fug\u002Fsecurity.html\n- **Compute Optimizer API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002FAPIReference\u002F\n- **Compute Optimizer CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcompute-optimizer\u002F\n","# Compute Optimizer Findings Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict depends on BOTH the finding field AND\nfinding confidence. An `Overprovisioned` finding with inferred memory (no\nCloudWatch Agent) is NOT actionable — it is NOT_OPTIMIZED, not\nUNDERUTILIZED. Confidence gates the verdict.\n\nAWS Compute Optimizer analyses 30+ days of CloudWatch utilization metrics and\nemits findings: `Optimized`, `Overprovisioned`, or `Underprovisioned`. But the\nfinding text alone does not tell you whether the recommendation is safe to act\non. Three factors override the finding:\n- **Memory metrics are inferred without the CloudWatch Agent (CWAgent).**\n  Without it, Compute Optimizer cannot see actual memory usage — it infers\n  memory from the instance type's published specs. An `Overprovisioned`\n  finding based on CPU-only data may be wrong if the instance is memory-bound.\n- **performanceRisk (1-5) on the recommended option** warns whether the\n  suggested instance type can handle the workload. Risk 4-5 means the\n  recommendation is speculative — do NOT act without load testing.\n- **Insufficient data** (new resources, stopped instances, zero-invocation\n  Lambda functions) produces unreliable or absent findings.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Rule |\n|---|---|---|\n| `finding: Overprovisioned` + HIGH confidence + savings > $0 | **UNDERUTILIZED** | Step 4a |\n| `finding: Overprovisioned` + LOW confidence (inferred memory \u002F performanceRisk ≥ 4) | **NOT_OPTIMIZED** | Step 3 |\n| `finding: Underprovisioned` | **NOT_OPTIMIZED** | Step 4b |\n| `finding: Optimized` + metrics present | **OK** | Step 4c |\n| No finding \u002F insufficient data \u002F enrollment inactive | **NOT_OPTIMIZED** | Step 1 |\n| `finding: Optimized` + lastRefresh > 30 days stale | **NOT_OPTIMIZED** | Step 2 |\n\nSee the ordered steps below for edge cases. Deep Compute Optimizer internals\n(analysis windows, metric sources, recommendation generation) are in the\n[Deep reference](#deep-reference-compute-optimizer-internals) section.\n\n## Pre-flight: enrollment and data gate (run before classification)\n\nBefore evaluating findings, verify that Compute Optimizer is producing real\ndata. Several conditions short-circuit the audit — misclassifying them\nproduces false confidence.\n\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n| Condition | Effect on audit |\n|---|---|\n| Enrollment `Inactive` | No findings possible. Output NOT_OPTIMIZED: \"enrollment inactive — opt in via AWS Console or CLI.\" |\n| `lastRefreshTimestamp` > 30 days old | Stale finding — workload may have changed. Downgrade to NOT_OPTIMIZED. |\n| `utilizationMetrics` empty or \u003C 2 entries | Insufficient data for reliable classification. NOT_OPTIMIZED. |\n| EC2 Memory metric absent (no CWAgent) | Memory inferred — finding confidence is LOW. Gate per Step 3. |\n| Lambda invocations = 0 during analysis period | No utilization signal. NOT_OPTIMIZED: \"insufficient invocation data.\" |\n| `findingReasons` empty on a non-Optimized finding | Malformed finding — missing root cause. NOT_OPTIMIZED with note. |\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Validate input\n\nIf the finding document is missing required fields (`finding`, or `finding`\nis not one of `Optimized`\u002F`Overprovisioned`\u002F`Underprovisioned`), output:\n\n```text\nRESOURCE: \u003Carn>\nVERDICT: ERROR\nREASON: Finding document is missing the 'finding' field or contains an invalid value — cannot classify.\nREMEDIATION: Re-fetch with the appropriate aws compute-optimizer get-*-recommendations command.\n```\n\n### Step 1: Enrollment and data sufficiency check\n\nIf any of these conditions are true, classify as **NOT_OPTIMIZED** and skip\nremaining steps:\n\n- Enrollment status is `Inactive` (no data at all).\n- `utilizationMetrics` is empty or has fewer than 2 entries (EC2\u002FEBS) —\n  insufficient data to determine optimization state.\n- Lambda function with 0 invocations during the analysis period — no\n  utilization signal exists.\n- `findingReasons` is empty on a non-`Optimized` finding — root cause\n  cannot be determined.\n\nThese all mean the resource's optimization state cannot be confidently\ndetermined. The finding (if present) is noise, not signal.\n\n### Step 2: Stale finding check\n\nIf `lastRefreshTimestamp` is more than 30 days old, the finding reflects a\nworkload that may have since changed. Classify as **NOT_OPTIMIZED**\nregardless of finding value, with reason: \"stale finding — last refresh >\n30 days ago; re-run recommendation before acting.\"\n\nThis is critical because Compute Optimizer does NOT retroactively update\nfindings when a workload changes — it only refreshes on the next analysis\ncycle (approximately every 24 hours). A finding from 45 days ago may\ndescribe a workload that was terminated and replaced.\n\n### Step 3: Confidence evaluation (gates the verdict)\n\nEvaluate whether the finding is HIGH or LOW confidence. **Confidence\ndetermines whether an Overprovisioned finding becomes UNDERUTILIZED\n(actionable cost waste) or NOT_OPTIMIZED (unreliable — do not act).**\n\n**A finding is LOW confidence if ANY of these are true:**\n\n1. **EC2 Memory metric is absent** from `utilizationMetrics`. Without the\n   CloudWatch Agent (CWAgent), Compute Optimizer cannot see actual memory\n   usage. It infers memory from the instance type's published specifications.\n   An `Overprovisioned` finding may be wrong if the instance is\n   memory-constrained — the CPU is idle but memory is at 95%. This is the\n   single most common false-positive source in Compute Optimizer.\n\n2. **performanceRisk ≥ 4** on the recommended instance type. The\n   performanceRisk score (1-5) estimates the likelihood that the recommended\n   instance type cannot handle the workload. Risk 1 is safe; Risk 4-5 means\n   the recommendation is speculative and should not be acted on without load\n   testing. The first (cheapest) recommendation option often carries the\n   highest risk.\n\n3. **EC2: fewer than 3 utilization metrics.** A reliable EC2 finding needs\n   at least CPU, Memory, and one more dimension (Network or Disk). CPU-only\n   findings are weak signal — the instance may be network-bound or I\u002FO-bound.\n\n4. **EBS: only one of {IOPS, Throughput} present.** Volume type\u002Fsize\n   recommendations need both read\u002Fwrite IOPS and throughput data. A\n   recommendation based on only one dimension may miss a bottleneck in the\n   other.\n\n**If the finding is LOW confidence, classify as NOT_OPTIMIZED** — the\nfinding cannot be trusted enough to recommend a right-size action. The\nremediation is to improve data quality (install CWAgent, wait for more data)\nbefore re-evaluating.\n\n**If the finding is HIGH confidence**, proceed to Step 4.\n\n### Step 4: Finding field classification\n\nApply based on the `finding` value:\n\n#### 4a: Overprovisioned + HIGH confidence → UNDERUTILIZED\n\nThe resource has excess capacity — it is underutilized and wasting spend.\nExtract the `savingsOpportunity.estimatedMonthlySavings` to quantify the\nwaste. The recommendation options are actionable (performanceRisk is\nacceptable).\n\n**Risk levels for UNDERUTILIZED:**\n- **HIGH risk** if estimatedMonthlySavings > $100\u002Fmonth OR CPU utilization \u003C 10%\n- **MEDIUM risk** if estimatedMonthlySavings $10-$100\u002Fmonth\n- **LOW risk** if estimatedMonthlySavings \u003C $10\u002Fmonth (pennies — note but\n  do not prioritize)\n\n#### 4b: Underprovisioned → NOT_OPTIMIZED\n\nThe resource is too small for its workload — performance degradation is\nlikely. This is NOT \"underutilized\" — the resource is overworked, not\nwasting money. The remediation is to UP-size, not down-size.\n\n**Risk levels for NOT_OPTIMIZED (Underprovisioned):**\n- **HIGH risk** if CPU > 90% AND findingReasons include\n  `CPUUnderprovisioned` — active performance degradation.\n- **MEDIUM risk** if any single resource dimension is underprovisioned\n  (Memory, Network, etc.).\n\n#### 4c: Optimized → OK\n\nThe resource is correctly provisioned. No action needed. Verify that the\nfinding has sufficient utilization metrics to be trustworthy (Step 3\nconfidence check should have passed).\n\n### Step 5: Aggregation — worst finding wins\n\nWhen auditing multiple resources in a single pass, the account-level verdict\nis the **worst** verdict across all resources, where NOT_OPTIMIZED is worse\nthan UNDERUTILIZED and UNDERUTILIZED is worse than OK:\n\n```text\naccount_verdict = max(all_resource_verdicts)\n```\n\nOrder: NOT_OPTIMIZED > UNDERUTILIZED > OK\n\nThis ordering reflects that a performance risk (Underprovisioned) is more\nurgent than wasted spend (Overprovisioned) — an underprovisioned resource\nmay be causing customer-visible latency, while an overprovisioned resource\nis only losing money.\n\n## Output format (per resource)\n\n```text\nRESOURCE: \u003Carn or resource-id>\nVERDICT: UNDERUTILIZED | NOT_OPTIMIZED | OK\nREASON: \u003C1-2 sentences citing the finding, confidence level, and key metric>\nRISK: HIGH | MEDIUM | LOW\nFINDINGS:\n  - [\u003Cseverity>] \u003Cfinding description with rule citation>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — EC2 Overprovisioned, high confidence\n\n```text\nRESOURCE: arn:aws:ec2:us-east-1:111111111111:instance\u002Fi-0abc123\nVERDICT: UNDERUTILIZED\nREASON: Finding is Overprovisioned with HIGH confidence — CPU 8%, Memory 15%\n(both measured by CloudWatch Agent), performanceRisk 1 on recommendation.\nSavings opportunity: $150\u002Fmonth.\nRISK: HIGH\nFINDINGS:\n  - [HIGH] Overprovisioned: m5.2xlarge with CPU max 8% and Memory max 15% —\n    both metrics measured by CWAgent. Recommended t3.large saves 75% (Step 4a).\n  - [OK] performanceRisk 1 on recommended option — safe to right-size.\nREMEDIATION:\n  1. Stop the instance: aws ec2 stop-instances --instance-ids i-0abc123.\n  2. Change instance type: aws ec2 modify-instance-attribute --instance-id\n     i-0abc123 --instance-type \"{\\\"Value\\\": \\\"t3.large\\\"}\".\n  3. Start the instance: aws ec2 start-instances --instance-ids i-0abc123.\n  4. Monitor CPU and Memory for 7 days post-change to confirm the\n     workload runs within the new instance's capacity.\n```\n\n### Worked example — EC2 Overprovisioned, LOW confidence (inferred memory)\n\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## Expert edge cases — non-obvious Compute Optimizer behaviors\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER classify an `Overprovisioned` finding as UNDERUTILIZED when the\n  EC2 Memory metric is absent from `utilizationMetrics`. Without the\n  CloudWatch Agent, memory usage is inferred — the finding is LOW confidence\n  and should be NOT_OPTIMIZED. This is the most common false positive.\n\n- NEVER act on a recommendation with `performanceRisk` ≥ 4 without load\n  testing. The risk score means Compute Optimizer estimates a meaningful\n  chance the recommended instance type cannot handle the workload.\n\n- NEVER treat `Underprovisioned` as UNDERUTILIZED. An underprovisioned\n  resource is overworked, not wasting money. It needs MORE capacity, not\n  less. Underprovisioned always maps to NOT_OPTIMIZED.\n\n- NEVER assume a Lambda function with 0 invocations is \"optimized.\" Zero\n  invocations means no utilization data — the finding is noise. Classify as\n  NOT_OPTIMIZED: \"insufficient invocation data.\"\n\n- NEVER right-size based on a single utilization metric. CPU-only data on\n  an EC2 instance cannot tell you whether the instance is memory-bound,\n  network-bound, or I\u002FO-bound. Require at least 3 metrics for HIGH\n  confidence.\n\n- NEVER recommend an ASG right-size as a quick fix. ASG recommendations\n  require launch-template changes AND instance replacement — it is a\n  higher-effort change that can take hours to roll out across a fleet.\n\n- NEVER ignore `lastRefreshTimestamp`. A finding older than 30 days\n  describes a workload that may no longer exist. Stale findings are\n  NOT_OPTIMIZED until refreshed.\n\n- NEVER assume all `Overprovisioned` findings are equally valuable. A\n  finding with `estimatedMonthlySavings` of $2 is noise; a finding with\n  $500 is a priority. Use savings magnitude to triage, not just finding\n  count.\n\n- NEVER recommend migrating a gp2 EBS volume to gp3 solely based on an\n  `Overprovisioned` finding without checking IOPS\u002Fthroughput utilization.\n  gp3 has lower baseline performance (3,000 IOPS \u002F 125 MiB\u002Fs) than gp2\n  (which scales IOPS with size). A gp2 volume at 10,000 IOPS will LOSE\n  performance on gp3 unless additional provisioned IOPS are purchased.\n\n- NEVER change an EC2 instance type without stopping it first.\n  `modify-instance-attribute --instance-type` requires the instance to be\n  stopped. Attempting it on a running instance returns\n  `IncorrectInstanceState`.\n\n- NEVER accept a recommendation option at index 0 blindly. The first option\n  is ranked by savings (cheapest), not by safety. Check `performanceRisk`\n  on every option — the safest may be index 1 or 2.\n\n- NEVER assume Compute Optimizer is enrolled for all resource types. EC2,\n  EBS, Lambda, and ECS enrollments are independent. An account enrolled for\n  EC2 may not be enrolled for Lambda — check `get-enrollment-status` for\n  each resource type before expecting findings.\n\n- NEVER overlook the effort of migrating instance families (e.g., m5 → t3).\n  Same-family right-sizes (m5.2xlarge → m5.large) are low-effort; cross-\n  family changes (m5 → t3) may require AMI changes, driver compatibility\n  checks, and application testing.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Remediation guidance\n\nMoved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md) - load on demand (see References below).\n\n## Deep reference: Compute Optimizer internals\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked example (LOW-confidence inferred memory) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert edge cases, deep internals reference, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight checks + pre-rightsize safety checks moved from SKILL.md\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — per-verdict remediation guidance moved from SKILL.md\n\n## Domain\n\nAWS CloudOps \u002F Compute Cost Optimization & Right-Sizing.\n\n## AWS documentation\n\n- **AWS Compute Optimizer User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002Fug\u002Fwhat-is.html\n- **Compute Optimizer Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002Fug\u002Fsecurity.html\n- **Compute Optimizer API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcompute-optimizer\u002Flatest\u002FAPIReference\u002F\n- **Compute Optimizer CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcompute-optimizer\u002F\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":39},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"complexity":32,"entry_point":33,"when_to_use":34,"requires_llm":35,"verdict_shape":36,"invocation_schema":37,"supports_pipeline":35,"activation_triggers":38},"compute, cost-optimization, right-sizing, compute-optimizer, ec2, ebs, lambda, audit","2","Jacky Chan — AWS Community Builder","aws-cloudops","Compute","0.1.0","Compute Optimizer, right-sizing, overprovisioned, underprovisioned, underutilized, EC2 recommendations, EBS recommendations, Lambda recommendations, Auto Scaling Group, ECS Fargate, performanceRisk, savingsOpportunity, finding confidence, inferred memory, CloudWatch Agent, cost optimization, resource utilization, gp3 migration, Lambda memory, finding reasons","medium","false","Reviewing Compute Optimizer findings for EC2, EBS, Lambda, or ASG resources, triaging right-sizing recommendations, validating finding confidence before approving a right-size action, auditing cost- optimization posture, or checking whether a finding is actionable or low-confidence noise.","true","UNDERUTILIZED | NOT_OPTIMIZED | OK","Input: either (a) a Compute Optimizer finding\u002Frecommendation document (EC2, EBS, Lambda, ASG) with finding, findingReasons, utilizationMetrics, recommendationOptions, and metadata, OR (b) a resource ARN for live-account audit. Output: deterministic RESOURCE\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per resource, where VERDICT ∈ {UNDERUTILIZED, NOT_OPTIMIZED, OK}.","audit compute optimizer findings, check EC2 right-sizing recommendations, is this compute optimizer finding reliable, review overprovisioned resources, compute optimizer low confidence, Lambda memory recommendations, EBS volume recommendations, performanceRisk too high, compute optimizer stale findings, right-size EC2 instances","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline finding-document classification. Live-account audits use aws compute-optimizer get-ec2-instance-recommendations, get-ebs-volume-recommendations, get-lambda-function-recommendations, and get-enrollment-status (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fcompute-optimizer-findings-auditor",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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill compute-optimizer-findings-auditor",{"tool":54,"command":55},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill compute-optimizer-findings-auditor",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill compute-optimizer-findings-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002FSKILL.md",true,[62,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",9083,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Feval\u002Ftest-cases.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fbaselines\u002Febs-volume-optimized.md",273,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Febs-volume-optimized.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fec2-optimized-clean.md",285,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Fec2-optimized-clean.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fec2-overprovisioned-high-confidence.md",735,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Fec2-overprovisioned-high-confidence.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fec2-overprovisioned-low-confidence-inferred-memory.md",598,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Fec2-overprovisioned-low-confidence-inferred-memory.md",{"path":85,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fec2-underprovisioned-cpu-memory.md",484,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Fec2-underprovisioned-cpu-memory.md",{"path":89,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Flambda-overprovisioned-memory.md",425,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fbaselines\u002Flambda-overprovisioned-memory.md",{"path":93,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",2100,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",5147,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fevals.json",{"path":101,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Febs-volume-optimized.md",805,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Febs-volume-optimized.md",{"path":105,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fec2-optimized-clean.md",672,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Fec2-optimized-clean.md",{"path":109,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fec2-overprovisioned-high-confidence.md",1028,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Fec2-overprovisioned-high-confidence.md",{"path":113,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fec2-overprovisioned-low-confidence-inferred-memory.md",848,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Fec2-overprovisioned-low-confidence-inferred-memory.md",{"path":117,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fec2-underprovisioned-cpu-memory.md",882,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Fec2-underprovisioned-cpu-memory.md",{"path":121,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fprompts\u002Flambda-overprovisioned-memory.md",813,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fevals\u002Fprompts\u002Flambda-overprovisioned-memory.md",{"path":125,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fend-to-end.md",6987,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fexamples\u002Fend-to-end.md",{"path":129,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fadvanced-patterns.md",8737,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Freferences\u002Fadvanced-patterns.md",{"path":133,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",2904,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Ferror-handling.md",2445,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Freferences\u002Ferror-handling.md",{"path":141,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fworked-examples.md",1347,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Freferences\u002Fworked-examples.md",{"path":145,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":146,"sourceHtmlUrl":147},"skill.usf.yaml",4146,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcompute-optimizer-findings-auditor\u002Fskill.usf.yaml",[149,156,163,170,177,184],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"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":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"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":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"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":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"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":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"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":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"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",[],[]]