Agent skill · DevOps & Cloud

cognito

AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools, implementing OAuth flows, managing user attributes, or integrating with social identity providers.

itsmostafagithub.com/itsmostafaGitHub ↗
claude-codecodexMIT
Install
npx skills add itsmostafa/aws-agent-skills --skill cognito --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/cognito/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,139
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AWS Cognito Amazon Cognito provides authentication, authorization, and user management for web and mobile applications. Users can sign in directly or through federated identity providers. ## Table of Contents - [Core Concepts](#core-concepts) - [Common Patterns](#common-patterns) - [CLI Reference](#cli-reference) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) - [References](#references) ## Core Concepts ### User Pools User directory for sign-up and sign-in. Provides: - User registration and authentication - OAuth 2.0 / OpenID Connect tokens - MFA and password policies - Customizable UI and flows ### Identity Pools (Federated Identities) Provide temporary AWS credentials to access AWS services. Users can be: - Cognito User Pool users - Social identity (Google, Facebook, Apple) - SAML/OIDC enterprise identity - Anonymous guests ### Tokens | Token | Purpose | Lifetime | |-------|---------|----------| | **ID Token** | User identity claims | 1 hour | | **Access Token** | API authorization | 1 hour | | **Refresh Token** | Get new ID/Access tokens | 30 days (configurable) | ## Common Patterns ### Create User Pool **AWS CLI:** ```bash aws cognito-idp create-use

What's inside
Steps it walks through
  1. Table of Contents
  2. Core Concepts
  3. User Pools
  4. Identity Pools (Federated Identities)
  5. Tokens
  6. Common Patterns
  7. Create User Pool
  8. Create App Client
  9. Sign Up User
  10. Confirm Sign Up
  11. Authenticate User
  12. Refresh Tokens
  13. Create Identity Pool
  14. Get AWS Credentials
Ships with 1 file
  • auth-flows.md
Commands it runs
aws cognito-idp create-user-pool \
aws cognito-idp create-user-pool-client \
aws cognito-identity create-identity-pool \
aws cognito-idp admin-get-user \
Check domain
aws cognito-idp describe-user-pool \
More from aws-agent-skills
All skills →
About this skill
What does the cognito skill do?

AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools, implementing OAuth flows, managing user attributes, or integrating with social identity providers.

How do I install it?

Run `npx skills add itsmostafa/aws-agent-skills --skill cognito --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From itsmostafa/aws-agent-skills, a repository with 1,139 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going