sonoratek/legiox/aws-iam-guru

Claude Code and agent skill by sonoratek/legiox

Trust tier 3
  • community
Source check pending

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-guru

SKILL.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

  1. Pattern: human access -> Identity Center users/groups mapped to permission sets per account (no IAM users)
  2. Pattern: workload on EC2/Lambda/ECS/EKS -> instance/task/pod role delivers STS creds automatically
  3. Pattern: CI/CD outside AWS -> OIDC provider + AssumeRoleWithWebIdentity with sub/aud conditions
  4. Pattern: cross-account -> trust policy Principal account/role + ExternalId or aws:PrincipalOrgID
  5. Pattern: least privilege bootstrap -> AWS managed job-function policy then Access Analyzer policy generation from CloudTrail
  6. Pattern: org guardrail -> SCP denies bedrock:InvokeModel* on disallowed models; RCP limits resource exposure
  7. Pattern: Bedrock invoke -> Allow bedrock:InvokeModel on arn:aws:bedrock:REGION::foundation-model/MODEL_ID and inference-profile ARNs
  8. Pattern: Access Analyzer -> enable analyzer; remediate external findings; generate policy; validate with policy checks
  9. Pattern: AccessDenied triage -> aws sts get-caller-identity + CloudTrail + simulate-principal-policy; check SCP then identity then resource
  10. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sonoratek/legiox/aws-iam-guru/badge)](https://verified-skill.com/skills/sonoratek/legiox/aws-iam-guru)

Something wrong with this skill or its page? Tell us.