aws-auth

aws-auth is a skill for Claude Code, Codex from jkomyno/.dotfiles. It costs 238 tokens per session (3,169 once invoked), scanned A, a copy of aws-auth, MIT.

A guide for adding user sign-up, sign-in, permissions, and related identity flows with Amazon Cognito and the AWS Amplify authentication libraries. It covers user pools, optional identity pools, MFA, password rules, and OAuth or OpenID Connect login flows.

In plain words
What is it for?
Use it to configure registration and login pages, managed Cognito login, multi-factor authentication, password policies, OAuth login, and JWT-based authorization settings.
Why use it?
It helps distinguish login accounts from direct access to AWS services, two commonly confused parts of Cognito. It also provides a focused path for configuring authentication without mixing in unrelated AWS setup.

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 configure registration and login pages, managed Cognito login, multi-factor authentication, password policies, OAuth login, and JWT-based authorization settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jkomyno/.dotfiles/aws-auth
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-auth
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-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-auth/github.svg)](https://agentmods.dev/skills/jkomyno/.dotfiles/aws-auth)
Your own site
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-auth"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-auth/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-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-auth"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 238 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,169 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 98% 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.00238 $0.03169
Opus 5.5 $0.00095 $0.01268
Sonnet 5.5 $0.00048 $0.00634
Haiku 4.5 $0.00024 $0.00317

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

Security

Grade A, and why

aws-auth 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

98% identical to aws-auth — 26 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-auth/SKILL.md · 128 lines

How it starts

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

AWS Auth (Amazon Cognito)

Application-level user authentication and authorization with Amazon Cognito and the Amplify client auth libraries. Verify specific limits, quotas, and exact API shapes against official AWS documentation when precision matters; trust the docs over memory when they conflict.

Recommended: The AWS MCP server provides streamlined access to the AWS APIs used in this skill (Cognito user pool/app client/identity pool setup, API Gateway authorizers). If it is unavailable, the AWS CLI commands shown throughout work directly — the skill has no hard dependency on MCP.

When NOT to use: Amplify Gen2 backend code (defineAuth, amplify/auth.ts, npx ampx); IAM policy/role/trust-policy authoring, STS, or IAM Identity Center console SSO; API Gateway route/integration setup or Lambda function implementation (this skill covers only the Cognito/JWT authorizer configuration and the purpose of Cognito Lambda triggers).

User Pool vs Identity Pool — pick first

These are different services that are frequently confused. Most apps need a user pool; add an identity pool only if the client must call AWS services directly.

You need... Use Why
Sign-up / sign-in, user directory, issue JWTs User pool It authenticates users and is an OIDC IdP
The signed-in client to call S3/DynamoDB/etc. directly with AWS credentials Identity pool It exchanges a token for temporary AWS credentials via STS
Both (sign in, then hit AWS resources from the browser/app) User pool → identity pool Identity pool trusts the user pool as its IdP

If your app only calls your own backend/API, you do not need an identity pool — send the user pool token to your API. See identity-pools.md.

Critical Warnings

update-user-pool-client and set-identity-pool-roles are FULL REPLACE, not partial updates: Any field you omit is reset to its default — calling update-user-pool-client with only the fields you want to change silently wipes ExplicitAuthFlows, token validity, EnableTokenRevocation, refresh-token rotation, and read/write attributes; set-identity-pool-roles likewise replaces the whole roles + RoleMappings structure. Always read-modify-write: describe-user-pool-client (or get-identity-pool-roles) first, then re-send every existing field plus your change. In an agent context the wipe is invisible — the call succeeds and only breaks later when a user hits the missing flow. See managed-login-oauth.md and identity-pools.md.

Read the full file on GitHub · 128 lines

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 · 128 lines · 238 tokens per session scan A cca66d07fb56

Subscribe to this mod's changes

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

Related

aws-auth compared with skills from other repositories

aws-auth next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-authjkomyno/.dotfilesSkill53d agoMITA238Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k4d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill6916d agoMITA105Claude Code, Codex