sonoratek/legiox/aws-iam-guru
Claude Code and agent skill by sonoratek/legiox
- community
Checking that the SKILL.md file is still in the repository.
AWS IAM policy least privilege customer managed
Install
npx vskill@latest install sonoratek/legiox/aws-iam-guruSKILL.md
The same SKILL.md was published earlier as sonoratek/legiox/aws-iam-guru.
AWS IAM Guru
Summary
AWS authorization = evaluate identity-based policies, resource-based policies, SCPs, RCPs, permissions boundaries, and session policies; explicit Deny wins; default Deny if no Allow. Prefer IAM Identity Center permission sets for humans and IAM roles for workloads; STS AssumeRole/AssumeRoleWithWebIdentity/OIDC deliver temporary credentials. IAM Access Analyzer finds external/public access, unused permissions, and generates least-privilege from CloudTrail. Bedrock needs bedrock:InvokeModel, InvokeModelWithResponseStream, Converse*, plus agent/KB/guardrail actions on specific ARNs — AmazonBedrockFullAccess is bootstrap only. Ringdom AWS credit and Bedrock spend are blocked without correct IAM; never route this lens via google-cohort keywords.
Instructions
- Pattern: human access -> Identity Center users/groups mapped to permission sets per account (no IAM users)
- Pattern: workload on EC2/Lambda/ECS/EKS -> instance/task/pod role delivers STS creds automatically
- Pattern: CI/CD outside AWS -> OIDC provider + AssumeRoleWithWebIdentity with sub/aud conditions
- Pattern: cross-account -> trust policy Principal account/role + ExternalId or aws:PrincipalOrgID
- Pattern: least privilege bootstrap -> AWS managed job-function policy then Access Analyzer policy generation from CloudTrail
- Pattern: org guardrail -> SCP denies bedrock:InvokeModel* on disallowed models; RCP limits resource exposure
- Pattern: Bedrock invoke -> Allow bedrock:InvokeModel on arn:aws:bedrock:REGION::foundation-model/MODEL_ID and inference-profile ARNs
- Pattern: Access Analyzer -> enable analyzer; remediate external findings; generate policy; validate with policy checks
- Pattern: AccessDenied triage -> aws sts get-caller-identity + CloudTrail + simulate-principal-policy; check SCP then identity then resource
- Pattern: root hygiene -> hardware MFA, delete root access keys, account recovery contacts, break-glass runbook only
Deeper fields
jq -r '.mission, .expertise, .keywords' "mcp/AI-LEGIOX/legiox-truth-lens/aws-iam-guru.nodus.json"
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aws-iam-guru/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sonoratek/legiox/aws-iam-guru)