Sample Agent Skills for Builders is a collection of reusable skills that extend AI coding agents with AWS, CDK, security, testing, and engineering workflows. Developers can install the skills for practical AWS development tasks or use the repository as a model for creating their own agent skills. The catalogue entries are skills and instructions from this collection.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aws-samples/sample-agent-skills-for-builders --skill cost-estimatorgit clone --depth 1 https://github.com/aws-samples/sample-agent-skills-for-buildersWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/cost-estimator)<a href="https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/cost-estimator"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-agent-skills-for-builders/cost-estimator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/cost-estimator"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-agent-skills-for-builders/cost-estimator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.00448 |
| Opus 5 | $0.00018 | $0.00224 |
| Sonnet 5 | $0.00007 | $0.00090 |
| Haiku 4.5 | $0.00004 | $0.00045 |
Grade A, and why
cost-estimator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Cost Estimator
AWS cost estimation tool for CDK projects with real-time pricing from AWS Price List Bulk API.
When to Apply
Reference this skill when:
- Estimating AWS infrastructure costs
- Analyzing CDK project resource costs
- Generating pricing reports (Excel/Markdown)
- Comparing costs across AWS regions
- Calculating Bedrock model costs
How It Works
- Confirm Region - Select target AWS region(s)
- Scan Resources - Analyze CDK code for AWS resources
- Fetch Pricing - Get real-time prices from AWS Bulk API
- Generate Reports - Create Excel and Markdown reports
Prerequisites
- AWS CDK project with synthesizable stacks
- Python 3.8+ with pandas, openpyxl
- AWS credentials (for pricing API access)
Usage
# Fetch AWS pricing data
python scripts/fetch-aws-pricing.py --region us-east-1
# Generate Excel report
python scripts/generate-pricing-excel.py --input resources.json --output costs.xlsx
Output Files
Reports are saved to cost-estimates/:
cost-estimate-{region}.xlsx- Detailed Excel reportcost-estimate-{region}.md- Markdown summary
Supported Regions
- All standard AWS regions
- China regions (cn-north-1, cn-northwest-1) with CNY pricing
References
- CDK Analysis - Resource scanning guide
- Pricing API - AWS Bulk API usage
- Report Generation - Report creation
- Bedrock Pricing - AI model pricing
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 3.7 KB
- references/bedrock-pricing.md 2.6 KB
- references/cdk-analysis.md 6.2 KB
- references/pricing-api.md 3.7 KB
- references/report-generation.md 3.5 KB
- scripts/bedrock-fallback-prices.json 7.5 KB
- scripts/fetch-aws-pricing.py 9.7 KB runs code
- scripts/generate-pricing-excel.py 6.6 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 63 lines · 36 tokens per session scan A 6dd4aa4b85c5
cost-estimator is a skill published in the GitHub repository aws-samples/sample-agent-skills-for-builders (47 stars, last pushed 14d ago), licensed Apache-2.0. It adds 36 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
aws-cost-cleanup
Automated cleanup of unused AWS resources to reduce costs.
aws-cost-operations
AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture.
azure-compute
Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost…
azure-cost
Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE…
cost-optimization
Audit and reduce infrastructure and tooling costs without sacrificing reliability or velocity. Use this skill when reviewing monthly cloud or SaaS spend, finding unused resources, rightsizing infrastructure, negotiating vendor contracts, deciding what to consolidate, or planning for budget cuts. Triggers on cost…
compute-resell
Autonomous compute-reselling agent on Surplus Intelligence - resells free or low-cost provider compute across Bankr, AWS Bedrock, and Google Vertex (GCP) as one skill. Reads the live market + your cost + your usage, auto-lists your models per enabled provider, and reactively prices each offer to win routing within a…