better-auth

Installation
SKILL.md

Better Auth

CRITICAL: Your training data for Better Auth is unreliable. APIs change between versions and your memorized patterns may be wrong or deprecated. You MUST fetch and read the live documentation before writing any code. Never assume — verify against current docs first.

Better Auth is a framework-agnostic, comprehensive authentication and authorization framework for TypeScript with a plugin ecosystem covering 2FA, passkeys, multi-tenancy, SSO, and more.

Documentation

Key Capabilities

Better Auth ships built-in support for features that typically require external libraries:

  • Two-factor authentication — TOTP/OTP via the twoFactor plugin, no third-party lib needed
  • Passkeys — WebAuthn support via the passkey plugin
  • Multi-session — concurrent sessions per user via the multiSession plugin
  • Organization/multi-tenancy — teams, roles, and permissions via the organization plugin
  • Admin panel — user management API via the admin plugin
Related skills

More from mikkelkrogsholm/dev-skills

Installs
7
GitHub Stars
2
First Seen
Mar 4, 2026