---
title: "better-auth/skills"
description: "Agent Skills from better-auth/skills."
source: https://github.com/better-auth/skills
ref: main
license: null
licenseName: "No licence detected"
canonical: https://skillsdocs.com/better-auth/skills
base: https://github.com/better-auth/skills/blob/main/
provenance: authored
chapters: 6
inlined: 0
withheld: 6
words: 2970
updated: 2026-09-01T00:22:31Z
generator: "Skills Docs"
---

> **better-auth/skills** — every Agent Skill in this repository, inlined verbatim.
>
> Canonical HTML: https://skillsdocs.com/better-auth/skills
> Per-skill Markdown: https://skillsdocs.com/better-auth/skills/<skill>.md
> Machine manifest: https://skillsdocs.com/better-auth/skills/.well-known/agent-skills/index.json
> JSON: https://skillsdocs.com/api/v1/books/better-auth/skills
> Install: `npx skills add better-auth/skills`
> Upstream: https://github.com/better-auth/skills @ `main`
> Licence: No licence detected — all rights reserved by its authors
>
> Content is mirrored from GitHub and © its authors, served unmodified. Takedown: https://github.com/DreambaseAI/skillsdocs/issues/new?labels=takedown&title=Takedown+request

# better-auth/skills


- **Skills:** 6
- **Inlined:** 0 (licence detected)
- **Words:** 2,970
- **Reading time:** 13 min
- **Stars:** 221

## Table of contents

1. [better-auth-best-practices](https://skillsdocs.com/better-auth/skills/best-practices.md) — Not licensed for republication — link only.
2. [create-auth](https://skillsdocs.com/better-auth/skills/create-auth.md) — Not licensed for republication — link only.
3. [email-and-password-best-practices](https://skillsdocs.com/better-auth/skills/emailandpassword.md) — Not licensed for republication — link only.
4. [organization-best-practices](https://skillsdocs.com/better-auth/skills/organization.md) — Not licensed for republication — link only.
5. [two-factor-authentication-best-practices](https://skillsdocs.com/better-auth/skills/twofactor.md) — Not licensed for republication — link only.
6. [better-auth-security-best-practices](https://skillsdocs.com/better-auth/skills/security.md) — Not licensed for republication — link only.

## Licence notice

6 of 6 skills in this book have no licence that we could detect, at either the repository or the skill level. Their bodies are **not** reproduced here and they are **not** listed in the Agent Skills manifest. Read them upstream:

- better-auth-best-practices — https://github.com/better-auth/skills/blob/main/better-auth/best-practices/SKILL.md
- create-auth — https://github.com/better-auth/skills/blob/main/better-auth/create-auth/SKILL.md
- email-and-password-best-practices — https://github.com/better-auth/skills/blob/main/better-auth/emailAndPassword/SKILL.md
- organization-best-practices — https://github.com/better-auth/skills/blob/main/better-auth/organization/SKILL.md
- two-factor-authentication-best-practices — https://github.com/better-auth/skills/blob/main/better-auth/twoFactor/SKILL.md
- better-auth-security-best-practices — https://github.com/better-auth/skills/blob/main/security/SKILL.md


---

<!-- chapter:begin slug=best-practices position=1 -->

## 1. better-auth-best-practices

Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.

- **Source:** https://github.com/better-auth/skills/blob/main/better-auth/best-practices/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/better-auth/best-practices/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/best-practices.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=best-practices -->

---

<!-- chapter:begin slug=create-auth position=2 -->

## 2. create-auth

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

- **Source:** https://github.com/better-auth/skills/blob/main/better-auth/create-auth/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/better-auth/create-auth/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/create-auth.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=create-auth -->

---

<!-- chapter:begin slug=emailandpassword position=3 -->

## 3. email-and-password-best-practices

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.

- **Source:** https://github.com/better-auth/skills/blob/main/better-auth/emailAndPassword/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/better-auth/emailAndPassword/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/emailandpassword.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=emailandpassword -->

---

<!-- chapter:begin slug=organization position=4 -->

## 4. organization-best-practices

Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.

- **Source:** https://github.com/better-auth/skills/blob/main/better-auth/organization/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/better-auth/organization/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/organization.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=organization -->

---

<!-- chapter:begin slug=twofactor position=5 -->

## 5. two-factor-authentication-best-practices

Configure TOTP authenticator apps, send OTP codes via email/SMS, manage backup codes, handle trusted devices, and implement 2FA sign-in flows using Better Auth's twoFactor plugin. Use when users need MFA, multi-factor authentication, authenticator setup, or login security with Better Auth.

- **Source:** https://github.com/better-auth/skills/blob/main/better-auth/twoFactor/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/better-auth/twoFactor/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/twofactor.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=twofactor -->

---

<!-- chapter:begin slug=security position=6 -->

## 6. better-auth-security-best-practices

Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement audit logging for Better Auth. Use when users need to secure their auth setup, prevent brute force attacks, or harden a Better Auth deployment.

- **Source:** https://github.com/better-auth/skills/blob/main/security/SKILL.md
- **Raw:** https://raw.githubusercontent.com/better-auth/skills/main/security/SKILL.md
- **Markdown:** https://skillsdocs.com/better-auth/skills/security.md
- **Licence:** No licence detected — all rights reserved by its authors

_Body withheld: no licence could be detected for this skill. Read it upstream._

<!-- chapter:end slug=security -->
