Scoped IAM corrections for common agent mistakes, plus workflows for service roles and least-privilege policies.

CCM score
73 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
11.3K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers policy evaluation edge cases, trust policy gotchas, STS session limits, Organizations quirks, and SAML and MFA specifics
  • Includes condition operator safety with Null checks for ForAllValues, bucket policy deny patterns, and confused deputy protection
  • Provides workflows for service and execution roles (Glue, CloudTrail, Lambda, ECS) with aws:SourceAccount and aws:SourceArn trust conditions
  • Generates least-privilege policies from application source code or Terraform plan JSON using iam-policy-autopilot

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill aws-iam -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWS IAM — Common Pitfalls

About This Skill

This skill contains verified corrections for things that AI agents frequently get wrong about IAM. It is not a comprehensive IAM guide — for full IAM guidance, search AWS documentation. When answering IAM questions, verify specific claims (limits, quotas, exact API names, edge-case behaviors) against official AWS documentation rather than relying on pre-training. Prefer fetching known documentation URLs over broad searches. Trust official documentation over memory when they conflict.

Common Workflows

Use the best available tool for AWS operations — the AWS MCP server is recommended but not required; AWS CLI or SDK may be used as alternatives. Read reference files only when the conversation requires deeper detail.

  • Read references/aws-iam-role-management.md if the user needs to create, scope, or maintain IAM roles when provisioning or updating AWS resources. Covers service roles, execution roles, trust policies, confused deputy protection, and permission hygiene.

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
DevOps & Cloud, Security
First seen
May 16, 2026

More from aws/agent-toolkit-for-aws

All 54

Similar to Aws Iam

More DevOps & Cloud