Better Auth email and password skill for Claude Code: verification, reset and hashing
Helps Claude set up Better Auth email and password login: verification emails, password reset and hashing.
- Installs
- 48.8K
- on skills.sh
- Stars
- 228
- on GitHub
- Updated
- Oct 2026
- last repo commit
This skill makes Claude configure email and password login in Better Auth. Its description covers email verification, password reset flows, password policies and custom hashing algorithms.
The quick start has five steps, from enabling emailAndPassword to running npx auth@latest migrate and testing that a verification email is sent. It bundles no scripts.
Good for
- Developers adding email sign-up and sign-in with Better Auth
- Teams that need email verification and password reset flows
- Anyone customizing password rules or hashing
Install email-and-password-best-practices
Claude Code
- 1
Copy this prompt.
Install the email-and-password-best-practices skill in Claude Code. Run this command: npx skills add https://github.com/better-auth/skills --skill email-and-password-best-practices Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Configure email verification, implement password reset flows, set password policies, and customise hashing algorithms for Better Auth email/password authentication. Use when users need to set up login, sign-in, sign-up, credential authentication, or password security with Better Auth.
Sections in SKILL.md
- Quick Start
- Email Verification Setup
- Requiring Email Verification
- Client Side Validation
- Callback URLs
- Password Reset Flows
- Security Considerations
- Sending the Password Reset
- Password Hashing
- Custom Hashing Algorithm
Key facts
- Repository
- better-auth/skills
- Installs on skills.sh
- 48,817 (Nov 2, 2026)
- GitHub stars (repo)
- 228 (Nov 2, 2026)
- Last repo commit
- Oct 19, 2026
What it includes
Enable email/password, set verification and reset senders, migrate, then test sign-up.
Step 4 runs npx auth@latest migrate.
Runs code ·
Quick start (5 steps)Define sendVerificationEmail, optionally require verification before sign-in.
Email verification setupHow the client validates input and which callback URLs to set.
Client-side validation and callback URLsSending the reset email, plus a security considerations list.
Password reset flowsDefault behavior and how to plug in a custom hashing algorithm.
Password hashing
From the official docs
Permissions
Low risk
The skill holds instructions, but its setup step runs a CLI command that can change your database schema. Try it on a dev database first.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Migrate commands change your database
The Quick Start runs npx auth@latest migrate, which changes your database schema. Run it against a dev database first. github.com
Technical details
| Talks to | npm registry (npx auth@latest) |
|---|---|
| Scopes |
|
Questions
How do I install it?
Use the install box above. It installs only email-and-password-best-practices, not the other five skills in the repo.
Which Better Auth skill should I install?
The better-auth/skills repo has six: best-practices (setup and config), create-auth (planning and scaffolding), security, emailAndPassword, organization and twoFactor. Start with create-auth for a new project and best-practices for config questions, then add the topic skill you need.
Does it send emails itself?
SKILL.md has you define sendVerificationEmail and sendResetPassword functions yourself, so you supply the email provider.
Can I switch the password hashing algorithm?
SKILL.md shows how to supply custom hash and verify functions, with an Argon2id example. Its note says users whose passwords were hashed with the old algorithm cannot sign in after a switch on an existing system, so plan a migration.
Is it safe to install?
The folder is one Markdown file with no scripts, so installing adds instructions only. The setup step runs a migrate command that can change your database, so use a dev database first.
Does it work in the Claude app or Codex?
The install box lists a zip upload for the Claude app and a skills folder for Codex. The repo has no README, so the author does not say which clients it supports.
Information
updated Nov 2, 2026
- Repository
- better-auth/skills
- Folder
better-auth/emailAndPassword
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- SKILL.md · github.com
- skills.sh listing · skills.sh
- Repository · github.com
- Using skills in Claude · support.claude.com
- Claude Code skills · code.claude.com