Skip to content

ericyanpek/agentcore-private-registry-blueprint / skill-package/src/aws_cost_anomaly_triage/skill_files

aws-cost-anomaly-triage

Verified

Use when the user reports an unexpected AWS cost spike, an alert from AWS Cost Anomaly Detection, or asks "why did my AWS bill go up". Walks through a structured triage SOP using Cost Explorer, CUR, and service-specific signals before recommending remediation.

resources/remediation-playbook.md

View on GitHub
# Remediation playbook

Map the classified pattern (A–F) to a remediation. Always pair a
remediation with a guardrail so the same anomaly cannot recur silently.

## Pattern A — Compute scale-up
- **Remediation**: rightsizing recommendation from Compute Optimizer,
  or instance termination if work is already done
- **Guardrail**: Service Control Policy denying `RunInstances` for
  instance types > 8xlarge in non-prod accounts; budget alert at the
  team OU

## Pattern B — Data transfer surge
- **Remediation**: introduce VPC endpoint (S3, DynamoDB, Bedrock) to
  remove NAT GW path; or move workload into same AZ as data
- **Guardrail**: Network Access Analyzer scheduled scan for
  cross-AZ paths; CloudWatch alarm on NAT GW bytes

## Pattern C — Storage creep
- **Remediation**: enable S3 Lifecycle to Intelligent-Tiering or
  Glacier IR; reduce snapshot retention
- **Guardrail**: AWS Config rule
  `s3-bucket-default-lock-enabled` or
  `s3-lifecycle-policy-check`

## Pattern D — New service activation
- **Remediation**: deactivate if unauthorized; if authorized, set up
  budget and tag the resource
- **Guardrail**: SCP `Deny` on `Create*` for the service in accounts
  that should not host it

## Pattern E — Tagging gap closure
- **Remediation**: usually no remediation needed — this is correct
  cost being attributed to its real owner
- **Guardrail**: Tag Policy enforcement at the OU level

## Pattern F — Discount expiration
- **Remediation**: renew RI / SP for steady-state usage; consider
  Compute SP for flexibility
- **Guardrail**: Cost Explorer "Reservation Expiration" report
  scheduled monthly to inbox

## Hard NOs
Never recommend any of the following as cost remediation:
- Disabling GuardDuty, Macie, Detective, Security Hub, Inspector
- Deleting CloudTrail logs (1-year retention is regulatory minimum)
- Deleting VPC Flow Logs while in incident-response window
- Removing resource tags
- Reducing RDS backup retention below 7 days
- Disabling Multi-AZ on production databases

If a stakeholder asks for any of the above to save cost, escalate to
the FinOps Steering Committee — do not implement.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 323kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall