aws-onboarding
Skill1 starsChanged 3 months agoMITView on GitHub
Guides a first-time or non-technical user from no AWS account to a working, torn-down-able CloudFormation or Terraform deployment, with spend guardrails at every step. Covers account creation and root lockdown, AWS CLI and IAM Identity Center sign-in, MFA, budgets and billing alarms, choosing between CloudFormation, Terraform and CDK, a first stack, and full teardown. Use when someone is new to AWS or to infrastructure as code; is setting up AWS credentials or hitting "Unable to locate credentials", AccessDenied, or an expired session; asks what a stack, a Terraform state file, or IaC is; worries about a surprise AWS bill, free-tier limits, or what a service costs; wants a deployment option other than a managed platform such as Vercel; is stuck on a failed, rolled-back, or undeletable stack; or needs to find what is still running and delete everything.
- Reads credentials
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 16 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If the user already has working credentials, a budget, and knows what a stack is, this skill is overkill.
- Distinctive: line 26
A budget exists before any billable resource does: No exceptions. A beginner's worst outcome is a surprise bill, not a slow tutorial.
- Distinctive: line 28
Never ask for, accept, or echo a secret: No root passwords, no access key IDs, no secret access keys, no MFA codes typed into chat.
- Distinctive: line 36
Never create without a teardown path: Every create step names how to undo it, in the same message.
- Distinctive: line 41
One concept at a time: Do not explain VPCs, IAM, and state files in one message.
- Distinctive: line 70
Ask these four, in one message, and wait:
- Distinctive: line 72
Do you have an AWS account already, or do we start from zero?
- Distinctive: line 82
If they say "I don't know yet", pick a scheduled job or a static site.
- Distinctive: line 110
Do not proceed past this step without a budget: If the user pushes back, explain it takes two minutes and is the difference between a $3 …
- Distinctive: line 133
Write the template or config with them, explaining each block in one line as it appears.
- Distinctive: line 150
Delete everything and verify nothing is left.
- Distinctive: line 159
Before any deploy, run:
- Very specific: line 187
No output from get-caller-identity, or an Arn ending in :root -> stop.
- Distinctive: line 189
No budget -> stop, and set one first.
- Distinctive: line 191
Do not deploy on an assumption: If the user will not or cannot run the checks, say plainly that you cannot confirm the account is safe to …
- Distinctive: line 200
Look the error up before theorising:
- Distinctive: line 214
Never say "simply", "just", or "obviously": If it were simple they would not be asking.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AWS IaC onboarding
Take someone with little or no cloud background from nothing to one deployed stack they understand and can delete. The deliverable is not just a running stack: it is a user who knows what they created, what it costs, and how to remove it.
Who this is for, and what it changes
Most AWS tooling starts after aws configure already works. This skill covers
the part before that, plus the guardrails a beginner needs most: spend limits,
blast radius, and a teardown path.
If the user already has working credentials, a budget, and knows what a stack is, this skill is overkill. Say so and move on.
Non-negotiable rules
These override convenience and any user request to skip ahead.
- A budget exists before any billable resource does. No exceptions. A beginner's worst outcome is a surprise bill, not a slow tutorial.
- Never ask for, accept, or echo a secret. No root passwords, no access key IDs, no secret access keys, no MFA codes typed into chat. If the user pastes one, tell them immediately to rotate or delete it, and do not repeat it back.
- Prefer IAM Identity Center over long-lived access keys. Static keys in
~/.aws/credentialsare the single most common way beginners get compromised. Only fall back to an IAM user with access keys if Identity Center is genuinely unavailable, and say why. - Never create without a teardown path. Every create step names how to undo it, in the same message.
- State cost before creating. Give a monthly figure and say what drives it. "Roughly $0 while idle, about $18/month if you leave the NAT gateway running" is useful. "Costs vary" is not.
- One concept at a time. Do not explain VPCs, IAM, and state files in one message. Introduce a term the first time it is needed, in one sentence.
- Run the preflight before deploying anything. See below.
- Never
terraform destroy,cloudformation delete-stack, or delete a bucket without an explicit confirmation naming what dies.
Workflow
Work through these in order. Copy this checklist into your reply and tick items off as you go, so the user can see where they are.
AWS onboarding progress:
- [ ] Step 0: Work out where they actually are
- [ ] Step 1: Account exists, root is locked down
- [ ] Step 2: Sign-in works from the command line
- [ ] Step 3: Spend guardrails in place
- [ ] Step 4: Pick CloudFormation or Terraform
- [ ] Step 5: Deploy the smallest real thing
- [ ] Step 6: Change it, and watch the change apply
- [ ] Step 7: Tear it downSkip steps the user has already done, but verify rather than assume. "Do you have an AWS account?" gets a yes from people who have a root login and nothing else.
Step 0: Work out where they actually are
Ask these four, in one message, and wait:
- Do you have an AWS account already, or do we start from zero?
- Is this for a personal project, or does an employer own the account?
- What are you trying to deploy? (A static site, an API, a scheduled job, a database, "I don't know yet".)
- Have you used a terminal before?
The employer question matters: in a company account they likely cannot create IAM users or budgets, and the answer becomes "ask your platform team for a role with these permissions." Do not walk someone into a permissions wall.
If they say "I don't know yet", pick a scheduled job or a static site. Both are cheap, quick, and hard to leave running expensively.
→ Details: reference/account-setup.md
Step 1: Account exists, root is locked down
New account: walk them through sign-up, then immediately harden the root user with MFA and stop using it. Existing account: confirm root has MFA and that they are not working as root day to day.
→ reference/account-setup.md
Step 2: Sign-in works from the command line
Install the AWS CLI, set up IAM Identity Center, and confirm
aws sts get-caller-identity returns their account.
This is the step most beginners fail at, and the failure is usually silent — commands appear to work but hit the wrong account or region.
→ reference/credentials.md
Step 3: Spend guardrails
A zero-dollar budget with an email alert, a chosen region, and an understanding of what the free tier does and does not cover.
Do not proceed past this step without a budget. If the user pushes back, explain it takes two minutes and is the difference between a $3 mistake and a $300 one.
→ reference/guardrails.md
Step 4: Pick CloudFormation or Terraform
Make a recommendation rather than presenting a menu. The short version:
- AWS only, and you want nothing else installed → CloudFormation.
- More than one cloud, or you might move later, or you want the larger ecosystem and examples → Terraform.
Both are taught here. Do not switch tools mid-onboarding.
→ reference/choosing.md
Step 5: Deploy the smallest real thing
Not "hello world" — something they would plausibly keep. An S3 static site, or a Lambda on a schedule. It must be genuinely free or near-free at rest.
Write the template or config with them, explaining each block in one line as it appears. Then deploy, and read the output together.
→ reference/cloudformation.md or reference/terraform.md
Step 6: Change it, and watch the change apply
Change one value, re-deploy, observe what the tool says it will do before it does it. This is the moment infrastructure as code clicks, and skipping it leaves someone who can copy a template but not own one.
For CloudFormation, use a change set. For Terraform, read the plan. In both cases, have them predict the change before running it.
Step 7: Tear it down
Delete everything and verify nothing is left. Then check the bill.
A beginner who has never destroyed a stack does not trust themselves to experiment. This step is what makes the rest usable.
→ reference/teardown.md
Preflight
Before any deploy, run:
python scripts/preflight.pyIt checks the CLI is installed, credentials resolve, a region is set, a budget exists, and the caller is not root. It prints a numbered list of problems with the exact fix for each, and exits non-zero if anything is wrong.
Fix everything it reports before deploying. Do not talk the user past a preflight failure.
When the script cannot run
Some surfaces run skills without a shell or without network access, so
preflight.py will not execute there. The gate does not disappear, it moves to
the user. Ask them to run these four and paste the output:
aws --version
aws sts get-caller-identity
aws configure get region
aws budgets describe-budgets --account-id <their account id> --query 'Budgets[].BudgetName'Then apply the same rules by hand, and say you are doing so:
- No output from
get-caller-identity, or an Arn ending in:root-> stop. - Empty region -> stop.
- No budget -> stop, and set one first.
Do not deploy on an assumption. If the user will not or cannot run the checks, say plainly that you cannot confirm the account is safe to deploy into, and that the budget rule is the one you will not waive.
When something breaks
Errors are the norm, not a sign the user did something wrong — say so, once, the first time one appears. Beginners quit at the first red text.
Look the error up before theorising:
grep -i "<part of the error>" reference/troubleshooting.md→ reference/troubleshooting.md
How to talk to a beginner about this
- Name the thing, then explain it. "This is a stack — a group of AWS resources that get created and deleted together."
- Say what will happen before it happens. Especially for anything that costs money or deletes something.
- Never say "simply", "just", or "obviously". If it were simple they would not be asking.
- Show the whole command, not a fragment to be adapted. Beginners cannot reliably fill in a placeholder they do not understand.
- After each command, say what a good result looks like. "You should see
your account number. If you see
Unable to locate credentials, we are on step 2, not step 3." - Do not paste a 200-line template and call it a starting point. Build it up, or use the annotated ones in the reference files.
Reference files
| File | Covers |
| reference/account-setup.md | Sign-up, root lockdown, MFA, account hygiene |
| reference/credentials.md | CLI install, IAM Identity Center, profiles, verifying identity |
| reference/guardrails.md | Budgets, alarms, region choice, free-tier reality |
| reference/choosing.md | CloudFormation vs Terraform vs CDK, honestly |
| reference/cloudformation.md | Concepts, annotated first template, deploy/update/delete |
| reference/terraform.md | Concepts, state, annotated first config, apply/destroy |
| reference/teardown.md | Deleting everything, finding orphans, confirming zero spend |
| reference/troubleshooting.md | The errors beginners actually hit, with fixes |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

