LogoClawIndex
CasesSkillsAbout
LogoClawIndex

better-auth - Build better-auth systems on Cloudflare D1

Build and troubleshoot TypeScript authentication systems with better-auth, including D1 adapters, OAuth, sessions, 2FA, passkeys, organizations, and RBAC.

Tags

Updated: 2026-11-28
authenticationCloudflare D1TypeScriptOAuthsession managementtwo-factor authenticationpasskeysorganizationsRBACDrizzle ORMKysely

Capabilities

Configure better-authConnect Drizzle to D1Connect Kysely to D1Implement social OAuth

Typical Inputs

TypeScript projectCloudflare D1 databaseDrizzle ORM configuration

Typical Outputs

Authentication configuration filesAuthentication HTTP endpointsServer-side authentication methods

What this skill does

  • Configure better-auth
  • Connect Drizzle to D1
  • Connect Kysely to D1
  • Implement social OAuth
  • Manage authentication sessions
  • Configure two-factor authentication
  • Configure passkey authentication
  • Configure organizations and RBAC
  • Integrate TanStack Start cookies
  • Troubleshoot authentication errors

Inputs

  • TypeScript project
  • Cloudflare D1 database
  • Drizzle ORM configuration
  • Kysely configuration
  • Authentication requirements
  • OAuth provider credentials
  • Environment secrets
  • Framework configuration

Outputs

  • Authentication configuration files
  • Authentication HTTP endpoints
  • Server-side authentication methods
  • User and session state changes
  • OAuth redirects and callbacks
  • Authentication error guidance

Requirements

  • better-auth 1.4.0
  • ESM-compatible runtime
  • Drizzle ORM or Kysely for D1
  • Cloudflare D1 binding for D1 deployments
  • Required authentication provider credentials

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.