Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

aws-iam-best-practices

Skill by sickn33

Reviews and hardens AWS IAM policies using least privilege principles. Covers overly permissive policies, MFA gaps, access key age, unused roles and sample policy templates.

  • Score 89
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install aws-iam-best-practices

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/security/aws-iam-best-practices ~/.claude/skills/aws-iam-best-practices

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install aws-iam-best-practices in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

AWS IAM Best Practices is a skill that reviews and hardens IAM policies in AWS, following least privilege principles. It provides AWS CLI and Python snippets to find policies with wildcard actions, inline policies, users without MFA, access keys older than 90 days, unused roles and roles with external trust. It also includes sample policy templates for S3 access, MFA enforcement, time-based access and IP-restricted access.

The source says read-only assessment is the default. Results are recorded as PASS, FAIL, UNKNOWN or NOT-APPLICABLE per control, and errors such as AccessDenied count as UNKNOWN. Commands that change policies, keys or MFA devices require an approved change scope and a rollback plan. It is intended for people who need to review IAM policies, implement least privilege access or harden IAM security.

Written from the project's SKILL.md and checked against it.

What it can do

  • Policy reviewFinds policies with wildcard actions and inline policies on users.
  • MFA checksLists users without MFA using the IAM credential report.
  • Access key reviewFinds access keys older than 90 days and shows key rotation steps.
  • Role analysisFinds unused roles and roles with AWS principal trust to check.
  • Policy simulationRuns simulate-principal-policy to test permissions for a principal.
  • Policy templatesProvides sample JSON policies for S3, MFA, time-based and IP-restricted access.
  • Hardening checklistLists user, policy, role, and monitoring hardening items to review.
  • Automated hardening scriptProvides a Python boto3 script that reports MFA gaps, old keys and wildcard policies.

What you need

  • AWS CLI
  • jq
  • Bash with GNU date
  • Python with boto3 for the automated script

Try asking

  • Review my IAM policies for security issues
  • Find users without MFA enabled
  • Create a least privilege policy for S3 access

Good to know

  • Read-only assessment is the default.
  • Commands that create MFA devices, change policies or keys require an approved change scope and rollback plan.
  • Examples are partial and not certification or complete benchmark implementations.
  • Explicit deny policies can lock out API clients and service calls, so test before attaching.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security/aws-iam-best-practices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to aws-iam-best-practices

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

aws-iam-best-practices: common questions

Does this skill change my IAM configuration?

The source says read-only assessment is the default. Commands that change policies, keys, MFA devices or alarms require an approved change scope and rollback plan.

How are unclear or failed checks reported?

The source says AccessDenied, API errors, missing permissions and unimplemented checks are recorded as UNKNOWN, never PASS.

Which tools does it need?

The source says shell snippets require Bash with GNU date, AWS CLI and jq. The Python script uses boto3.

How do I install aws-iam-best-practices?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is aws-iam-best-practices free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is aws-iam-best-practices safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to aws-iam-best-practices?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

aws-iam-best-practices Install

Add to stack

Loading.