cognito

cognito is a skill for Claude Code, Codex from Kilo-Org/kilo-marketplace. It costs 38 tokens per session (2,387 once invoked), scanned A, a copy of cognito, Apache-2.0.

Guidance for using Amazon Cognito, an AWS service that handles user sign-up, sign-in, identity checks, and access to other AWS services.

In plain words
What is it for?
It is for setting up user and identity pools, password rules and multi-factor authentication, OAuth sign-in, user attributes, and social or enterprise login providers.
Why use it?
It helps developers configure authentication and permissions without designing these systems from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for setting up user and identity pools, password rules and multi-factor authentication, OAuth sign-in, user attributes, and social or enterprise login providers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kilo-org/kilo-marketplace/cognito
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 Kilo-Org/kilo-marketplace --skill cognito
Clone the repo
git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace

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 cognito

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kilo-org/kilo-marketplace/cognito"><img src="https://agentmods.dev/badge/skills/kilo-org/kilo-marketplace/cognito.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.00038 $0.02387
Opus 5.5 $0.00015 $0.00955
Sonnet 5.5 $0.00008 $0.00477
Haiku 4.5 $0.00004 $0.00239

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

Security

Grade A, and why

cognito scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

jwks = requests.get(jwks_url).json()
Origin

This is a copy

92% identical to cognito — 32 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.

skills/cognito/SKILL.md · 369 lines

How it starts

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

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

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:

aws cognito-idp create-user-pool \
  --pool-name my-app-users \
  --policies '{
    "PasswordPolicy": {
      "MinimumLength": 12,
      "RequireUppercase": true,
      "RequireLowercase": true,
      "RequireNumbers": true,
      "RequireSymbols": true
    }
  }' \
  --auto-verified-attributes email \
  --username-attributes email \
  --mfa-configuration OPTIONAL \
  --user-attribute-update-settings '{
    "AttributesRequireVerificationBeforeUpdate": ["email"]
  }'

Create App Client

aws cognito-idp create-user-pool-client \
  --user-pool-id us-east-1_abc123 \
  --client-name my-web-app \
  --generate-secret \
  --explicit-auth-flows ALLOW_USER_SRP_AUTH ALLOW_REFRESH_TOKEN_AUTH \
  --supported-identity-providers COGNITO \
  --callback-urls https://myapp.com/callback \
  --logout-urls https://myapp.com/logout \
  --allowed-o-auth-flows code \
  --allowed-o-auth-scopes openid email profile \
  --allowed-o-auth-flows-user-pool-client \
  --access-token-validity 60 \
  --id-token-validity 60 \
  --refresh-token-validity 30 \
  --token-validity-units '{
    "AccessToken": "minutes",
    "IdToken": "minutes",
    "RefreshToken": "days"
  }'

Read the full file on GitHub · 369 lines

Files

What ships with it

3 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. 3mo ago First seen · 369 lines · 38 tokens per session scan A e058af229e09

Subscribe to this mod's changes

cognito is a skill published in the GitHub repository Kilo-Org/kilo-marketplace (212 stars, last pushed 26d ago), licensed Apache-2.0. It adds 38 tokens to every session and 2,387 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to cognito, differing in 32 lines, and is treated as a copy.

Related

cognito compared with skills from other repositories

cognito next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cognitoKilo-Org/kilo-marketplaceSkill21226d agoApache-2.0A38Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k2d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2k2d agoApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3k3d agoMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill6824d agoMITA105Claude Code, Codex