Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/aws-iam-best-practices
IAM policy review, hardening, and least privilege implementation
Passed 19 of 23 test cases with the skill, and 17 of 23 without it.
2 fixed17 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Draft an AWS IAM policy statement in JSON that allows EC2 actions (`ec2:*`) on all resources only during the calendar year 2026.
| Checked | Without skill | With skill |
|---|---|---|
| The condition block evaluates DateGreaterThan for key aws:CurrentTime | Missed | Passed |
| The condition block evaluates DateLessThan for key aws:CurrentTime | Passed | Passed |
The instructions your model reads when the skill loads.
Review and harden IAM policies following AWS security best practices and least privilege principles.
Use this skill when you need to review IAM policies, implement least privilege access, or harden IAM security.
Least Privilege
Defense in Depth
Separation of Duties
# List policies with full admin access
aws iam list-policies --scope Local \
--query 'Policies[*].[PolicyName,Arn]' --output table | \
grep -i admin
# Find policies with wildcard actions
aws iam list-policies --scope Local --query 'Policies[*].Arn' --output text | \
while read arn; do
test cases passed, vs 17 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.