PlugWiki

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. 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. 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

  1. Quick Start
  2. Email Verification Setup
  3. Requiring Email Verification
  4. Client Side Validation
  5. Callback URLs
  6. Password Reset Flows
  7. Security Considerations
  8. Sending the Password Reset
  9. Password Hashing
  10. Custom Hashing Algorithm

Key facts

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 setup

  • How the client validates input and which callback URLs to set.

    Client-side validation and callback URLs

  • Sending the reset email, plus a security considerations list.

    Password reset flows

  • Default 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 tonpm registry (npx auth@latest)
Scopes
  • Database connection string (yours)

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

Folder
better-auth/emailAndPassword

better-auth/skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 5
  1. SKILL.md · github.com
  2. skills.sh listing · skills.sh
  3. Repository · github.com
  4. Using skills in Claude · support.claude.com
  5. Claude Code skills · code.claude.com

Updated Nov 2, 2026.