Skill: Better Auth: Email & Password
by Better Auth
Credential auth done to spec in Better Auth: verification email, reset flow, token and session handling, password policy and custom hashing.
Adds real 2FA to a Better Auth app — TOTP, email/SMS OTP, backup codes, trusted devices — including the sign-in interrupt and the encryption-at-rest details.
Two-factor authentication has three parts that must all be right: enrolment, the sign-in interrupt, and recovery. Ship two of them and you have either an unusable account-lockout generator or security theatre. This official Better Auth skill covers all three.
Enrolment starts with the plugin pair — twoFactor({ issuer }) on the server, twoFactorClient() on the client — then a migration that adds the twoFactorSecret column. TOTP covers rendering the enrolment QR code, verifying the first code, and the configuration knobs around period and digits. The OTP path covers delivering codes by email or SMS, sending and verifying them, and, importantly, how those codes are stored: the skill has a dedicated section on OTP storage security rather than leaving them as plaintext rows.
Recovery is treated as a first-class flow, not an afterthought. Backup codes are displayed once, regenerated on demand, and accepted at sign-in when the authenticator is gone, with configuration for count and format. Trusted devices let a user skip the second factor on a machine they have already proved out.
The sign-in section documents the interrupt itself — what the client receives when a password succeeds but a second factor is outstanding, and how to drive the follow-up. The security section covers what happens to sessions around 2FA changes, rate limiting the verification endpoint so codes cannot be brute-forced, and encryption at rest for secrets and backup codes. It finishes with disabling 2FA safely and a complete configuration example.
Published by the Better Auth team in their official skills repository, in the portable Agent Skills format read by Claude Code, Codex, Cursor and others.
The instructions your agent loads, as published by Better Auth.
by Better Auth
Credential auth done to spec in Better Auth: verification email, reset flow, token and session handling, password policy and custom hashing.
by Better Auth
The reference an agent needs to configure Better Auth correctly: adapters, session strategy, hooks, plugins, type safety and the gotchas that bite in production.
Auth0's official agent skill: a router that detects your framework and intent, then loads the right Auth0 guidance for login, MFA, Organizations, tenant audits, debugging or provider migration.
by Better Auth
Turns a single-user app multi-tenant with Better Auth's organization plugin: orgs, members, invitations, teams, roles and dynamic access control.