← Catalog

No. 076 · integration

Better Auth

Authentication setup, providers, and MFA

Version 1.0.0 License MIT Format SKILL.md

Implement authentication with Better Auth: email/password, social providers, two-factor authentication, organization management, and session handling.

When to use this skill

  • Setting up Better Auth
  • Adding social login providers
  • Implementing two-factor auth

Core concepts

This skill provides guidance on better auth best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/integration/better-auth.zip
unzip better-auth.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • setting up Better Auth
  • adding social login providers
  • implementing two-factor auth