All skills
aws-iam
Corrects common IAM mistakes and generates roles and policies from source code or a Terraform plan.
- Part of aws/agent-toolkit-for-aws
- 11.9k installs
- DevOps & Self-hosting · Cloud resources
When to use it
You already have application code or a Terraform plan and need the exact IAM actions and a least-privilege policy for it.
For example
You say
Use the aws-iam skill: here is my Terraform plan JSON for a Lambda that reads from S3 and writes to DynamoDB — generate the execution role and policy.
You get
- Execution role trust policy
- Least-privilege IAM policy
- Required action list
How it works
- Policy generation from source code or a Terraform plan JSON goes through iam-policy-autopilot rather than hand-written actions.
- Covers trust-policy conditions like aws:SourceAccount and aws:SourceArn for service roles.
- Flags condition-operator traps such as ForAllValues passing on a missing key.
More Cloud resources skills
See all- vercel-optimize145kChecks Vercel usage and metrics, then suggests ranked ways to cut costs and speed up slow routes.
- google-cloud-recipe-auth17.5kExplains how to authenticate and authorize users and services to Google Cloud APIs, including IAM and ADC.
- google-cloud-recipe-onboarding17.2kWalks a new developer through creating a Google Cloud account, setting up billing and deploying a first resource.
- terraform-module-library16.5kBuilds reusable Terraform modules for AWS, Azure, GCP and OCI infrastructure.
Also in this pack
- aws-observability11.9kInvestigates root causes and sets up CloudWatch, X-Ray tracing, alarms and dashboards for your AWS services.
- aws-cdk11.2kWrites, deploys and troubleshoots AWS infrastructure as code using CDK with TypeScript or Python.
- aws-containers11.2kBuilds and deploys containerized workloads on EKS, ECS, Fargate, ECR and Elastic Beanstalk.
- aws-billing-and-cost-management10.7kAnalyzes your AWS bill, finds savings, sets budgets and right-sizes resources to cut spend.