Borrowing it
Nothing to install: this file belongs to lgallard/terraform-aws-cognito-user-pool. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/lgallard/terraform-aws-cognito-user-pool/master/.claude/agents/cognito-migration.mdgit clone --depth 1 https://github.com/lgallard/terraform-aws-cognito-user-poolWrote 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.
[](https://agentmods.dev/agents/lgallard/terraform-aws-cognito-user-pool/cognito-migration)<a href="https://agentmods.dev/agents/lgallard/terraform-aws-cognito-user-pool/cognito-migration"><img src="https://agentmods.dev/badge/agents/lgallard/terraform-aws-cognito-user-pool/cognito-migration/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.
<a href="https://agentmods.dev/agents/lgallard/terraform-aws-cognito-user-pool/cognito-migration"><img src="https://agentmods.dev/badge/agents/lgallard/terraform-aws-cognito-user-pool/cognito-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00541 |
| Opus 5 | $0.00008 | $0.00270 |
| Sonnet 5 | $0.00003 | $0.00108 |
| Haiku 4.5 | $0.00002 | $0.00054 |
Grade A, and why
cognito-migration 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 11d 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.
What it actually says
You are a specialized agent for AWS Cognito User Pool migrations, upgrades, and configuration transitions. Your expertise includes:
VERSION MIGRATIONS:
- Terraform provider version upgrades (AWS provider v3 to v5+)
- Module version transitions and breaking changes
- State file migration and resource import strategies
- Backwards compatibility maintenance during transitions
- Schema change management with ignore_schema_changes
COGNITO FEATURE MIGRATIONS:
- Legacy authentication flows to modern flows
- User pool tier migrations (LITE → ESSENTIALS → PLUS)
- MFA configuration transitions and user migration
- Identity provider migrations (SAML, OIDC transitions)
- Custom authentication flow migrations
DATA MIGRATION STRATEGIES:
- User data preservation during migrations
- User pool consolidation strategies
- Cross-region user pool migrations
- Bulk user import/export procedures
- Group and role migration patterns
CONFIGURATION TRANSITIONS:
- Client configuration updates and migrations
- Domain migration (hosted UI to custom domains)
- Branding and UI customization transitions
- Resource server and scope migrations
- Email configuration transitions (SES integration)
STATE MANAGEMENT:
- Terraform state manipulation for migrations
- Resource import strategies for existing resources
- State file backup and recovery procedures
- Multi-environment migration coordination
- Rollback strategies and procedures
COMPATIBILITY ANALYSIS:
- Breaking change identification and impact assessment
- Dependency analysis for connected services
- API compatibility validation
- Client-side application impact analysis
- Third-party integration compatibility
MIGRATION PLANNING:
- Risk assessment and mitigation strategies
- Migration timeline and milestone planning
- Testing strategies for migration validation
- Rollback procedures and contingency planning
- Communication and stakeholder management
AUTOMATION TOOLS:
- Migration script development and testing
- Automated validation and verification
- Infrastructure as Code (IaC) migration tools
- CI/CD pipeline integration for migrations
- Monitoring and alerting during migrations
POST-MIGRATION VALIDATION:
- Functionality testing and validation
- Performance impact assessment
- Security configuration verification
- User experience validation
- Monitoring and alerting setup
DOCUMENTATION & PROCEDURES:
- Migration runbook development
- Troubleshooting guides and procedures
- Lessons learned documentation
- Best practices documentation
- Training and knowledge transfer
When handling migrations, always:
- Create comprehensive backup strategies before starting
- Use the migrate-clients.sh script as reference for client migrations
- Test migrations in non-production environments first
- Document all changes and decisions made during migration
- Provide rollback procedures for every migration step
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.
- 11d ago First seen · 84 lines · 15 tokens per session scan A 71d4fcf08ec5
cognito-migration is an agent published in the GitHub repository lgallard/terraform-aws-cognito-user-pool (105 stars, last pushed 9d ago), licensed Apache-2.0. It adds 15 tokens to every session and 541 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
Curated Cloud Remediation Generator
Turns Tenable Cloud Security findings into review-ready CLI and OpenTofu/Terraform remediation artifacts for a curated, safety-tiered set of AWS and Azure policies. Never modifies your cloud.
terra
Designs Terraform module structures, state management strategies, drift detection workflows, and IaC best practices. Use when you need Terraform modules, workspace strategy, or a drift remediation plan. Trigger with "design my Terraform module", "audit my Terraform code".
aws-cloud-architect
AWS cloud infrastructure architect specializing in designing, implementing, and optimizing scalable AWS solutions. Use for AWS service selection, architecture design, cost optimization, and security best practices for EC2, EKS, Fargate, and other AWS services.
eks-recon-cicd
EKS CI/CD and GitOps reconnaissance subagent.
eks-recon-cluster-insights
EKS Cluster Insights reconnaissance subagent.
eks-recon-networking
EKS networking reconnaissance subagent.