aws-iam

aws-iam is a skill for Claude Code, Codex from jkomyno/.dotfiles. It costs 194 tokens per session (1,483 once invoked), scanned A, a copy of aws-iam, MIT.

A guide to AWS Identity and Access Management (IAM), which controls who or what can access AWS resources and what actions they may perform. It focuses on policy behaviour, roles, trust rules, temporary credentials, and authentication details.

In plain words
What is it for?
Use it to create and maintain roles, generate or review policies, configure trust relationships, handle MFA and SAML sign-in, and troubleshoot permission errors.
Why use it?
IAM rules can fail in subtle ways, leaving applications unable to access resources or granting more access than intended. This guide corrects common mistakes and supports safer permission decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create and maintain roles, generate or review policies, configure trust relationships, handle MFA and SAML sign-in, and troubleshoot permission errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jkomyno/.dotfiles/aws-iam
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jkomyno/.dotfiles --skill aws-iam
Clone the repo
git clone --depth 1 https://github.com/jkomyno/.dotfiles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-iam

README.md
[![agentmods](https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-iam/github.svg)](https://agentmods.dev/skills/jkomyno/.dotfiles/aws-iam)
Your own site
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-iam"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-iam/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-iam

Your own site · 80×15
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-iam"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-iam.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00194 $0.01483
Opus 5.5 $0.00078 $0.00593
Sonnet 5.5 $0.00039 $0.00297
Haiku 4.5 $0.00019 $0.00148

Measured 1mo ago against content hash e1731e386d2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-iam scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to aws-iam — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

target/home/.agents/skills/aws-iam/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

  • Read references/aws-iam-policy-generation.md if the user needs to generate IAM policies, determine required IAM actions for API calls, or understand action-to-operation mappings. CRITICAL: If the user provides application source code (in any language) or a Terraform plan JSON file (terraform show -json output), you MUST read this reference — it mandates using iam-policy-autopilot instead of manual policy construction. Uses the programmatic service authorization reference for accurate mappings.

Verified Edge Cases

CloudTrail:

  • AcceptHandshake/DeclineHandshake logged in ACTING account ONLY, not management account. Organization trail required for centralization.
  • ConsoleLogin region varies by endpoint/cookies, NOT always us-east-1. ?region= forces specific region.

STS:

  • GetSessionToken restrictions: (1) No IAM APIs unless MFA included (2) No STS except AssumeRole and GetCallerIdentity.
  • Cross-account AssumeRole to opt-in region: TARGET account must enable region, not calling account.
  • Role chaining: max 1-hour session.

Read the full file on GitHub · 107 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 107 lines · 194 tokens per session scan A e1731e386d2f

Subscribe to this mod's changes

aws-iam is a skill published in the GitHub repository jkomyno/.dotfiles (5 stars, last pushed 3d ago), licensed MIT. It adds 194 tokens to every session and 1,483 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to aws-iam, differing in 6 lines, and is treated as a copy.

Related

aws-iam compared with skills from other repositories

aws-iam next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-iamjkomyno/.dotfilesSkill53d agoMITA194Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code