Description
This is an agent skill that teaches a coding assistant how to set up email and password sign-in with Better Auth, the authentication library. Once it is installed, the agent can build sign-up and sign-in, email verification that blocks sign-in until the address is confirmed, and password reset emails with single-use, expiring tokens. It also covers revoking all active sessions when a user resets their password, and password hashing settings such as minimum length and token expiry. Hashing defaults to scrypt, and the skill says it can be swapped for Argon2id or a custom algorithm. The page says the skill is aimed at the timing-attack and token-lifecycle details that are easy to get wrong when you write password flows from scratch. It is part of the official Better Auth skills collection on GitHub and is listed on officialskills.sh. Install it with npx skills add https://github.com/better-auth/skills --skill emailandpassword, or paste the GitHub link into your coding assistant and ask it to install the skill.…
Highlights
- Sign-up and sign-in with email and password
- Email verification that gates sign-in
- Password reset with expiring single-use tokens
- Sessions revoked on password reset
- Configurable password hashing with scrypt by default
Ratings & Reviews
No ratings yet
Be the first to rate better-auth/emailAndPassword.
People also visit

better-auth-security-best-practices
Configure rate limiting, manage auth secrets, set up CSRF protection
better-auth/emailAndPassword FAQ
What is this skill?
An agent skill for Better Auth that guides a coding assistant through email and password authentication, from sign-up to password reset.
How do I install it?
Run npx skills add https://github.com/better-auth/skills --skill emailandpassword, or paste the GitHub link into your coding assistant and ask it to install the skill.
Which flows does it cover?
Sign-up, sign-in, email verification, password reset and revoking active sessions when a password is reset.
Can I change the password hashing?
Yes. Hashing defaults to scrypt, and the skill says it can be swapped for Argon2id or any custom algorithm.
What are the best better-auth/emailAndPassword alternatives?
Popular alternatives to better-auth/emailAndPassword include email-and-password-best-practices, better-auth-security-best-practices and better-auth/create-auth. See all better-auth/emailAndPassword alternatives











