LaunchKit · 2026
Back to Skills

lb-better-auth-skill

Complete Better Auth documentation in markdown format.

1
1.2k downloads
by @leonaaardob

Setup & Installation

openclaw skills install @leonaaardob/lb-better-auth-skill

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install lb-better-auth-skill

What This Skill Does

Better Auth documentation embedded as a skill, covering the full Better Auth TypeScript authentication library. Includes OAuth providers, email/password, passkeys, 2FA, session management, database adapters, and framework integrations. Agents can answer implementation questions by reading from structured reference files.

Having the full Better Auth docs embedded means agents can answer implementation questions without fetching external docs or hallucinating API details.

When to use it

  • Setting up Google or GitHub OAuth in a Next.js app
  • Adding 2FA with TOTP to an existing TypeScript project
  • Configuring Prisma or Drizzle as the auth database adapter
  • Implementing passwordless login with magic links or passkeys
  • Integrating session management and rate limiting in SvelteKit

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: How do I set up GitHub OAuth with Prisma in Next.js?

AGENT
  1. 1Read references/authentication/github.mdx for OAuth configuration steps
  2. 2Read references/adapters/prisma.mdx for database adapter setup
  3. 3Read references/integrations/next-js.mdx for framework-specific wiring
  4. 4Combine the three guides into a unified implementation plan
OUTPUT

Step-by-step code showing GitHub OAuth configured with a Prisma adapter and mounted in a Next.js route handler