/aws-startups-solution-architecture:cost-regression-checkfrom AWS Startups Solution Architecture
Reports infrastructure-as-code cost impact on pull requests against a fixed monthly AWS ceiling. Sets up CI with Infracost or similar to show floor cost and per-unit cost before apply.
Ships in AWS Startups Solution Architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Report the cost a change adds on the pull request that adds it, before apply, measured against the fixed monthly ceiling the company pays from its own money. That ceiling is what changes the answer. In a large bill, a new NAT gateway, load balancer, or database minimum is noise, prices are negotiated, and last month is a stable baseline. Against a small ceiling, often funded by credits that end, the same charge can take a visible share before the product has users, and the bill shows it a month later, after the money is spent. A team inside a large company has the same tooling but not that ceiling, so it keeps its company's rates, baselines, and cost process.
Set this up once, in a working session: add a CI job and a cost script to the repository, which owns and reviews both like any other code. On each pull request the job runs the cost script, which reads the resource changes, prices them, computes both numbers, and comments. No model runs per pull request, so the check costs nothing to attend to until a threshold is crossed.
| Decision | Large-company default | This skill | Reason |
|---|---|---|---|
| Report the floor apart | One blended monthly delta at an assumed volume | Two numbers: floor added, and change in cost per unit | A fixed charge that is noise in a large bill can be a material share of a small ceiling. A blended number hides which of the two moved. |
| Per-unit threshold from unit earnings | Unit cost reviewed on a dashboard after the bill | A per-unit threshold, set from what one unit earns where known, checked on each pull request | The ceiling stays fixed while usage grows, so a change that pushes cost per unit above what a unit earns turns growth into a bill the ceiling cannot hold. That number can double while every price stays flat, for example after a Lambda memory increase at unchanged duration. |
| Absolute thresholds | A percentage of a stable baseline | Two amounts derived from the ceiling, kept in the repository | A small or credit-funded bill has no stable base for a percentage. A large percentage on a near-zero bill is noise; a new fixed floor that takes a visible share of the ceiling is not. |
| List price | Negotiated or commitment-adjusted rates | Public on-demand price, labelled as such on every comment | Credits hide the bill that arrives when they run out, and the post-credit bill is the one the ceiling has to survive. |
Apply this skill when all of these hold:
Do not apply it to spend that already happened (use Skill("aws-core:aws-billing-and-cost-management")), to resources the application creates at runtime outside the plan, to optimization advice on infrastructure code as it stands, or to choosing services without a floor. This skill detects that a change added a floor; it does not decide which services have one.
references/thresholds.md. Get the ceiling from the bill owner, derive the floor threshold and the per-unit threshold, and write the thresholds file with an owner.references/floor-and-unit.md. Choose the unit, classify each price dimension the stack uses as floor or usage, and write the usage assumptions file with a source for every value.references/estimators.md. Choose where prices come from, then write the cost script and its tests.references/ci-placement.md. Add the job after plan, synth, or change set and before apply, in advisory mode, with the comment format defined there.Skill("aws-core:aws-billing-and-cost-management"), then decide with the bill owner whether an exceedance blocks a merge.accepted list of approved exceedances, and on_estimator_failure.Skill("aws-core:aws-billing-and-cost-management") for any arithmetic, and never state a price from memory.EstimateTemplateCost API. It returns a link to the Simple Monthly Calculator, which AWS no longer supports.The general estimator and CI mechanics live upstream. Invoke these for what they own, and use the reference files here only for what the ceiling changes:
Skill("aws-core:aws-billing-and-cost-management"): Price List service codes, attribute filters, tiered rates and the 730-hour month, the deterministic-calculation rule, Cost Explorer with credits excluded to compare estimates with the bill, and Budgets and Cost Anomaly Detection for spend after merge.Skill("aws-core:aws-cdk"): cdk synth and cdk diff. It prices nothing.Skill("aws-core:aws-cloudformation"): change sets and pre-deployment validation. It prices nothing.Skill("aws-core:aws-database") and Skill("aws-core:aws-compute"): the minimums and hourly charges of the services they own, such as Aurora serverless minimum capacity and public IPv4 addresses.Skill("aws-core:aws-deployment"): CodePipeline and CodeBuild, when the job runs there. It does not cover GitHub Actions or GitLab CI.Skill("aws-core:aws-iam"): the CI role and its read-only pricing permission.Skill("aws-startups-solution-architecture:agentcore-patterns"): only if a team later adds a model to the job and its output may block a merge.references/thresholds.md: Read before setting any threshold. Derives both thresholds and the stack floor cap from the ceiling at list price before credits, explains why a percentage of last month fails on a small bill, defines the thresholds file, and records who decides on an exceedance and how.references/floor-and-unit.md: Read before writing the usage assumptions file. Defines the floor and the per-unit change and why they stay apart against a small ceiling, classifies price dimensions rather than resources, shows where floors hide in a plan, and explains how a usage assumption goes wrong.references/estimators.md: Read before choosing a price source or writing the cost script. Covers what the floor and the stack floor cap need from a plan, pricing at list price from pinned Price List data or the baseline of a third-party estimator, and the tests that keep unpriced resources and Free Tier rates from reading as zero.references/ci-placement.md: Read before adding the job. Covers placement before apply, credentials for a pricing-only job, the comment format addressed to the bill owner, and the move from advisory to blocking after comparing estimates with the bill before credits.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub awslabs/startups --plugin aws-startups-solution-architecture5 skills in this plugin
/agentcore-patternsThis skill should be used when an automated agent's output is published under its own identity and carries weight in someone else's work, such as a reviewer whose verdict lands on a pull request, and the open question is how much authority it has actually earned. Covers which conclusions such an agent may state as settled and which it must hand to a person, why a verdict that moves between runs on unchanged input cannot be allowed to decide anything, handing an uncertain item to a human rather than discarding it, grounding each claim in something computed rather than recalled, and the published-state and recall behaviour that decides whether people keep reading the output or learn to skim it. It should also be used when such an agent is being ignored, contradicts itself between runs, or reports a state that nothing current supports. Not for measuring or improving an agent's own output quality, which belongs to aws-agents:agents-optimize, nor for building, deploying, or hardening an agent./hcls-stack-checkReads an AWS account's resource inventory (a live AWS Resource Explorer pull, or a local export) and reports two facts per resource: whether its service is on AWS's published HIPAA Eligible Services Reference list, and whether it sits in an EU region / whether the service offers an EU region. Factual membership + region check only, NOT a compliance assessment and NOT legal advice. Use when someone asks about HIPAA eligibility, EU data residency, HCLS readiness, ghost instances, or "what is running in my account and where." Triggers: HIPAA eligible, HIPAA eligibility, EU data residency, EU region check, HCLS readiness, stack readiness, check my stack, ghost instances, what is running in my account, is my stack in the EU./multi-tenant-isolationThis skill should be used when designing or fixing tenant isolation for a multi-tenant SaaS on AWS, where a team with no dedicated security engineer must make a cross-tenant leak structurally impossible rather than a code-review responsibility. Covers choosing a silo, pool, or bridge model per layer rather than per application, enforcing isolation in IAM session policies and the database so a forgotten predicate fails closed, partitioning data across DynamoDB, Postgres, and S3, containing noisy neighbors, and attributing cost per tenant in a pooled fleet. It should also be used when hardening an existing pooled deployment against cross-tenant access, or when one large customer demands dedicated infrastructure mid-deal. Not for single-tenant architecture or general IAM policy authoring, which belong to the aws-core skills upstream./self-hosted-llm-batch-inferenceThis skill should be used when a startup without a dedicated ML platform team needs recurring, latency-tolerant offline inference for a self-hosted 1B to 8B generative language model on AWS while minimizing GPU spend and recovering automatically from Spot interruption. It prescribes AWS Batch backed by Amazon ECS Managed Instances Spot, with model artifacts staged in Amazon S3, deterministic input shards, vLLM offline inference on one GPU, bounded retries, and output reconciliation before success. Covers sizing from the real prompt and model footprint, choosing networking without an avoidable idle cost floor, and verifying that results are complete and GPU capacity is gone. Not for online endpoints, training, embeddings, other inference engines, multi-GPU or distributed inference, or one-off experiments where manual rerun is acceptable.Other plugins' skills for the same job