This is a corrections sheet for IAM gotchas that trip up LLMs: policy evaluation edge cases like ForAllValues with empty keys, the eight privilege escalation paths through direct policy manipulation, role chaining session limits, and Organizations quirks like suspended accounts blocking removal for 90 days. It's narrow by design, covering only verified mistakes agents make repeatedly, not general IAM concepts. Use it when you're debugging weird IAM behavior or building tooling that touches roles, STS, or cross-account access. The CloudTrail logging specifics and service-specific trust policy requirements (like Redshift Serverless needing both service principals) are the kind of details you won't remember until they bite you.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
10.9K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Backend & APIs, Security, Documentation, AI & Agent Building, Cloud & Infrastructure, Game Development
First seen
May 16, 2026

More from aws/agent-toolkit-for-aws

All 56
1aws avataraws-serverlessaws/agent-toolkit-for-awsBuilds, deploys, manages, debugs, configures, and optimizes serverless applications on AWS using Lambda, API Gateway, Step Functions, EventBridge, and SAM/CDK. 10.9Kskills.sh installs
2rivet-dev avatarsandbox-agentrivet-dev/skillsDeploy, configure, and integrate Sandbox Agent - a universal API for orchestrating AI coding agents (Claude Code, Codex, OpenCode, Amp) in sandboxed environment10.7Kskills.sh installs
3msw-git avatarmsw-searchmsw-git/msw-ai-coding-plugins-officialMSW search integration — (1) vector search for API docs and implementation guides via the msw-mcp MCP server (mlua_api_retriever / mlua_document_retriever), (2)10.7Kskills.sh installs
4msw-git avatarmsw-ui-systemmsw-git/msw-ai-coding-plugins-officialMSW `.ui` single entry point — design + component API + builder + runtime. Anchor/pivot/RectTransform, UIGroup/CanvasGroup hierarchy, layout recipes (HUD/popup/10.5Kskills.sh installs
5ljagiello avatarctf-webljagiello/ctf-skillsProvides web exploitation techniques for CTF challenges. Use when the target is primarily an HTTP application, API, browser client, template engine, identity fl10.3Kskills.sh installs
6nomadamas avatarnaver-news-searchnomadamas/k-skill네이버 검색 Open API 뉴스 검색(news.json)을 k-skill-proxy 경유로 조회해 최신 뉴스 기사 제목·발행시각·링크·요약을 보수적으로 정리한다. 사용자는 별도 API 키 발급 없이 호출한다.10.3Kskills.sh installs