[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A49SFN8DPZ3FJGWR4ZZ783":3,"skill-same:01M7A49SFN8DPZ3FJGWR4ZZ783":142},{"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},"01M7A49SFN8DPZ3FJGWR4ZZ783","budget-deployer",null,"Provisions AWS Budgets and Cost Anomaly Detection with production defaults: cost budgets (fixed\u002Fthreshold, actual vs forecast alerts), usage budgets (RI\u002FSP utilization, RI\u002FSP coverage), cost anomaly detection (service monitors, subscriptions), budget actions (apply\u002Fremove IAM policy, stop EC2\u002FRDS, SNS), threshold tiering (80\u002F90\u002F100%), cost filters (service, linked account, tag, region). Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating a budget, configuring budget actions, hardening spend guardrails on a new account, setting RI\u002FSP utilization targets, or wiring cost anomaly subscriptions.","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\u002Fbudget-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: budget-deployer\ndescription: 'Provisions AWS Budgets and Cost Anomaly Detection with production defaults: cost budgets (fixed\u002Fthreshold, actual vs forecast alerts), usage budgets (RI\u002FSP utilization, RI\u002FSP coverage), cost anomaly detection (service monitors, subscriptions), budget actions (apply\u002Fremove IAM policy, stop EC2\u002FRDS, SNS), threshold tiering (80\u002F90\u002F100%), cost filters (service, linked account, tag, region). Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating a budget, configuring budget actions, hardening spend guardrails on a new account, setting RI\u002FSP utilization targets, or wiring cost anomaly subscriptions.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with budgets, ce, sns, iam, sts, and ec2 access. Works with Terraform aws_budgets_budget, aws_ce_anomaly_monitor, and aws_sns_topic resources and CloudFormation AWS::Budgets::Budget templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: FinOps\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, budgets, cloudops, deploy, finops, provisioning, cost-budget, usage-budget, ri-utilization, savings-plan, anomaly-detection, budget-actions\n  dependencies: aws-orchestrator\n  keywords: aws, budgets, cloudops, deploy, provisioning, cost budget, usage budget, ri utilization, ri coverage, savings plan, savings plan utilization, savings plan coverage, cost anomaly detection, budget actions, iam policy apply, ec2 stop, sns notification, forecast, actual, threshold, cost filters, linked account, consolidated billing\n  when_to_use: Invoke when the user wants to create an AWS Budget (cost, usage, RI utilization, RI coverage, Savings Plan utilization, Savings Plan coverage), configure Budget Actions (apply\u002Fremove IAM policy, stop EC2, SNS), enable Cost Anomaly Detection with subscriptions and monitors, wire SNS notifications for budget alerts, scope a budget to a linked account \u002F service \u002F tag \u002F region, or generate provisioning CLI commands \u002F IaC templates for spend guardrails. Do NOT invoke for auditing existing budgets posture (use budgets-auditor), or for Cost Explorer forecast analysis without a deployment intent.\n---\n\n# AWS Budget Deployer\n\nAn AWS CloudOps agent skill that provisions AWS Budgets and Cost Anomaly\nDetection with correct defaults. The skill walks the operator through a\n10-step provisioning procedure, captures the operator's spend-model\ndecisions (budget type, scope, thresholds, action tier), explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## What this skill does\n\nProvisions AWS Budgets and Cost Anomaly Detection with production-grade\ndefaults: cost budgets (fixed amount or zero-spend), usage budgets (RI \u002F\nSavings Plan utilization and coverage), cost anomaly detection monitors,\nbudget alerts on actual vs forecast spend at configurable thresholds, and\nbudget actions that apply\u002Fremove an IAM policy, stop EC2\u002FRDS instances,\nor publish to SNS when a threshold is breached.\n\n## Activation\n\nTrigger phrases: \"create budget\", \"provision AWS Budget\", \"cost budget\",\n\"usage budget\", \"RI utilization budget\", \"RI coverage budget\", \"Savings\nPlan utilization\", \"Savings Plan coverage\", \"cost anomaly detection\",\n\"budget actions\", \"apply IAM policy on budget breach\", \"stop EC2 on\nbudget\", \"SNS budget notification\", \"budget threshold alert\", \"zero\nspend budget\", \"linked account budget\".\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a budget-provisioning request, the agent\nMUST respond with the READY_TO_DEPLOY checklist defined in §\"Output\nformat\" using the literal all-caps labels `BUDGET:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** a budget without a notification or action is\nsilent. AWS Budgets does not push alerts unless an explicit notification\nis attached; Cost Anomaly Detection does not alert unless an explicit\nsubscription exists. The provisioning procedure treats the\nnotification\u002Faction\u002Fsubscription as the load-bearing part of the\ndeployment — the budget definition itself is the easy part.\n\nThree misconceptions dominate budget misconfiguration at provisioning\ntime:\n\n- **\"A budget alerts me automatically when spend crosses the threshold.\"**\n  It does not. `create-budget` defines the threshold; you MUST call\n  `create-notification` separately to attach an SNS notification, email,\n  or Slack destination. Operators frequently create budgets via the\n  console wizard (which silently attaches a default notification) and\n  then assume `create-budget` via CLI does the same. It does not — the\n  CLI path requires an explicit `create-notification`.\n\n- **\"Budget actions fire automatically on any breach.\"** Budget actions\n  (apply\u002Fremove IAM policy, stop EC2 instances, SNS) require a separate\n  `create-budget-action` call AND an IAM role that trusts\n  `budgets.amazonaws.com` with a permission policy granting the action.\n  Without the role, `create-budget-action` returns\n  `InvalidParameterException`. The role is the most commonly missed\n  prerequisite.\n\n- **\"Cost Anomaly Detection is enabled by default.\"** It is not. The\n  service-wide monitor must be created (`create-anomaly-monitor`) and a\n  subscription (`create-anomaly-subscriptions`) must be attached with an\n  SNS topic or email root. Without the subscription, anomalies are\n  visible in the console but never alerted on.\n\n## Quick navigation\n\n- **Step 0** — Capture intent (budget type, scope, amount, action tier).\n- **Step 1** — Choose budget type (cost vs usage vs anomaly).\n- **Step 2** — Choose scope (payer, linked account, service, tag, region).\n- **Step 3** — Cost budget: amount, time period, unit.\n- **Step 4** — Usage budget: RI\u002FSP utilization vs coverage.\n- **Step 5** — Cost anomaly detection: monitor + subscription.\n- **Step 6** — Alerts: actual vs forecast, threshold percentages.\n- **Step 7** — Budget actions: IAM, EC2 stop, SNS — gated by IAM role.\n- **Step 8** — SNS topic + subscription + Budgets IAM policy.\n- **Step 9** — Cost filters: service, linked account, tag, region.\n- **Step 10** — Verification commands.\n\n## STRICT output contract\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nBUDGET: \u003Cbudget name> in \u003Caccount \u002F payer scope>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Budget type: COST | RI_UTILIZATION | RI_COVERAGE | SP_UTILIZATION | SP_COVERAGE | ANOMALY\n  [✓|✗] Scope: \u003Caccount | linked account | service | tag | region>\n  [✓|✗] Amount \u002F target: \u003C$amount or % utilization>\n  [✓|✗] Time period: MONTHLY | QUARTERLY | ANNUALLY | DAILY\n  [✓|✗] Alerts: \u003Clist with threshold %, ACTUAL|FORECAST, SNS topic>\n  [✓|✗] Budget actions: \u003Clist with threshold %, action type, target>\n  [✓|✗] SNS topic + subscription + IAM policy: \u003Cverified | missing>\n  [✓|✗] Cost anomaly subscription: \u003Cmonitor + subscription + SNS>\n  [✓|✗] Cost filters: \u003Cservice | linked account | tag | region>\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-notifications-for-budget ...\n  aws budgets describe-budget-actions ...\n  aws ce get-anomaly-subscriptions ...\n  aws sns get-topic-attributes --topic-arn \u003Carn>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me set up…\" or \"I'll create…\" — the BUDGET line\n  is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER emit a budget without at least one notification, an action, or\n  an explicit \"no notification configured\" note. A budget without\n  notifications is silent spend.\n- NEVER recommend an IAM policy\u002FEC2 stop budget action without first\n  verifying the action role exists and trusts the Budgets service\n  principal.\n- NEVER declare `READY_TO_DEPLOY` for a budget action that targets a\n  resource outside the budget's scope (e.g., stopping an EC2 instance in\n  a linked account while the budget is scoped to the payer).\n\n## Cost Budgets vs Usage Budgets vs Anomaly Detection — decision tree\n\n| Signal in the prompt | Provisioning path |\n|---|---|\n| \"monthly spend limit\", \"fixed budget amount\", \"we don't want to exceed $X\" | **COST budget** — Step 3 |\n| \"RI utilization target\", \"we should be using our reservations\" | **USAGE budget** (`RI_UTILIZATION`) — Step 4 |\n| \"RI coverage target\", \"% of compute covered by RI\" | **USAGE budget** (`RI_COVERAGE`) — Step 4 |\n| \"Savings Plan utilization\", \"are we using our SP commitment\" | **USAGE budget** (`SP_UTILIZATION`) — Step 4 |\n| \"Savings Plan coverage\", \"% of spend covered by SP\" | **USAGE budget** (`SP_COVERAGE`) — Step 4 |\n| \"unusual spend spike\", \"anomalous cost\", \"detect outliers\" | **ANOMALY DETECTION** — Step 5 |\n| \"zero spend budget\", \"new account guardrail\" | **COST budget**, amount=$0.01, ACTUAL 100% — Step 3 |\n| \"stop EC2 instances when budget breached\" | **COST budget** + **budget action** (`APPLY_IAM_POLICY` or `RUN_SSM_DOCUMENTS`) — Step 7 |\n\n**Precedence rule.** When both a budget and anomaly detection are\nrequested, provision the budget first (it has the harder prerequisites —\nSNS, IAM role for actions) and the anomaly subscription second (it can\nshare the SNS topic).\n\n## Budget configuration dependency graph\n\n| Configuration | Hard dependencies | Silent failure | Enables downstream |\n|---|---|---|---|\n| Budget definition | none — `create-budget` argument | exists silently if no notification attached | notifications, actions |\n| Notification | budget exists; SNS topic exists for SNS-type | email-not-verified SNS subscription silently drops messages | email\u002FSNS\u002FSlack alerting |\n| Budget action (IAM\u002FEC2\u002FSNS) | budget exists; **IAM role trusting `budgets.amazonaws.com`** with required permissions | `create-budget-action` fails with `InvalidParameterException` if the role is missing or lacks trust policy | IAM policy apply\u002Fremove, EC2 stop, SNS |\n| IAM action role | trust policy `Principal: Service: budgets.amazonaws.com` + permission policy for the target action | role with trust on `sts:AssumeRole` only (no `Service` principal) silently fails at action execution | budget actions |\n| SNS topic for budget alerts | topic exists in same account + region; key policy allows `events.amazonaws.com` and\u002For `budgets.amazonaws.com` | SNS topic with server-side encryption (SSE-KMS) but no key policy for Budgets silently drops notifications | email, Lambda, HTTPS endpoints |\n| Cost anomaly monitor | `create-anomaly-monitor` (`DIMENSIONAL` for service-level or `CUSTOM`) | monitor exists but produces no alerts without a subscription | anomaly subscription |\n| Cost anomaly subscription | monitor exists; SNS topic or root email configured | SNS topic without key policy for `ce.amazonaws.com` silently drops anomaly alerts | anomaly SNS\u002Femail alerting |\n| Cost filter (Dimensions) | `BudgetType=COST` or `USAGE` | filter on `LINKED_ACCOUNT` only works on payer accounts | scoped budget per service\u002Faccount\u002Ftag\u002Fregion |\n\n**The action role and the SNS key policy are the two prerequisites a\nbaseline model misses.** The procedure below forces an explicit check on\nboth before any `create-budget-action` call.\n\nCross-dependency gotchas (linked-account action role, SSE-KMS key policy, forecast accuracy window, usage budgets reject actions) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when the dependency graph flags a silent-failure path.\n\n## Expert heuristic: threshold tiering for cost budgets\n\nA baseline model attaches a single 100% threshold and moves on. That\ngives the operator zero lead time to react. Use the **80 \u002F 90 \u002F 100**\ntiering rule for production cost budgets:\n\n```text\nthreshold_tier = {\n  \"80% ACTUAL\":   \"early warning — operator still has 20% of budget to react\",\n  \"90% ACTUAL\":   \"urgent — reaction window closing; pre-approve remediation\",\n  \"100% ACTUAL\":  \"breach — invoice will exceed budget; investigate root cause\",\n  \"100% FORECAST\":\"predictive — AWS forecast model predicts end-of-period breach\",\n}\n```\n\n**Why FORECAST matters:** a budget set to $10,000\u002Fmonth that is on pace\nfor $13,000 by day 20 will trigger a `100% FORECAST` notification around\nday 14-18, while the `100% ACTUAL` notification only fires around day\n24-26. The 6-10 day lead time is the difference between \"rightsize now\"\nand \"explain the overage next month\".\n\n**Zero-spend accounts** (sandbox, security-audit, break-glass) need a\ndifferent pattern: `$0.01` budget amount, `ACTUAL > 50%` threshold, SNS\nto security\u002FFinOps. A 50% threshold on a $0.01 budget fires on the first\ndollar. Never set a $0 budget; the API rejects it.\n\n**Action tier recommendation:**\n\n| Action | Threshold | Use case |\n|---|---|---|\n| SNS only | 80% \u002F 90% ACTUAL | All budgets — non-destructive, lets operator investigate |\n| SNS + APPLY_IAM_POLICY | 100% ACTUAL | Sandbox\u002Fdev accounts — restrict further spend by denying `*:*` on non-essential services |\n| SNS + RUN_SSM_DOCUMENTS (EC2 stop) | 100% ACTUAL | Test environments where stop is acceptable; **never** on production |\n| REMOVE_IAM_POLICY | 100% ACTUAL | Reverse a previous `APPLY_IAM_POLICY` action when budget resets |\n\n**Critical:** budget actions are scoped per budget. A single budget can\nhave multiple actions at different thresholds.\n\n## Expert heuristic: anomaly detection sensitivity tuning\n\nAnomaly-detection sensitivity tuning (put-feedback, subscription threshold, monitor specification) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when tuning anomaly false-positive rates.\n\n## Expert heuristic: API, cost, and timing quirks\n\nFree-tier budget limit, API throttling, forecast accuracy window, RI\u002FSP evaluation lag, and tag-activation propagation moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when provisioning at scale or debugging timing.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a specific\ngap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account ID (payer or standalone) | Budgets are scoped per account; payer covers linked | `aws sts get-caller-identity --query Account --output text` |\n| Region (Budgets API is `us-east-1`) | SNS topics should be in `us-east-1` for lowest latency | `aws configure get region` |\n| SNS topic ARN + policy allowing `budgets.amazonaws.com` Publish | Budgets calls `sns:Publish`; topic policy must allow it | `aws sns get-topic-attributes --topic-arn \u003Carn> --query 'Attributes.Policy'` |\n| KMS key policy for encrypted SNS topic (if SSE-KMS) | CMK must grant `kms:GenerateDataKey*` to `budgets.amazonaws.com` and `ce.amazonaws.com` | `aws kms get-key-policy --key-id \u003Ccmk-id> --policy-name default` |\n| Budget action role with trust on `budgets.amazonaws.com` | Budget Actions require an assumable role | `aws iam get-role --role-name \u003Cname> --query 'Role.AssumeRolePolicyDocument'` |\n| Email address confirmed (for email notifications) | Email subscriptions require confirmation | `aws sns list-subscriptions-by-topic --topic-arn \u003Carn>` |\n| Payer access for linked-account budgets | Linked-account filters require Cost Explorer | `aws ce get-dimension-values --dimension LINKED_ACCOUNT --time-period ...` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 0 — Capture intent (scope and amount)\n\nBefore any CLI call, confirm: budget type (cost \u002F RI util \u002F RI coverage\n\u002F SP util \u002F SP coverage \u002F anomaly); scope (whole account \u002F linked\naccount \u002F service \u002F tag \u002F region); amount (dollars for cost, percent for\nusage); time period (MONTHLY default); action tier (notify-only SNS \u002F\nSNS+IAM policy \u002F SNS+EC2 stop \u002F SNS+IAM removal); thresholds (80\u002F90\u002F100\nrecommended for production; 50\u002F100 for sandbox; 100+forecast for\nbudget-at-risk).\n\nIf the operator has not specified these, emit\n`VERDICT: PREREQUISITES_MISSING` with the missing inputs list.\n\n### Step 1 — Choose budget type\n\n| Need | BudgetType | Spec field |\n|---|---|---|\n| Fixed dollar spend limit | `COST` | `Budget.BudgetLimit.Amount` + `.Unit` |\n| Zero-spend guardrail | `COST` | `Budget.BudgetLimit.Amount=0.01, Unit=USD` |\n| RI utilization target | `RI_UTILIZATION` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| RI coverage target | `RI_COVERAGE` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| SP utilization target | `SP_UTILIZATION` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| SP coverage target | `SP_COVERAGE` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| Outlier detection (no threshold) | (anomaly monitor, not a budget) | `create-anomaly-monitor` (Step 5) |\n\n`BudgetType` and `BudgetLimit` are mutable via `update-budget`; `TimeUnit`\n(MONTHLY \u002F DAILY \u002F QUARTERLY \u002F ANNUALLY) is mutable.\n\n### Step 2 — Choose scope (CostFilters)\n\nUse `CostFilters` in the budget definition to scope the budget. Filters\nare additive (AND semantics).\n\n| Filter dimension | Key in CostFilters | Example | Notes |\n|---|---|---|---|\n| Linked account | `LinkedAccount` | `[\"123456789012\"]` | Only works from the payer |\n| Service | `Service` | `[\"Amazon Elastic Compute Cloud - Compute\"]` | Use Cost Explorer service names, not CLI names |\n| Tag | `TagKeyValue` | `[\"Environment$production\"]` | Format `key$value`; tag must be activated in Cost Explorer |\n| Region | `Region` | `[\"US East (N. Virginia)\"]` | Use Region display names |\n| AZ | `AZ` | `[\"us-east-1a\"]` | Rarely used |\n| PurchaseType | `PurchaseType` | `[\"Reserved Instances\"]` | For RI-related budgets |\n\n**Common mistake:** using AWS CLI service names (`ec2`) instead of Cost\nExplorer service names (`Amazon Elastic Compute Cloud - Compute`). Verify\nwith `aws ce get-dimension-values --dimension SERVICE`.\n\n**Tag activation prerequisite:** tag-based filters require the tag key\nto be activated in Billing → Cost Allocation Tags. Allow ~24 hours for\npropagation.\n\n### Step 3 — Cost budget configuration (amount + time period + unit)\n\nStep 3 cost-budget CLI, CostTypes defaults, and zero-spend variant moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when emitting the create-budget command.\n\n### Step 4 — Usage budget configuration (RI\u002FSP utilization\u002Fcoverage)\n\nStep 4 usage-budget CLI and LESS_THAN_THRESHOLD constraint moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning RI\u002FSP budgets.\n\n### Step 5 — Cost Anomaly Detection (monitor + subscription)\n\nStep 5 create-anomaly-monitor \u002F create-anomaly-subscription CLI and ce.amazonaws.com principal note moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning anomaly detection.\n\n### Step 6 — Budget alerts (actual vs forecast, threshold percentages)\n\nStep 6 create-notification CLI, threshold types, and actual-vs-forecast pairing moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when attaching notifications.\n\n### Step 7 — Budget actions (IAM policy \u002F EC2 stop \u002F SNS)\n\nStep 7 action-role template, create-budget-action CLI, action types, approval model, and cross-account constraint moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning budget actions.\n\n### Step 8 — SNS topic + subscription + IAM policy\n\nStep 8 SNS topic creation, two-principal topic policy, and SSE-KMS caveat moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning the alerting backbone.\n\n### Step 9 — Cost filters (service \u002F linked account \u002F tag \u002F region)\n\nCostFilters common-pattern table moved verbatim to [references\u002Fbudget-types-and-actions.md](references\u002Fbudget-types-and-actions.md).\nLoad on demand when scoping a budget.\n\n### Step 10 — Verification\n\nStep 10 verification commands moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand after deployment.\n\n## NEVER do these things (top)\n\n1. **NEVER create a budget without at least one notification, action, or\n   explicit \"no notification\" note.** `create-budget` alone does NOT\n   alert. Without a `create-notification` call, the budget is silent\n   spend — the operator will not learn about a breach until the invoice\n   arrives. The CLI path is the most common source of this mistake\n   because the console wizard attaches a default notification\n   implicitly.\n\n2. **NEVER provision a budget action (IAM\u002FEC2\u002FSSM) without first\n   verifying the ExecutionRoleArn exists and trusts\n   `budgets.amazonaws.com`.** Budget Actions cannot assume an arbitrary\n   role. The role trust policy MUST have\n   `Principal: Service: budgets.amazonaws.com` with `sts:AssumeRole`.\n   A role that trusts only an IAM user or another role will fail at\n   execution time, not at create time.\n\n3. **NEVER attach budget actions to usage budgets (RI_*, SP_*).** The\n   API rejects this. Usage budgets support notifications only — no\n   IAM\u002FEC2\u002FSSM action. Use a separate COST budget if you need an action\n   tier on Reserved Instance or Savings Plan commitments.\n\n4. **NEVER reuse a Budgets SNS topic for Cost Anomaly Detection without\n   adding `ce.amazonaws.com` to the topic policy.** Budgets publishes\n   as `budgets.amazonaws.com`; Cost Explorer publishes as\n   `ce.amazonaws.com`. A topic policy that allows only\n   `budgets.amazonaws.com` silently drops anomaly alerts — no error, no\n   CloudTrail event for the publish.\n\n5. **NEVER deploy a customer-CMK-encrypted SNS topic for Budgets or\n   Anomaly alerts without granting `kms:GenerateDataKey*` and\n   `kms:Decrypt` to `budgets.amazonaws.com` and `ce.amazonaws.com` in\n   the key policy.** AWS-managed `alias\u002Faws\u002Fsns` works out-of-the-box;\n   customer CMKs do not. Symptom: no alerts delivered, no error logged.\n\n(Additional: never set `BudgetLimit.Amount=0` — API rejects; use `0.01`\nfor zero-spend. Never use `FORECAST` notifications on usage budgets —\nAPI rejects. Never assume email SNS subscriptions are active without\nconfirmation. Never set `BudgetLimit.Amount` \u003C 0.01.)\n\n## Output format\n\n```text\nBUDGET: \u003Cbudget-name> in \u003Caccount \u002F scope>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Budget type: COST | RI_UTILIZATION | RI_COVERAGE | SP_UTILIZATION | SP_COVERAGE | ANOMALY\n  [✓|✗] Scope: \u003Caccount | linked account | service | tag | region>\n  [✓|✗] Amount \u002F target: \u003C$amount for COST | % for USAGE>\n  [✓|✗] Time period: MONTHLY | DAILY | QUARTERLY | ANNUALLY\n  [✓|✗] Alerts: \u003Clist with NotificationType ACTUAL|FORECAST, Threshold, ComparisonOperator>\n  [✓|✗] Budget actions: \u003Clist with action type, threshold, target, approval model>\n  [✓|✗] Action execution role: \u003CARN, trust on budgets.amazonaws.com verified>\n  [✓|✗] SNS topic: \u003CARN, topic policy includes budgets.amazonaws.com AND ce.amazonaws.com>\n  [✓|✗] SNS subscriptions: \u003Clist, all confirmed>\n  [✓|✗] KMS key policy (if encrypted topic): \u003Cgrants to budgets + ce verified | N\u002FA>\n  [✓|✗] Cost anomaly monitor: \u003CARN | N\u002FA>\n  [✓|✗] Cost anomaly subscription: \u003CARN, Threshold $X | N\u002FA>\n  [✓|✗] Cost filters: \u003Clist of CostFilters | none>\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-notifications-for-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-budget-actions --account-id \u003Cid> --budget-name \u003Cname>\n  aws ce get-anomaly-monitors\n  aws ce get-anomaly-subscriptions\n  aws sns get-topic-attributes --topic-arn \u003Carn>\n```\n\n### Worked example — production cost budget with action tier\n\n```text\nBUDGET: prod-monthly-cost in 111111111111 (account-wide)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Budget type: COST  | Scope: account-wide | Amount: $10,000 USD | MONTHLY\n  [✓] Alerts: 80% \u002F 90% \u002F 100% ACTUAL + 100% FORECAST → SNS budget-alerts\n  [✓] Budget actions: APPLY_IAM_POLICY (BudgetDenyAll on SandboxAppRole) at 100% ACTUAL, AUTOMATIC\n  [✓] Action role: arn:aws:iam::111111111111:role\u002FBudgetActionsRole (trust verified)\n  [✓] SNS topic: arn:aws:sns:us-east-1:111111111111:budget-alerts (policy allows budgets + ce)\n  [✓] SNS subscriptions: finops@example.com (confirmed), budget-auto-remediation Lambda\n  [✓] KMS key policy: N\u002FA (topic uses alias\u002Faws\u002Fsns)\n  [✓] Cost anomaly: default monitor + prod-anomaly-subscription (Threshold $100, DAILY, SNS)\n  [✓] Cost filters: none\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id 111111111111 --budget-name prod-monthly-cost\n  aws budgets describe-notifications-for-budget --account-id 111111111111 --budget-name prod-monthly-cost\n  aws budgets describe-budget-actions --account-id 111111111111 --budget-name prod-monthly-cost\n  aws ce get-anomaly-monitors\n  aws ce get-anomaly-subscriptions\n  aws sns get-topic-attributes --topic-arn arn:aws:sns:us-east-1:111111111111:budget-alerts\n```\n\n## Error handling (quick triage)\n\nError-handling quick-triage entries moved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\nLoad on demand when a deployment fails or alerts never fire.\n\n## Decision tree: notify-only vs action tier\n\n```text\nProduction budget (cannot tolerate deny\u002Fstop)?\n├── YES → Notify-only (SNS + email). Thresholds: 80\u002F90\u002F100% ACTUAL + 100% FORECAST.\n└── NO → Sandbox\u002Fdev\u002Ftest where stop is acceptable?\n    ├── YES → 80\u002F90% ACTUAL → SNS only; 100% ACTUAL → APPLY_IAM_POLICY or\n    │         RUN_SSM_DOCUMENTS. ApprovalModel: AUTOMATIC for dev, MANUAL for prod-adjacent.\n    └── NO → Usage budget (RI_*, SP_*)?\n        └── YES → Notify-only (API rejects actions on USAGE budgets).\n```\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features 2024-2026 (SP budget types, CAD feedback API, MonitorSpecification, STOP_RDS_INSTANCE, tag filter limits) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when checking feature availability windows.\n\n## References (load on demand)\n\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full provisioning CLI sequence; now also holds the Step 3-8 and Step 10 command payloads moved from SKILL.md.\n- [references\u002Fbudget-types-and-actions.md](references\u002Fbudget-types-and-actions.md) — BudgetType, action, and CostFilters reference; now also holds the Step 9 cost-filter pattern table moved from SKILL.md.\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — quick-triage failure modes moved from SKILL.md.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — cross-dependency gotchas, anomaly-sensitivity tuning, API\u002Fcost\u002Ftiming quirks, and Recent AWS features moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F FinOps — Spend Guardrails & Cost Governance.\n\n## AWS documentation\n\n- **AWS Budgets User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-managing-costs.html\n- **AWS Budgets actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-controls.html\n- **Cost Anomaly Detection** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fanomaly-detection.html\n- **Budgets CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fbudgets\u002F\n- **Cost Explorer API (CE) CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fce\u002F\n- **Savings Plans + Budgets integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsavingsplans\u002Flatest\u002Fuserguide\u002Fsp-budgets.html\n- **IAM role for Budget Actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-controls.html#budgets-controls-role\n","# AWS Budget Deployer\n\nAn AWS CloudOps agent skill that provisions AWS Budgets and Cost Anomaly\nDetection with correct defaults. The skill walks the operator through a\n10-step provisioning procedure, captures the operator's spend-model\ndecisions (budget type, scope, thresholds, action tier), explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## What this skill does\n\nProvisions AWS Budgets and Cost Anomaly Detection with production-grade\ndefaults: cost budgets (fixed amount or zero-spend), usage budgets (RI \u002F\nSavings Plan utilization and coverage), cost anomaly detection monitors,\nbudget alerts on actual vs forecast spend at configurable thresholds, and\nbudget actions that apply\u002Fremove an IAM policy, stop EC2\u002FRDS instances,\nor publish to SNS when a threshold is breached.\n\n## Activation\n\nTrigger phrases: \"create budget\", \"provision AWS Budget\", \"cost budget\",\n\"usage budget\", \"RI utilization budget\", \"RI coverage budget\", \"Savings\nPlan utilization\", \"Savings Plan coverage\", \"cost anomaly detection\",\n\"budget actions\", \"apply IAM policy on budget breach\", \"stop EC2 on\nbudget\", \"SNS budget notification\", \"budget threshold alert\", \"zero\nspend budget\", \"linked account budget\".\n\n## Invocation contract (hard requirement)\n\nWhen this skill is invoked with a budget-provisioning request, the agent\nMUST respond with the READY_TO_DEPLOY checklist defined in §\"Output\nformat\" using the literal all-caps labels `BUDGET:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the checklist\nwith prose, headings, or disclaimers — emit the block as the first lines\nof the response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the literal\nlabels breaks automation silently.\n\n## Mindset\n\n**One-line takeaway:** a budget without a notification or action is\nsilent. AWS Budgets does not push alerts unless an explicit notification\nis attached; Cost Anomaly Detection does not alert unless an explicit\nsubscription exists. The provisioning procedure treats the\nnotification\u002Faction\u002Fsubscription as the load-bearing part of the\ndeployment — the budget definition itself is the easy part.\n\nThree misconceptions dominate budget misconfiguration at provisioning\ntime:\n\n- **\"A budget alerts me automatically when spend crosses the threshold.\"**\n  It does not. `create-budget` defines the threshold; you MUST call\n  `create-notification` separately to attach an SNS notification, email,\n  or Slack destination. Operators frequently create budgets via the\n  console wizard (which silently attaches a default notification) and\n  then assume `create-budget` via CLI does the same. It does not — the\n  CLI path requires an explicit `create-notification`.\n\n- **\"Budget actions fire automatically on any breach.\"** Budget actions\n  (apply\u002Fremove IAM policy, stop EC2 instances, SNS) require a separate\n  `create-budget-action` call AND an IAM role that trusts\n  `budgets.amazonaws.com` with a permission policy granting the action.\n  Without the role, `create-budget-action` returns\n  `InvalidParameterException`. The role is the most commonly missed\n  prerequisite.\n\n- **\"Cost Anomaly Detection is enabled by default.\"** It is not. The\n  service-wide monitor must be created (`create-anomaly-monitor`) and a\n  subscription (`create-anomaly-subscriptions`) must be attached with an\n  SNS topic or email root. Without the subscription, anomalies are\n  visible in the console but never alerted on.\n\n## Quick navigation\n\n- **Step 0** — Capture intent (budget type, scope, amount, action tier).\n- **Step 1** — Choose budget type (cost vs usage vs anomaly).\n- **Step 2** — Choose scope (payer, linked account, service, tag, region).\n- **Step 3** — Cost budget: amount, time period, unit.\n- **Step 4** — Usage budget: RI\u002FSP utilization vs coverage.\n- **Step 5** — Cost anomaly detection: monitor + subscription.\n- **Step 6** — Alerts: actual vs forecast, threshold percentages.\n- **Step 7** — Budget actions: IAM, EC2 stop, SNS — gated by IAM role.\n- **Step 8** — SNS topic + subscription + Budgets IAM policy.\n- **Step 9** — Cost filters: service, linked account, tag, region.\n- **Step 10** — Verification commands.\n\n## STRICT output contract\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nBUDGET: \u003Cbudget name> in \u003Caccount \u002F payer scope>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Budget type: COST | RI_UTILIZATION | RI_COVERAGE | SP_UTILIZATION | SP_COVERAGE | ANOMALY\n  [✓|✗] Scope: \u003Caccount | linked account | service | tag | region>\n  [✓|✗] Amount \u002F target: \u003C$amount or % utilization>\n  [✓|✗] Time period: MONTHLY | QUARTERLY | ANNUALLY | DAILY\n  [✓|✗] Alerts: \u003Clist with threshold %, ACTUAL|FORECAST, SNS topic>\n  [✓|✗] Budget actions: \u003Clist with threshold %, action type, target>\n  [✓|✗] SNS topic + subscription + IAM policy: \u003Cverified | missing>\n  [✓|✗] Cost anomaly subscription: \u003Cmonitor + subscription + SNS>\n  [✓|✗] Cost filters: \u003Cservice | linked account | tag | region>\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-notifications-for-budget ...\n  aws budgets describe-budget-actions ...\n  aws ce get-anomaly-subscriptions ...\n  aws sns get-topic-attributes --topic-arn \u003Carn>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me set up…\" or \"I'll create…\" — the BUDGET line\n  is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER emit a budget without at least one notification, an action, or\n  an explicit \"no notification configured\" note. A budget without\n  notifications is silent spend.\n- NEVER recommend an IAM policy\u002FEC2 stop budget action without first\n  verifying the action role exists and trusts the Budgets service\n  principal.\n- NEVER declare `READY_TO_DEPLOY` for a budget action that targets a\n  resource outside the budget's scope (e.g., stopping an EC2 instance in\n  a linked account while the budget is scoped to the payer).\n\n## Cost Budgets vs Usage Budgets vs Anomaly Detection — decision tree\n\n| Signal in the prompt | Provisioning path |\n|---|---|\n| \"monthly spend limit\", \"fixed budget amount\", \"we don't want to exceed $X\" | **COST budget** — Step 3 |\n| \"RI utilization target\", \"we should be using our reservations\" | **USAGE budget** (`RI_UTILIZATION`) — Step 4 |\n| \"RI coverage target\", \"% of compute covered by RI\" | **USAGE budget** (`RI_COVERAGE`) — Step 4 |\n| \"Savings Plan utilization\", \"are we using our SP commitment\" | **USAGE budget** (`SP_UTILIZATION`) — Step 4 |\n| \"Savings Plan coverage\", \"% of spend covered by SP\" | **USAGE budget** (`SP_COVERAGE`) — Step 4 |\n| \"unusual spend spike\", \"anomalous cost\", \"detect outliers\" | **ANOMALY DETECTION** — Step 5 |\n| \"zero spend budget\", \"new account guardrail\" | **COST budget**, amount=$0.01, ACTUAL 100% — Step 3 |\n| \"stop EC2 instances when budget breached\" | **COST budget** + **budget action** (`APPLY_IAM_POLICY` or `RUN_SSM_DOCUMENTS`) — Step 7 |\n\n**Precedence rule.** When both a budget and anomaly detection are\nrequested, provision the budget first (it has the harder prerequisites —\nSNS, IAM role for actions) and the anomaly subscription second (it can\nshare the SNS topic).\n\n## Budget configuration dependency graph\n\n| Configuration | Hard dependencies | Silent failure | Enables downstream |\n|---|---|---|---|\n| Budget definition | none — `create-budget` argument | exists silently if no notification attached | notifications, actions |\n| Notification | budget exists; SNS topic exists for SNS-type | email-not-verified SNS subscription silently drops messages | email\u002FSNS\u002FSlack alerting |\n| Budget action (IAM\u002FEC2\u002FSNS) | budget exists; **IAM role trusting `budgets.amazonaws.com`** with required permissions | `create-budget-action` fails with `InvalidParameterException` if the role is missing or lacks trust policy | IAM policy apply\u002Fremove, EC2 stop, SNS |\n| IAM action role | trust policy `Principal: Service: budgets.amazonaws.com` + permission policy for the target action | role with trust on `sts:AssumeRole` only (no `Service` principal) silently fails at action execution | budget actions |\n| SNS topic for budget alerts | topic exists in same account + region; key policy allows `events.amazonaws.com` and\u002For `budgets.amazonaws.com` | SNS topic with server-side encryption (SSE-KMS) but no key policy for Budgets silently drops notifications | email, Lambda, HTTPS endpoints |\n| Cost anomaly monitor | `create-anomaly-monitor` (`DIMENSIONAL` for service-level or `CUSTOM`) | monitor exists but produces no alerts without a subscription | anomaly subscription |\n| Cost anomaly subscription | monitor exists; SNS topic or root email configured | SNS topic without key policy for `ce.amazonaws.com` silently drops anomaly alerts | anomaly SNS\u002Femail alerting |\n| Cost filter (Dimensions) | `BudgetType=COST` or `USAGE` | filter on `LINKED_ACCOUNT` only works on payer accounts | scoped budget per service\u002Faccount\u002Ftag\u002Fregion |\n\n**The action role and the SNS key policy are the two prerequisites a\nbaseline model misses.** The procedure below forces an explicit check on\nboth before any `create-budget-action` call.\n\nCross-dependency gotchas (linked-account action role, SSE-KMS key policy, forecast accuracy window, usage budgets reject actions) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when the dependency graph flags a silent-failure path.\n\n## Expert heuristic: threshold tiering for cost budgets\n\nA baseline model attaches a single 100% threshold and moves on. That\ngives the operator zero lead time to react. Use the **80 \u002F 90 \u002F 100**\ntiering rule for production cost budgets:\n\n```text\nthreshold_tier = {\n  \"80% ACTUAL\":   \"early warning — operator still has 20% of budget to react\",\n  \"90% ACTUAL\":   \"urgent — reaction window closing; pre-approve remediation\",\n  \"100% ACTUAL\":  \"breach — invoice will exceed budget; investigate root cause\",\n  \"100% FORECAST\":\"predictive — AWS forecast model predicts end-of-period breach\",\n}\n```\n\n**Why FORECAST matters:** a budget set to $10,000\u002Fmonth that is on pace\nfor $13,000 by day 20 will trigger a `100% FORECAST` notification around\nday 14-18, while the `100% ACTUAL` notification only fires around day\n24-26. The 6-10 day lead time is the difference between \"rightsize now\"\nand \"explain the overage next month\".\n\n**Zero-spend accounts** (sandbox, security-audit, break-glass) need a\ndifferent pattern: `$0.01` budget amount, `ACTUAL > 50%` threshold, SNS\nto security\u002FFinOps. A 50% threshold on a $0.01 budget fires on the first\ndollar. Never set a $0 budget; the API rejects it.\n\n**Action tier recommendation:**\n\n| Action | Threshold | Use case |\n|---|---|---|\n| SNS only | 80% \u002F 90% ACTUAL | All budgets — non-destructive, lets operator investigate |\n| SNS + APPLY_IAM_POLICY | 100% ACTUAL | Sandbox\u002Fdev accounts — restrict further spend by denying `*:*` on non-essential services |\n| SNS + RUN_SSM_DOCUMENTS (EC2 stop) | 100% ACTUAL | Test environments where stop is acceptable; **never** on production |\n| REMOVE_IAM_POLICY | 100% ACTUAL | Reverse a previous `APPLY_IAM_POLICY` action when budget resets |\n\n**Critical:** budget actions are scoped per budget. A single budget can\nhave multiple actions at different thresholds.\n\n## Expert heuristic: anomaly detection sensitivity tuning\n\nAnomaly-detection sensitivity tuning (put-feedback, subscription threshold, monitor specification) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when tuning anomaly false-positive rates.\n\n## Expert heuristic: API, cost, and timing quirks\n\nFree-tier budget limit, API throttling, forecast accuracy window, RI\u002FSP evaluation lag, and tag-activation propagation moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when provisioning at scale or debugging timing.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING** with a specific\ngap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account ID (payer or standalone) | Budgets are scoped per account; payer covers linked | `aws sts get-caller-identity --query Account --output text` |\n| Region (Budgets API is `us-east-1`) | SNS topics should be in `us-east-1` for lowest latency | `aws configure get region` |\n| SNS topic ARN + policy allowing `budgets.amazonaws.com` Publish | Budgets calls `sns:Publish`; topic policy must allow it | `aws sns get-topic-attributes --topic-arn \u003Carn> --query 'Attributes.Policy'` |\n| KMS key policy for encrypted SNS topic (if SSE-KMS) | CMK must grant `kms:GenerateDataKey*` to `budgets.amazonaws.com` and `ce.amazonaws.com` | `aws kms get-key-policy --key-id \u003Ccmk-id> --policy-name default` |\n| Budget action role with trust on `budgets.amazonaws.com` | Budget Actions require an assumable role | `aws iam get-role --role-name \u003Cname> --query 'Role.AssumeRolePolicyDocument'` |\n| Email address confirmed (for email notifications) | Email subscriptions require confirmation | `aws sns list-subscriptions-by-topic --topic-arn \u003Carn>` |\n| Payer access for linked-account budgets | Linked-account filters require Cost Explorer | `aws ce get-dimension-values --dimension LINKED_ACCOUNT --time-period ...` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## 10-step provisioning procedure\n\n### Step 0 — Capture intent (scope and amount)\n\nBefore any CLI call, confirm: budget type (cost \u002F RI util \u002F RI coverage\n\u002F SP util \u002F SP coverage \u002F anomaly); scope (whole account \u002F linked\naccount \u002F service \u002F tag \u002F region); amount (dollars for cost, percent for\nusage); time period (MONTHLY default); action tier (notify-only SNS \u002F\nSNS+IAM policy \u002F SNS+EC2 stop \u002F SNS+IAM removal); thresholds (80\u002F90\u002F100\nrecommended for production; 50\u002F100 for sandbox; 100+forecast for\nbudget-at-risk).\n\nIf the operator has not specified these, emit\n`VERDICT: PREREQUISITES_MISSING` with the missing inputs list.\n\n### Step 1 — Choose budget type\n\n| Need | BudgetType | Spec field |\n|---|---|---|\n| Fixed dollar spend limit | `COST` | `Budget.BudgetLimit.Amount` + `.Unit` |\n| Zero-spend guardrail | `COST` | `Budget.BudgetLimit.Amount=0.01, Unit=USD` |\n| RI utilization target | `RI_UTILIZATION` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| RI coverage target | `RI_COVERAGE` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| SP utilization target | `SP_UTILIZATION` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| SP coverage target | `SP_COVERAGE` | `Budget.BudgetLimit.Amount=80, Unit=PERCENTAGE` |\n| Outlier detection (no threshold) | (anomaly monitor, not a budget) | `create-anomaly-monitor` (Step 5) |\n\n`BudgetType` and `BudgetLimit` are mutable via `update-budget`; `TimeUnit`\n(MONTHLY \u002F DAILY \u002F QUARTERLY \u002F ANNUALLY) is mutable.\n\n### Step 2 — Choose scope (CostFilters)\n\nUse `CostFilters` in the budget definition to scope the budget. Filters\nare additive (AND semantics).\n\n| Filter dimension | Key in CostFilters | Example | Notes |\n|---|---|---|---|\n| Linked account | `LinkedAccount` | `[\"123456789012\"]` | Only works from the payer |\n| Service | `Service` | `[\"Amazon Elastic Compute Cloud - Compute\"]` | Use Cost Explorer service names, not CLI names |\n| Tag | `TagKeyValue` | `[\"Environment$production\"]` | Format `key$value`; tag must be activated in Cost Explorer |\n| Region | `Region` | `[\"US East (N. Virginia)\"]` | Use Region display names |\n| AZ | `AZ` | `[\"us-east-1a\"]` | Rarely used |\n| PurchaseType | `PurchaseType` | `[\"Reserved Instances\"]` | For RI-related budgets |\n\n**Common mistake:** using AWS CLI service names (`ec2`) instead of Cost\nExplorer service names (`Amazon Elastic Compute Cloud - Compute`). Verify\nwith `aws ce get-dimension-values --dimension SERVICE`.\n\n**Tag activation prerequisite:** tag-based filters require the tag key\nto be activated in Billing → Cost Allocation Tags. Allow ~24 hours for\npropagation.\n\n### Step 3 — Cost budget configuration (amount + time period + unit)\n\nStep 3 cost-budget CLI, CostTypes defaults, and zero-spend variant moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when emitting the create-budget command.\n\n### Step 4 — Usage budget configuration (RI\u002FSP utilization\u002Fcoverage)\n\nStep 4 usage-budget CLI and LESS_THAN_THRESHOLD constraint moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning RI\u002FSP budgets.\n\n### Step 5 — Cost Anomaly Detection (monitor + subscription)\n\nStep 5 create-anomaly-monitor \u002F create-anomaly-subscription CLI and ce.amazonaws.com principal note moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning anomaly detection.\n\n### Step 6 — Budget alerts (actual vs forecast, threshold percentages)\n\nStep 6 create-notification CLI, threshold types, and actual-vs-forecast pairing moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when attaching notifications.\n\n### Step 7 — Budget actions (IAM policy \u002F EC2 stop \u002F SNS)\n\nStep 7 action-role template, create-budget-action CLI, action types, approval model, and cross-account constraint moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning budget actions.\n\n### Step 8 — SNS topic + subscription + IAM policy\n\nStep 8 SNS topic creation, two-principal topic policy, and SSE-KMS caveat moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand when provisioning the alerting backbone.\n\n### Step 9 — Cost filters (service \u002F linked account \u002F tag \u002F region)\n\nCostFilters common-pattern table moved verbatim to [references\u002Fbudget-types-and-actions.md](references\u002Fbudget-types-and-actions.md).\nLoad on demand when scoping a budget.\n\n### Step 10 — Verification\n\nStep 10 verification commands moved verbatim to [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md).\nLoad on demand after deployment.\n\n## NEVER do these things (top)\n\n1. **NEVER create a budget without at least one notification, action, or\n   explicit \"no notification\" note.** `create-budget` alone does NOT\n   alert. Without a `create-notification` call, the budget is silent\n   spend — the operator will not learn about a breach until the invoice\n   arrives. The CLI path is the most common source of this mistake\n   because the console wizard attaches a default notification\n   implicitly.\n\n2. **NEVER provision a budget action (IAM\u002FEC2\u002FSSM) without first\n   verifying the ExecutionRoleArn exists and trusts\n   `budgets.amazonaws.com`.** Budget Actions cannot assume an arbitrary\n   role. The role trust policy MUST have\n   `Principal: Service: budgets.amazonaws.com` with `sts:AssumeRole`.\n   A role that trusts only an IAM user or another role will fail at\n   execution time, not at create time.\n\n3. **NEVER attach budget actions to usage budgets (RI_*, SP_*).** The\n   API rejects this. Usage budgets support notifications only — no\n   IAM\u002FEC2\u002FSSM action. Use a separate COST budget if you need an action\n   tier on Reserved Instance or Savings Plan commitments.\n\n4. **NEVER reuse a Budgets SNS topic for Cost Anomaly Detection without\n   adding `ce.amazonaws.com` to the topic policy.** Budgets publishes\n   as `budgets.amazonaws.com`; Cost Explorer publishes as\n   `ce.amazonaws.com`. A topic policy that allows only\n   `budgets.amazonaws.com` silently drops anomaly alerts — no error, no\n   CloudTrail event for the publish.\n\n5. **NEVER deploy a customer-CMK-encrypted SNS topic for Budgets or\n   Anomaly alerts without granting `kms:GenerateDataKey*` and\n   `kms:Decrypt` to `budgets.amazonaws.com` and `ce.amazonaws.com` in\n   the key policy.** AWS-managed `alias\u002Faws\u002Fsns` works out-of-the-box;\n   customer CMKs do not. Symptom: no alerts delivered, no error logged.\n\n(Additional: never set `BudgetLimit.Amount=0` — API rejects; use `0.01`\nfor zero-spend. Never use `FORECAST` notifications on usage budgets —\nAPI rejects. Never assume email SNS subscriptions are active without\nconfirmation. Never set `BudgetLimit.Amount` \u003C 0.01.)\n\n## Output format\n\n```text\nBUDGET: \u003Cbudget-name> in \u003Caccount \u002F scope>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Budget type: COST | RI_UTILIZATION | RI_COVERAGE | SP_UTILIZATION | SP_COVERAGE | ANOMALY\n  [✓|✗] Scope: \u003Caccount | linked account | service | tag | region>\n  [✓|✗] Amount \u002F target: \u003C$amount for COST | % for USAGE>\n  [✓|✗] Time period: MONTHLY | DAILY | QUARTERLY | ANNUALLY\n  [✓|✗] Alerts: \u003Clist with NotificationType ACTUAL|FORECAST, Threshold, ComparisonOperator>\n  [✓|✗] Budget actions: \u003Clist with action type, threshold, target, approval model>\n  [✓|✗] Action execution role: \u003CARN, trust on budgets.amazonaws.com verified>\n  [✓|✗] SNS topic: \u003CARN, topic policy includes budgets.amazonaws.com AND ce.amazonaws.com>\n  [✓|✗] SNS subscriptions: \u003Clist, all confirmed>\n  [✓|✗] KMS key policy (if encrypted topic): \u003Cgrants to budgets + ce verified | N\u002FA>\n  [✓|✗] Cost anomaly monitor: \u003CARN | N\u002FA>\n  [✓|✗] Cost anomaly subscription: \u003CARN, Threshold $X | N\u002FA>\n  [✓|✗] Cost filters: \u003Clist of CostFilters | none>\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-notifications-for-budget --account-id \u003Cid> --budget-name \u003Cname>\n  aws budgets describe-budget-actions --account-id \u003Cid> --budget-name \u003Cname>\n  aws ce get-anomaly-monitors\n  aws ce get-anomaly-subscriptions\n  aws sns get-topic-attributes --topic-arn \u003Carn>\n```\n\n### Worked example — production cost budget with action tier\n\n```text\nBUDGET: prod-monthly-cost in 111111111111 (account-wide)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Budget type: COST  | Scope: account-wide | Amount: $10,000 USD | MONTHLY\n  [✓] Alerts: 80% \u002F 90% \u002F 100% ACTUAL + 100% FORECAST → SNS budget-alerts\n  [✓] Budget actions: APPLY_IAM_POLICY (BudgetDenyAll on SandboxAppRole) at 100% ACTUAL, AUTOMATIC\n  [✓] Action role: arn:aws:iam::111111111111:role\u002FBudgetActionsRole (trust verified)\n  [✓] SNS topic: arn:aws:sns:us-east-1:111111111111:budget-alerts (policy allows budgets + ce)\n  [✓] SNS subscriptions: finops@example.com (confirmed), budget-auto-remediation Lambda\n  [✓] KMS key policy: N\u002FA (topic uses alias\u002Faws\u002Fsns)\n  [✓] Cost anomaly: default monitor + prod-anomaly-subscription (Threshold $100, DAILY, SNS)\n  [✓] Cost filters: none\nVERIFICATION_COMMANDS:\n  aws budgets describe-budget --account-id 111111111111 --budget-name prod-monthly-cost\n  aws budgets describe-notifications-for-budget --account-id 111111111111 --budget-name prod-monthly-cost\n  aws budgets describe-budget-actions --account-id 111111111111 --budget-name prod-monthly-cost\n  aws ce get-anomaly-monitors\n  aws ce get-anomaly-subscriptions\n  aws sns get-topic-attributes --topic-arn arn:aws:sns:us-east-1:111111111111:budget-alerts\n```\n\n## Error handling (quick triage)\n\nError-handling quick-triage entries moved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\nLoad on demand when a deployment fails or alerts never fire.\n\n## Decision tree: notify-only vs action tier\n\n```text\nProduction budget (cannot tolerate deny\u002Fstop)?\n├── YES → Notify-only (SNS + email). Thresholds: 80\u002F90\u002F100% ACTUAL + 100% FORECAST.\n└── NO → Sandbox\u002Fdev\u002Ftest where stop is acceptable?\n    ├── YES → 80\u002F90% ACTUAL → SNS only; 100% ACTUAL → APPLY_IAM_POLICY or\n    │         RUN_SSM_DOCUMENTS. ApprovalModel: AUTOMATIC for dev, MANUAL for prod-adjacent.\n    └── NO → Usage budget (RI_*, SP_*)?\n        └── YES → Notify-only (API rejects actions on USAGE budgets).\n```\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features 2024-2026 (SP budget types, CAD feedback API, MonitorSpecification, STOP_RDS_INSTANCE, tag filter limits) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when checking feature availability windows.\n\n## References (load on demand)\n\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — full provisioning CLI sequence; now also holds the Step 3-8 and Step 10 command payloads moved from SKILL.md.\n- [references\u002Fbudget-types-and-actions.md](references\u002Fbudget-types-and-actions.md) — BudgetType, action, and CostFilters reference; now also holds the Step 9 cost-filter pattern table moved from SKILL.md.\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — quick-triage failure modes moved from SKILL.md.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — cross-dependency gotchas, anomaly-sensitivity tuning, API\u002Fcost\u002Ftiming quirks, and Recent AWS features moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F FinOps — Spend Guardrails & Cost Governance.\n\n## AWS documentation\n\n- **AWS Budgets User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-managing-costs.html\n- **AWS Budgets actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-controls.html\n- **Cost Anomaly Detection** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fanomaly-detection.html\n- **Budgets CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fbudgets\u002F\n- **Cost Explorer API (CE) CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fce\u002F\n- **Savings Plans + Budgets integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsavingsplans\u002Flatest\u002Fuserguide\u002Fsp-budgets.html\n- **IAM role for Budget Actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcost-management\u002Flatest\u002Fuserguide\u002Fbudgets-controls.html#budgets-controls-role\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},"aws, budgets, cloudops, deploy, finops, provisioning, cost-budget, usage-budget, ri-utilization, savings-plan, anomaly-detection, budget-actions","1","Jacky Chan — AWS Community Builder","aws-cloudops","FinOps","0.1.0","aws, budgets, cloudops, deploy, provisioning, cost budget, usage budget, ri utilization, ri coverage, savings plan, savings plan utilization, savings plan coverage, cost anomaly detection, budget actions, iam policy apply, ec2 stop, sns notification, forecast, actual, threshold, cost filters, linked account, consolidated billing","deploy","high","false","capability","Invoke when the user wants to create an AWS Budget (cost, usage, RI utilization, RI coverage, Savings Plan utilization, Savings Plan coverage), configure Budget Actions (apply\u002Fremove IAM policy, stop EC2, SNS), enable Cost Anomaly Detection with subscriptions and monitors, wire SNS notifications for budget alerts, scope a budget to a linked account \u002F service \u002F tag \u002F region, or generate provisioning CLI commands \u002F IaC templates for spend guardrails. Do NOT invoke for auditing existing budgets posture (use budgets-auditor), or for Cost Explorer forecast analysis without a deployment intent.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with budgets, ce, sns, iam, sts, and ec2 access. Works with Terraform aws_budgets_budget, aws_ce_anomaly_monitor, and aws_sns_topic resources and CloudFormation AWS::Budgets::Budget templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fbudget-deployer",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 budget-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill budget-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill budget-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6691,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fcost-budget-with-action-tier.md",1622,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fbaselines\u002Fcost-budget-with-action-tier.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmissing-sns-and-action-role.md",1443,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fbaselines\u002Fmissing-sns-and-action-role.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fri-utilization-budget.md",1092,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fbaselines\u002Fri-utilization-budget.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fsavings-plan-coverage-with-anomaly.md",1404,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fbaselines\u002Fsavings-plan-coverage-with-anomaly.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fzero-spend-sandbox-with-ec2-stop.md",1550,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fbaselines\u002Fzero-spend-sandbox-with-ec2-stop.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1827,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",12271,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fcost-budget-with-action-tier.md",942,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fprompts\u002Fcost-budget-with-action-tier.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmissing-sns-and-action-role.md",495,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fprompts\u002Fmissing-sns-and-action-role.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fri-utilization-budget.md",527,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fprompts\u002Fri-utilization-budget.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fsavings-plan-coverage-with-anomaly.md",638,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fprompts\u002Fsavings-plan-coverage-with-anomaly.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fzero-spend-sandbox-with-ec2-stop.md",865,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fevals\u002Fprompts\u002Fzero-spend-sandbox-with-ec2-stop.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",7797,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",6382,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fbudget-types-and-actions.md",8282,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Freferences\u002Fbudget-types-and-actions.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1131,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fprovisioning-cli-commands.md",17746,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4237,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbudget-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"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":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"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":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"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":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[]]