Skill: Better Auth: Two-Factor Auth
by Better Auth
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.
Better Auth's official skill for hardening a Better Auth deployment: secret management, rate limiting, CSRF protection, trusted origins, session and cookie security, OAuth token encryption, IP tracking and audit logging.
This skill comes from the Better Auth team's better-auth/skills repository and is the security companion to their setup skills: it is for developers who already run the Better Auth TypeScript authentication library and need to lock it down, prevent brute-force attacks or prepare it for production.
It works through the library's security surface in configuration terms, with code for each step. Secret management covers configuring the secret and its requirements. Rate limiting covers the defaults, the storage options, custom storage and per-endpoint rules. Then come CSRF protection, trusted origins (including wildcard patterns and dynamic origins), session expiration and session caching strategies, and cookie security with custom cookie settings and cross-subdomain cookies.
For social sign-in it covers state parameter storage and encrypting stored OAuth tokens. It also explains how Better Auth determines client IP addresses, how to use database hooks for security audit logging, background tasks, and how to prevent account enumeration. It finishes with a complete security configuration example and a checklist to review a deployment against.
The instructions your agent loads, as published by Better Auth.
by Better Auth
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.
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.